News:

AbanteCart v1.4.2 is released.

Main Menu
support

Backup Fails with Cannot pack error

Started by Nimitz1061, July 02, 2012, 10:53:38 AM

Previous topic - Next topic

Nimitz1061

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

abantecart

What OS are you using? It looks like the problem you have is with TAR and GZIP on your OS.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Nimitz1061

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

Nimitz1061

Playing with permissions a bit, making some slight progress.

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

Nimitz1061

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

abolabo

thank you.
Bug-fix will be in the next release soon. ...1.0.4.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -