giandonatoinverso / PHP-Dynamic-Qr-code

PHP Dynamic Qr code is a script that allows the generation and saving of dynamic and static QR codes
MIT License
243 stars 73 forks source link

Docker permissions / unable to login #104

Closed Joonas12334 closed 2 months ago

Joonas12334 commented 2 months ago

Had multiple problems at first when starting the container and logging in with superadmin / superadmin. Got hit with the exact message as this user link

Anyway, what worked for me was to add PGID and PUID environment variables for the database container. I suggest adding it for the default template as well.Or at least mentioning that this might be the issue when setting it up as I started to pull my hair out.

Thankfully I tested the docker file without mounting the database externally and it worked there. Thus I knew it was related to permissions.

Thank you for the wonderful software!