Author Topic: Backup Fails with Cannot pack error  (Read 9618 times)

Offline Nimitz1061

  • Full Member
  • ***
  • Posts: 190
  • Karma: +22/-0
  • No matter where you go, there you are...
    • View Profile
Backup Fails with Cannot pack error
« 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

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4358
  • Karma: +298/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Backup Fails with Cannot pack error
« Reply #1 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.
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

Offline Nimitz1061

  • Full Member
  • ***
  • Posts: 190
  • Karma: +22/-0
  • No matter where you go, there you are...
    • View Profile
Re: Backup Fails with Cannot pack error
« Reply #2 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

Offline Nimitz1061

  • Full Member
  • ***
  • Posts: 190
  • Karma: +22/-0
  • No matter where you go, there you are...
    • View Profile
Re: Backup Fails with Cannot pack error
« Reply #3 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

Offline Nimitz1061

  • Full Member
  • ***
  • Posts: 190
  • Karma: +22/-0
  • No matter where you go, there you are...
    • View Profile
Re: Backup Fails with Cannot pack error
« Reply #4 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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2048
  • Karma: +319/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Backup Fails with Cannot pack error
« Reply #5 on: July 10, 2012, 05:18:52 AM »
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

 

Powered by SMFPacks Social Login Mod