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

docker: no user / db created #127

Open
rpsmonkey opened this issue Feb 1, 2022 · 2 comments
Open

docker: no user / db created #127

rpsmonkey opened this issue Feb 1, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@rpsmonkey
Copy link

Using docker images (dev) on raspberry pi doesn't create database and therefore login via ui is not possible. Not sure if already fixed in raw code, I tried to compile myself but that also doesn't work. Getting lot of errors and wrong versions, fixed myself as good as I could but didn't get it trough. :/

If someone could help how to create initial database to be able to login or any other way to get an initial starting setup - I would be very happy. (hints for compiling arm version are also welcome)

Steps to reproduce the behavior:

  1. Download docker image for arm (raspberry pi 4B)
  2. Run container
  3. got to admin ui login page
  4. See error in log file (no table "user" in db / see ls -hal and only empty database)

Thanks!

@rpsmonkey rpsmonkey added the bug Something isn't working label Feb 1, 2022
@CelluloidRacer2
Copy link

This is also an issue on production versions on Dockerhub. Base Docker container will not create a functioning instance, from what I can see

@ChrisBBBB
Copy link

ChrisBBBB commented Jan 30, 2023

I have this issue too (on a RPi4, using the :dev image). Any ideas?
I see that a database.db file is created at the moment I first try to login with admin/admin. The file is owned by root.
But the log shows the message about no user table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants