1989: Error applying evolution: database or disk is full

k.s.b******@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 27, 2011
What version are you running?

Upgrading from 1.0.5.1 -> 1.5.4. Using Sqlite3


What's the URL of the page containing the problem?

https://saros-build.imp.fu-berlin.de/reviews/ -- this page informs us that: The Review Board database schema has changed since your last upgrade. To update your schema, run:

  $ ./manage.py syncdb
 


What steps will reproduce the problem?
1. Running "./manage.py syncdb" gives the error message: "Unable to read settings_local.py"
2. Running "rb-site upgrade [path]" gives the message: "Project signature has changed - an evolution is required." followed by "database disk image is malformed".
3. Running "rb-site manage [path] evolve" gives the message: "Trial evolution successful". However running  "rb-site manage [path] evolve -- --execute" gives the error message: "Error applying evoltion: database or disk is full."


What is the expected output? What do you see instead?

Expecting a successful update. See output above.


What operating system are you using? What browser?

Ubuntu 9.10 server.


Please provide any additional information below.

The server has plenty of hard disk space remaining. The Sqlite database is not corrupted (another application of ours can connect and read it fine, plus we can open it using sqlite CLI tool and browse it).

Thank you. We are very much fans of this application and hope to continue using it as quickly as possible.
#1 k.s.b******@gmai***** (Google Code) (Is this you? Claim this profile.)
I have found a partial solution. By dumping the SQLite database, then using that to re-import the data into a new database the evolution worked OK. However, the old patch diff data was lost and we had to re-upload the our patch files. Fortunately, there were not too many.
david
#2 david
This appears to be an internal problem in sqlite =/

We don't recommend sqlite for production instances. Mysql or Postgres will work much better.
  • +ThirdParty