• Forum has been upgraded, all links, images, etc are as they were. Please see Official Announcements for more information

Sentinel peewee.OperationalError: database is locked

europound

Member
[error] Could not drop tables: database is locked
Traceback (most recent call last):
File "bin/sentinel.py", line 9, in <module>
from models import Superblock, Proposal, GovernanceObject, Watchdog
File "lib/models.py", line 822, in <module>
check_db_sane() # ensure tables exist
File "lib/models.py", line 762, in check_db_sane
if not getattr(model, 'table_exists')():
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 4836, in table_exists
return cls._meta.db_table in cls._meta.database.get_tables(**kwargs)
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3893, in get_tables
'type = ? ORDER BY name;', ('table',))
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3683, in execute_sql
self.commit()
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3507, in __exit__
reraise(new_type, new_type(*exc_args), traceback)
File "/root/dashman/sentinel/venv/local/lib/python2.7/site-packages/peewee.py", line 3676, in execute_sql
cursor.execute(sql, params or ())
peewee.OperationalError: database is locked
 
ba3ec87:~/log# cd /root/dashman/sentinel && venv/bin/python bin/sentinel.py >>/root/log/sentinel-cron.log
root@e4658ba3ec87:~/dashman/sentinel# cd /root/dashman/sentinel && venv/bin/python bin/sentinel.py >>/root/log/sentinel-cron.log
root@e4658ba3ec87:~/dashman/sentinel# cd /root/log
root@e4658ba3ec87:~/log# ls
sentinel-cron.log
root@e4658ba3ec87:~/log# ls -lh
total 0
-rw-r--r-- 1 root root 0 Nov 17 05:35 sentinel-cron.log
root@e4658ba3ec87:~/log#
 
Back
Top