Open shaunvis1 opened 5 days ago
Hey there - thanks for the report!
This isn't an issue with Pinchflat per se, but rather an issue with SQLite itself. This can be caused by any number of things, but common ones include:
See more here. This can happen with any sqlite-backed app including things like Sonarr/Radarr, but let's see about getting that fixed.
Possible fix for SQLite error:
db
. Back up this folder before continuing.db
directory that was the source of the backup you just created. For me, that looks like cd /appdata/pinchflat/db
sudo apt install sqlite3
mv pinchflat.db pinchflat_bak.db
mv pinchflat.db-shm pinchflat_bak.db-shm 2>/dev/null
mv pinchflat.db-wal pinchflat_bak.db-wal 2>/dev/null
echo '.recover' | sqlite3 pinchflat_bak.db | sqlite3 pinchflat.db
6. Re-start the Pinchflat Docker container and see if everything's working again
---
Let me know if you have any questions!
Describe the bug I updated my docker and now get "Internal Server Error"
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Diagnostic info
Status:
500
Reason:
%Exqlite.Error{message: "database disk image is malformed", statement: "SELECT count(m0.\"id\") FROM \"media_items\" AS m0 WHERE (NOT (m0.\"media_filepath\" IS NULL))"}
Stacktrace:
pinchflat-logs-2024-11-02.txt
Additional context
Add any other context about the problem here.