I've been running trac for our in-house development for several months
now, and everything has run smoothly. Tonight, however, every operation
which writes to the database raises a 'database is full' exception.
Here's a sample traceback, produced when I try to save my edit to a wiki
page:
-----------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/core.py", line 475, in cgi_start
real_cgi_start()
File "/usr/lib/python2.3/site-packages/trac/core.py", line 470, in real_cgi_start
dispatch_request(path_info, args, req, env, database)
File "/usr/lib/python2.3/site-packages/trac/core.py", line 380, in dispatch_request
module.run()
File "/usr/lib/python2.3/site-packages/trac/Module.py", line 41, in run
self.render()
File "/usr/lib/python2.3/site-packages/trac/Wiki.py", line 758, in render
self.page.commit(author, comment, self.req.remote_addr)
File "/usr/lib/python2.3/site-packages/trac/Wiki.py", line 585, in commit
author, remote_addr, self.text, comment)
File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 237, in execute
self.con._begin()
File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 503, in _begin
self.db.execute("BEGIN")
DatabaseError: database is full
-----------------------------------------------
The disk isn't full, and permissions are set correctly. In fact, I have
no idea what changed between yesterday and today. So I started hunting
around a bit. I can create a new trac project with trac-admin, and the
database gets filled up with all the revision information as it should.
Same exception when I modify anything through the web interface, though.
To really narrow it down, I pulled up python and manually ran the
statements which produced the wiki error on the same db:
>>> import sqlite
>>> c = sqlite.connect('trac.db')
>>> x = c.cursor()
>>> x.execute('INSERT INTO WIKI (name, version, time, author, ipnr,
text, comment) VALUES (%s, %s, %s, %s, %s, %s, %s)', 'foo', 1, 2, 'cap',
'1.2.3.4', 'heres the stupid wiki page', 'and a comment even')
>>> c.commit()
Lo, the new page is now in my index, and I can view it, but changes are
verboten. I've rebooted the server and restarted apache several times. I
don't know enough about SQLite or Trac to have any clue what could be
going on. Help?
Version Info:
Debian/testing
Trac 0.7.1
Apache 2.0.47-1 (.deb)
SQLite 2.8.15-2 (.deb, Upgraded from 2.8.13-3, which I was running when
this started happening)
PySQLite 0.5.1 (Upgraded from 0.5.0, ditto)
now, and everything has run smoothly. Tonight, however, every operation
which writes to the database raises a 'database is full' exception.
Here's a sample traceback, produced when I try to save my edit to a wiki
page:
-----------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/trac/core.py", line 475, in cgi_start
real_cgi_start()
File "/usr/lib/python2.3/site-packages/trac/core.py", line 470, in real_cgi_start
dispatch_request(path_info, args, req, env, database)
File "/usr/lib/python2.3/site-packages/trac/core.py", line 380, in dispatch_request
module.run()
File "/usr/lib/python2.3/site-packages/trac/Module.py", line 41, in run
self.render()
File "/usr/lib/python2.3/site-packages/trac/Wiki.py", line 758, in render
self.page.commit(author, comment, self.req.remote_addr)
File "/usr/lib/python2.3/site-packages/trac/Wiki.py", line 585, in commit
author, remote_addr, self.text, comment)
File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 237, in execute
self.con._begin()
File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 503, in _begin
self.db.execute("BEGIN")
DatabaseError: database is full
-----------------------------------------------
The disk isn't full, and permissions are set correctly. In fact, I have
no idea what changed between yesterday and today. So I started hunting
around a bit. I can create a new trac project with trac-admin, and the
database gets filled up with all the revision information as it should.
Same exception when I modify anything through the web interface, though.
To really narrow it down, I pulled up python and manually ran the
statements which produced the wiki error on the same db:
>>> import sqlite
>>> c = sqlite.connect('trac.db')
>>> x = c.cursor()
>>> x.execute('INSERT INTO WIKI (name, version, time, author, ipnr,
text, comment) VALUES (%s, %s, %s, %s, %s, %s, %s)', 'foo', 1, 2, 'cap',
'1.2.3.4', 'heres the stupid wiki page', 'and a comment even')
>>> c.commit()
Lo, the new page is now in my index, and I can view it, but changes are
verboten. I've rebooted the server and restarted apache several times. I
don't know enough about SQLite or Trac to have any clue what could be
going on. Help?
Version Info:
Debian/testing
Trac 0.7.1
Apache 2.0.47-1 (.deb)
SQLite 2.8.15-2 (.deb, Upgraded from 2.8.13-3, which I was running when
this started happening)
PySQLite 0.5.1 (Upgraded from 0.5.0, ditto)