AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: Nimitz1061 on July 02, 2012, 10:53:38 AM

Title: Backup Fails with Cannot pack error
Post by: Nimitz1061 on July 02, 2012, 10:53:38 AM
Attempting to backup existing 1.0.2 install before upgrading.

Receive error:

Error: cannot to pack /somepath/admin/system/backup/manual_backup_2012-07-02-10-40-20.tar.gz Exit code:

Note:

1. Correct English would be "Cannot pack to" rather than "cannot to pack"
2. No exit code is reported.
3. Path is writable to file owner, but not to group or other.

David
Title: Re: Backup Fails with Cannot pack error
Post by: abantecart on July 02, 2012, 05:17:25 PM
What OS are you using? It looks like the problem you have is with TAR and GZIP on your OS.
Title: Re: Backup Fails with Cannot pack error
Post by: Nimitz1061 on July 03, 2012, 10:22:57 AM
This is a LAMP based secure server.  No shell account on hosting packages, open base dir in use.

The installation is in a sub directory of the oscommerce based site I'm planning to migrate from, which is using gzip and zip in its backup routine. 

I'll have server administrator check on tar availability.

David
Title: Re: Backup Fails with Cannot pack error
Post by: Nimitz1061 on July 03, 2012, 02:24:34 PM
Playing with permissions a bit, making some slight progress.

Code: [Select]
Error: cannot to pack /home/lifesolu/public_html/dev/admin/system/backup/manual_backup_2012-07-03-14-12-27.tar.gz Exit code:
Note that the exit code which might help with diagnosing the issue is still missing in action...

David
Title: Re: Backup Fails with Cannot pack error
Post by: Nimitz1061 on July 05, 2012, 02:17:20 PM
I have found that this system is failing on our server because the system function is not available to PHP.

This would tend to indicate problems with the backup, PHP based tar routines as well.

This appear to do a lot of 777 based file creation, which will definitely end up being a problem on many servers.

I'm getting similar issues when attempting to export data. 

I'm also concerned with why a back up is including files anyway.   These files will end up being stored all automated system backups as well...

David
Title: Re: Backup Fails with Cannot pack error
Post by: abolabo on July 10, 2012, 05:18:52 AM
thank you.
Bug-fix will be in the next release soon. ...1.0.4.