-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
Testing docker image - wont log in after creating user #317
Comments
Hi, don't use the alex-philips docker image. It is no longer updated. Use this instead https://github.com/linuxserver/docker-heimdall/pkgs/container/heimdall |
I wanted to test V3 not run the latest stable release. That is why I am here and not there :p |
Hi, look for the js tag in versions: https://github.com/linuxserver/docker-heimdall/pkgs/container/heimdall/versions That is the latest V3 version. |
As a note for this, if you don't set the DB_TYPE, DB_STORAGE, and UPLOAD_DIR manually in your environment/docker-compose, it will default to /app/heimdall/config and thus not be able to login, trying to find a MySQL database that doesn't exist or, with just the DB_TYPE of sqlite, citing a read-only SQLite database. It will also throw an error that the uploads folder is not writable. It seems that it doesn't fall back to sane defaults of /config without additional configuration. Be sure to set the environment to include those three or you will get to the user creation and it will silently fail (a 500 return on the POST to /users with a hidden error [SQLITE_READONLY: attempt to write a readonly database] that the database is read-only that isn't displayed anywhere)
Full docker-compose line:
|
I just installed and ran the image from @alex-phillips to test it out. It installed fine but then wouldn't log in after creating the admin account.
version: "2.1"
services:
heimdall:
image: alexphillips/heimdalljs
container_name: heimdall
environment:
- PUID=1000
- PGID=1000
- TZ=America/Detroit
volumes:
- /docker/heimdalljs:/config
ports:
- 3000:3000
restart: unless-stopped
Here is the log output, see attachment.
_heimdall_logs.txt
The text was updated successfully, but these errors were encountered: