jdoss / ppngx

Podman + Paperless NGX
MIT License
97 stars 11 forks source link

Web login #1

Closed Tandokude closed 1 year ago

Tandokude commented 1 year ago

First off, great script and I'm not sure if this is an issue or not. But I don't see where in your script you are configuring the web "superuser" so you can log into the site.

jdoss commented 1 year ago

Thanks! It's been a while since I have launched a fresh install from this script. IIRC it prompted me to create a new user when it migrates database on PostgreSQL. Did it not do this?

Tandokude commented 1 year ago

At least in my case it did not do this, I only mention it cause I know in the official docs it notes: To be able to login, you will need a super user. To create it, execute the following command:

$ docker-compose run --rm webserver createsuperuser This will prompt you to set a username, an optional e-mail address and finally a password (at least 8 characters).

I had to use the --tty option to be able to execute this command and get the user created.

jdoss commented 1 year ago

I think my additions to the README should clear things up here. If not, we can reopen this issue and work together on making things more clear.

Thanks for taking the time to open this up so I could fix it. :)