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

Change piwigo user and group ids #614

Open
AlanAndre opened this issue Nov 18, 2022 · 1 comment
Open

Change piwigo user and group ids #614

AlanAndre opened this issue Nov 18, 2022 · 1 comment
Labels

Comments

@AlanAndre
Copy link

AlanAndre commented Nov 18, 2022

Describe the bug
Piwigo refuses to start with the root user, which is provided in roles/piwigo/defaults/main.yml

Environment

  • Ansible-NAS revision (git rev-parse --short HEAD): "5886702a"
  • Ansible version (paste the entire output of ansible --version on the machine you run the playbook from): 2.13.4
  • Ansible-NAS operating system (cat /etc/lsb-release on the Ansible-NAS box): Ubuntu 22.04.1 LTS

Expected behavior
Piwigo starts

Actual behavior
"please specify user and group other than root" in the logs of the docker container
webpage gives a 502 error

Steps to reproduce
run the playbook

Workaround
change "piwigo_user_id" and "piwigo_group_id" in group_vars/nas.yml

@AlanAndre AlanAndre added the bug label Nov 18, 2022
@amthna
Copy link

amthna commented Sep 8, 2023

@AlanAndre thanks so much for documenting a workaround here! Just ran into this bug.

For others having trouble, just changing the two IDs Alan mentions from "0" to "1" did the trick for me to get Piwigo running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants