Closed MichaelBrunn3r closed 1 month ago
Hello @MichaelBrunn3r! Are you able to sign in to the PocketBase with the credentials defined in your '.env' file? If not, it's possible the migrations failed (during which the admin account should be set up).
Yes, this is a fresh install. If I open pocketbase in the browser, I can log in with the credentials provided in my .env. But the same credentials don't work in grimoire, which uses that pocketbase instance
I'm also having this issue on a fresh install. I can log in on pocketbase, but it fails on grimoire. I'm also unable to create or log in to new users on grimoire, even if I make them in pocketbase first.
Hello @reallemon! I know this issue may be frustrating for you and for a good reason.
I would suggest you to use the preview version for now, that may require some polishing, but it's stable.
To use it, check the develop tag of Docker image. You won't need the envs for root admin and PB-related.
I switched to that tag and branch, but now when I try to access the website I get a 500 error and the logs say " SQLiteError: no such table: user"
Thank you for bringing this issue to my attention! It's now fixed on develop
branch. I have also spotted some UI issue with the filter/sort bar I'll should probably fix later today.
The docker-compose.yml
file was also updated, and now it doesn't require the .env
file at all.
That's getting me in, though the environment variable wasn't working like I think it was supposed to and that was causing it to generate 404s.
environment:
- PORT=5173
This doesn't set an environment variable that docker compose can use, so these lines weren't working (docker said it was treating PORT as a blank string, which didn't seem to trigger the default options for me).
healthcheck:
test: wget --no-verbose --tries=1 --spider http://localhost:$PORT/api/health || exit 1
interval: 30s
timeout: 10s
retries: 3
ports:
- '${PORT:-5173}:${PORT:-5173}'
I just hard coded the ports and left the environment section in and that seemed to do the trick. That said, I'm having a lot of other errors. I'm able to create a user now and log in, but creating bookmarks is proving challenging. I'll make another issue for that though so I don't distract from this issue too much.
Please upgrade to the latest version of Grimoire. You can use the integrated migration tool to transfer your data to new format.
Describe the bug On a fresh install, I cannot login as the admin user or creat any other users. I just get the errors "Incorrect credentials" and "Incantation failed :(". I can log into Pocketbase admin panel with the same credentials.
Relevant logs:
To Reproduce docker-compose.yml
.env