unmk2 / ovz-web-panel

Automatically exported from code.google.com/p/ovz-web-panel
Other
0 stars 0 forks source link

Backup error on running more than one backup in the same time #412

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Steps to reproduce:
1. start more backups on the same time
2. after backup you will see the erros (look attachment screenshots)

Version of the product: newest

Server OS: debian squeeze 64bit

Browser: ie/opera/ff

Additional information:
What can we do to avoid this errors. How can we delete this wrong backup entrys.

Please help. Thanks...

Original issue reported on code.google.com by cod...@iscgr.de on 9 Mar 2012 at 10:19

Attachments:

GoogleCodeExporter commented 9 years ago
We have found a solution to delete this entrys manually:

use this:
cd /opt/ovz-web-panel/
sqlite3 db/production.sqlite3 "Delete from backups WHERE size = NULL"

But we haven´t a solution for avoid this error.

Original comment by cod...@iscgr.de on 9 Mar 2012 at 7:02

GoogleCodeExporter commented 9 years ago

Original comment by sibprogrammer on 12 Mar 2012 at 2:35

GoogleCodeExporter commented 9 years ago
Fixed. See 
https://github.com/sibprogrammer/owp/commit/2c55a4e4b210f603285448eb43411349b69d
68bc

Original comment by sibprogrammer on 12 Mar 2012 at 3:43