Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

database disk image is malformed #115

Open
CamDavidsonPilon opened this issue Mar 6, 2023 · 0 comments
Open

database disk image is malformed #115

CamDavidsonPilon opened this issue Mar 6, 2023 · 0 comments

Comments

@CamDavidsonPilon
Copy link
Member

CamDavidsonPilon commented Mar 6, 2023

From https://forum.pioreactor.com/t/issue-sync-configs-timed-out/70


This error occurs when I made some changes to the config file in http://pioreactor1.local/config and then press “save”

I was adding some charts, and sometimes it seems like the changes go through, but I’m not sure if they are going through every time. Despite these errors, I am able to add new charts and .yamls and see them displayed on the main page.

tail -n 50 /var/log/pioreactorui.log

2023-03-05T12:59:52-0800 [huey.consumer.Worker] ERROR Unhandled error during execution of task ca528aff-991a-44ad-ae3f-cb805828c890.
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/huey/consumer.py", line 117, in loop
    self.huey.execute(task, now)
  File "/usr/local/lib/python3.9/dist-packages/huey/api.py", line 362, in execute
    return self._execute(task, timestamp)
  File "/usr/local/lib/python3.9/dist-packages/huey/api.py", line 407, in _execute
    self.put_result(task.id, task_value)
  File "/usr/local/lib/python3.9/dist-packages/huey/api.py", line 323, in put_result
    return self.storage.put_data(key, self.serializer.serialize(data),
  File "/usr/local/lib/python3.9/dist-packages/huey/storage.py", line 793, in put_data
    self.sql('insert or replace into kv (queue, key, value) '
  File "/usr/local/lib/python3.9/dist-packages/huey/storage.py", line 670, in sql
    curs.execute(query, params or ())
sqlite3.DatabaseError: database disk image is malformed
2023-03-05T13:00:50-0800 [pioreactorui] ERROR sync-configs timed out.
2023-03-05T13:05:10-0800 [huey.consumer.Worker] ERROR Unhandled error during execution of task 29ea07d3-d1f0-4855-9c95-03b30a5d66d9.
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/huey/consumer.py", line 117, in loop
    self.huey.execute(task, now)
  File "/usr/local/lib/python3.9/dist-packages/huey/api.py", line 362, in execute
    return self._execute(task, timestamp)
  File "/usr/local/lib/python3.9/dist-packages/huey/api.py", line 407, in _execute
    self.put_result(task.id, task_value)
  File "/usr/local/lib/python3.9/dist-packages/huey/api.py", line 323, in put_result
    return self.storage.put_data(key, self.serializer.serialize(data),
  File "/usr/local/lib/python3.9/dist-packages/huey/storage.py", line 793, in put_data
    self.sql('insert or replace into kv (queue, key, value) '
  File "/usr/local/lib/python3.9/dist-packages/huey/storage.py", line 670, in sql
    curs.execute(query, params or ())
sqlite3.DatabaseError: database disk image is malformed
2023-03-05T13:06:08-0800 [pioreactorui] ERROR sync-configs timed out.
2023-03-05T13:18:36-0800 [huey.consumer.Worker] ERROR Unhandled error during execution of task 119e9f45-1f5f-4dd9-ad22-4735e22a2d21.
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/huey/consumer.py", line 117, in loop
    self.huey.execute(task, now)
  File "/usr/local/lib/python3.9/dist-packages/huey/api.py", line 362, in execute
    return self._execute(task, timestamp)
  File "/usr/local/lib/python3.9/dist-packages/huey/api.py", line 407, in _execute
    self.put_result(task.id, task_value)
  File "/usr/local/lib/python3.9/dist-packages/huey/api.py", line 323, in put_result
    return self.storage.put_data(key, self.serializer.serialize(data),
  File "/usr/local/lib/python3.9/dist-packages/huey/storage.py", line 793, in put_data
    self.sql('insert or replace into kv (queue, key, value) '
  File "/usr/local/lib/python3.9/dist-packages/huey/storage.py", line 670, in sql
    curs.execute(query, params or ())
sqlite3.DatabaseError: database disk image is malformed
2023-03-05T13:19:34-0800 [pioreactorui] ERROR sync-configs timed out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant