Hello YunoHost community and welcome to my first post here.
Description of my issue
I had at one point already installed Umami and then uninstalled it. Now I am trying to reinstall it, but the umami
database is invalid and the installation fails.
Does anyone have an idea what might have caused the issue and how to prevent it?
Thank you in advance.
My YunoHost server
Hardware: Intel NUC 13 Pro NUC13ANHi5
YunoHost version: 11.2.11.2
I have access to my server :
Through SSH
through the webadmin
direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain:
If your request is related to an app, specify its name and version: Umami 2.11.1~ynh1
Logs
2024-04-14 12:23:43,942: INFO - [#########...........] > Provisioning pgcrypto...
2024-04-14 12:23:43,970: DEBUG - + database=umami
2024-04-14 12:23:43,970: DEBUG - + '[' -n umami ']'
2024-04-14 12:23:43,970: DEBUG - + database=--database=umami
2024-04-14 12:23:43,971: DEBUG - ++ cat /etc/yunohost/psql
2024-04-14 12:23:43,972: DEBUG - + ynh_psql_connect_as --user=postgres --password=********** --database=umami
2024-04-14 12:23:44,035: DEBUG - + database=umami
2024-04-14 12:23:44,035: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql umami
2024-04-14 12:23:44,088: WARNING - psql: error: FATAL: cannot connect to invalid database "umami"
2024-04-14 12:23:44,089: WARNING - HINT: Use DROP DATABASE to drop invalid databases.
2024-04-14 12:23:44,090: DEBUG - + ynh_exit_properly
2024-04-14 12:23:44,090: DEBUG - + local exit_code=2
2024-04-14 12:23:44,090: DEBUG - + [[ install =~ ^install$|^upgrade$|^restore$ ]]
2024-04-14 12:23:44,091: DEBUG - + '[' 2 -eq 0 ']'
2024-04-14 12:23:45,597: ERROR - Unable to install umami: An error occurred inside the app installation script
The full YunoPaste log is located here.