-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
SQLiteError: no such table: user #133
Comments
Hello @tehniemer! Could you try to set up the app again using the Also, make sure to remove existing Docker volume used by Grimoire and allow it to create a new one. |
Sure thing, after removing the existing mountpoint and changing to the
Maybe a permissions issue with the bind mount? What |
I've tried to reproduce your issue, but unsuccessfully. For the permissions used, please check this line in the Dockerfile: https://github.com/goniszewski/grimoire/blob/main/Dockerfile#L11 |
same issue here |
same, doesn't work for me either |
Something fun that I noticed is that running
Just doing |
I've found an interesting thing. Using a directory mount causes the error. # This doesn't work
volumes:
- ./data:/app/data Removing # This works
# volumes
# -./data:/app/data # This works
volumes:
grimoire_data:/app/data |
That usually means it's a directory permission issue. If the container doesn't run as root or chown the directory after creation this tends to happen. I've removed this from my stack so I'm not able to test this. |
I may have introduced some unnecessary permission changes in the latest update to |
Best would be to make use of |
Possible fix for this issue is now being released under the Please let me know if it's still not working! |
For me, this does not work.
|
@goniszewski I saw your call for help on Reddit and figured you were having the exact same problem as I had in PlexRipper namely PlexRipper/PlexRipper#208. I had the same permission issues and resolved it by converting my dockerfile to use s6-overlay, which supports: PUID and PGID. This is exactly what LinuxServer.io uses for all their images and resolves permission issues. Read a bit through the links and let me know if you have any questions! |
Thanks, @JasonLandbridge, I will check it! |
Any news? |
After some time tinkering, I may have found a solution for this problem. Please check those changes: https://github.com/goniszewski/grimoire/pull/162/files |
As with many containers on Unraid (and elsewhere/containers in general), using Docker’s # On Unraid set this using the post arguments field of template: `--user 99:100`
docker run --user 99:100 -v /path/to/data:/app/data goniszewski/grimoire:latest # replace 99:100 with user/group that has permissions to path # Or with docker compose
...
image: goniszewski/grimoire:latest
user: "99:100"
volumes:
- /path/to/data:/app/data
... If the container supports The changes introduced by goniszewski in #162 should also help, but if issues persist, double-check your file permissions and try this approach. |
I added the
But still the |
Did you verify the permissions and owner on the container folder in appdata location? They would have been created previously using incorrect. Either adjust them or delete everything and let them be recreated. I would still suggest checking them after they are recreated. The key idea here is the storage location is not accessible or writable by the container process. |
I had to set it manually to nobody. |
I'm having the same issue, I tried the latest preview, 0.4, 0.4.4 and all gave the same error. Got it running on 0.3 |
What is the status with this? Using a bind mount is not working and I don't want to use volumes. `Bun v1.1.34 (Linux x64 baseline)
Bun v1.1.34 (Linux x64 baseline) using both :latest and :preview |
Adding: user: root Fixes the issue. This is weird, as according to docs the container should run as volumes:
- ./data:/app/data New folder is owned by |
Just started a new server for the first time. Using the docker compose user mechanism solved it for me. |
* chore: release v0.4.4 (#158) * chore: release v0.4.1-hotfix.3 * fix(data-migration): early return if no categories have parents (#128) Signed-off-by: Robert Goniszewski <[email protected]> * Closes #130 (#131) Signed-off-by: Robert Goniszewski <[email protected]> * fix(database): use dynamic path for SQLite database file Signed-off-by: Robert Goniszewski <[email protected]> * docs(readme): use single README file for latest/preview version Signed-off-by: Robert Goniszewski <[email protected]> * feat(ci): add manual deployment workflow and adjust tag conditions Signed-off-by: Robert Goniszewski <[email protected]> * refactor(workflow): simplify manual-deploy GitHub Action Signed-off-by: Robert Goniszewski <[email protected]> * fix(metadata): handle multiple image URLs in mainImageUrl field Signed-off-by: Robert Goniszewski <[email protected]> * fix: auth error handling (#144) * refactor(api): migrate Swagger UI to external documentation and enhance health endpoint Signed-off-by: Robert Goniszewski <[email protected]> * chore: release v0.4.3 * fix(docker): resolve issue with data directory permissions (#150) * Fix issue #153: creation/update of root categories (#157) * chore: release v0.4.3 (#149) * chore: release v0.4.1-hotfix.3 * fix(data-migration): early return if no categories have parents (#128) Signed-off-by: Robert Goniszewski <[email protected]> * Closes #130 (#131) Signed-off-by: Robert Goniszewski <[email protected]> * fix(database): use dynamic path for SQLite database file Signed-off-by: Robert Goniszewski <[email protected]> * docs(readme): use single README file for latest/preview version Signed-off-by: Robert Goniszewski <[email protected]> * feat(ci): add manual deployment workflow and adjust tag conditions Signed-off-by: Robert Goniszewski <[email protected]> * refactor(workflow): simplify manual-deploy GitHub Action Signed-off-by: Robert Goniszewski <[email protected]> * fix(metadata): handle multiple image URLs in mainImageUrl field Signed-off-by: Robert Goniszewski <[email protected]> * fix: auth error handling (#144) * refactor(api): migrate Swagger UI to external documentation and enhance health endpoint Signed-off-by: Robert Goniszewski <[email protected]> * chore: release v0.4.3 --------- Signed-off-by: Robert Goniszewski <[email protected]> Co-authored-by: Prabhanjan <[email protected]> * Fix creation/update of root categories --------- Signed-off-by: Robert Goniszewski <[email protected]> Co-authored-by: Robert Goniszewski <[email protected]> Co-authored-by: Prabhanjan <[email protected]> * Fix issue #145: bookmarks without images (#156) * chore: release v0.4.3 (#149) * chore: release v0.4.1-hotfix.3 * fix(data-migration): early return if no categories have parents (#128) Signed-off-by: Robert Goniszewski <[email protected]> * Closes #130 (#131) Signed-off-by: Robert Goniszewski <[email protected]> * fix(database): use dynamic path for SQLite database file Signed-off-by: Robert Goniszewski <[email protected]> * docs(readme): use single README file for latest/preview version Signed-off-by: Robert Goniszewski <[email protected]> * feat(ci): add manual deployment workflow and adjust tag conditions Signed-off-by: Robert Goniszewski <[email protected]> * refactor(workflow): simplify manual-deploy GitHub Action Signed-off-by: Robert Goniszewski <[email protected]> * fix(metadata): handle multiple image URLs in mainImageUrl field Signed-off-by: Robert Goniszewski <[email protected]> * fix: auth error handling (#144) * refactor(api): migrate Swagger UI to external documentation and enhance health endpoint Signed-off-by: Robert Goniszewski <[email protected]> * chore: release v0.4.3 --------- Signed-off-by: Robert Goniszewski <[email protected]> Co-authored-by: Prabhanjan <[email protected]> * Fix bookmark creation/update without image --------- Signed-off-by: Robert Goniszewski <[email protected]> Co-authored-by: Robert Goniszewski <[email protected]> Co-authored-by: Prabhanjan <[email protected]> * chore: release v0.4.4 --------- Signed-off-by: Robert Goniszewski <[email protected]> Co-authored-by: Prabhanjan <[email protected]> Co-authored-by: Guillaume Poussel <[email protected]> * feat(docker): implement s6-overlay Signed-off-by: Robert Goniszewski <[email protected]> * fix(docker): use proper tag in compose Signed-off-by: Robert Goniszewski <[email protected]> --------- Signed-off-by: Robert Goniszewski <[email protected]> Co-authored-by: Prabhanjan <[email protected]> Co-authored-by: Guillaume Poussel <[email protected]>
Without any additional feedback, I have merged the above PR to the preview as https://github.com/goniszewski/grimoire/releases/tag/v0.5.0-pre.2. You can check the Sorry for being so sluggish with this one. EDIT: There is some issue with building the image, and I'm working on a fix for this. |
Followed the docker install instructions and was presented with the following error when trying to access the service.
Here's my compose snippet
The text was updated successfully, but these errors were encountered: