What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 12.0.17
What app is this about: GLPI
Describe your issue
Hello!
I sucessfully installed GLPI on Yunohost but the time shown (e.g. creation time of a ticket) is wrong by minus 2 hours. The time on the host is correct (e.g. Wed Jul 23 10:29:32 AM CEST 2025). I can set a timezone in the GLPI settings (Setup > General > Timezone) but I have to first “activate” this option by running a php command in the GLPI installation. But I don’t have the necessary rights for the command:
Command to run: php bin/console database:enable_timezones
yunoadmin@yunohost$ sudo yunohost app shell glpi
glpi@yunohost$ php bin/console database:enable_timezones
Timezones usage cannot be activated due to following errors:
- Access to timezone database (mysql) is not allowed.
I have also tried to run the command with sudo but I don’t know the passwort for the glpi user. I tried the yunohost admin password and the standard password for the GLPI Frontend.
So I guess my question is: How can I run commands as root in app (shells/containers))? Or is there an alternative to fixing the time error?
Cheers
scgeist
Share relevant logs or error messages
yunoadmin@yunohost$ sudo yunohost app shell glpi
glpi@yunohost$ php bin/console database:enable_timezones
Timezones usage cannot be activated due to following errors:
- Access to timezone database (mysql) is not allowed.