What type of hardware are you using: Bare Metal
What YunoHost version are you running: 12.1.17.1
What app is this about: Funkwhale 1.4.1~ynh1
Describe your issue
Can’t install the app.
Share relevant logs or error messages
https://paste.yunohost.org/raw/igahatuceg
yunohost app install funkwhale
Info: Installing funkwhale…
Info: Provisioning sources...
Info: Provisioning ports...
Info: Provisioning system_user...
Info: Provisioning install_dir...
Info: Provisioning data_dir...
Info: Provisioning permissions...
Info: Provisioning apt...
Info: Provisioning database...
Info: [+...................] > Setting up source files...
Info: [#++.................] > Configuring NGINX web server...
Info: [###++...............] > Creating a data directory...
Info: [#####+..............] > Adding funkwhale's configuration...
Info: [######++............] > Configuring funkwhale's systemd service...
Info: [########++..........] > Installing Python dependencies...
Info: [##########+.........] > Building funkwhale...
Error: Unable to install funkwhale: An error occurred inside the app installation script
Info: The operation 'Install the 'funkwhale' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20250901-173258-app_install-funkwhale' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - File "/var/www/funkwhale/venv/lib/python3.11/site-packages/django/db/backends/base/base.py", line 219, in ensure_connection
Info: DEBUG - self.connect()
Info: DEBUG - File "/var/www/funkwhale/venv/lib/python3.11/site-packages/django/utils/asyncio.py", line 33, in inner
Info: DEBUG - return func(*args, **kwargs)
Info: DEBUG - ^^^^^^^^^^^^^^^^^^^^^
Info: DEBUG - File "/var/www/funkwhale/venv/lib/python3.11/site-packages/django/db/backends/base/base.py", line 200, in connect
Info: DEBUG - self.connection = self.get_new_connection(conn_params)
Info: DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Info: DEBUG - File "/var/www/funkwhale/venv/lib/python3.11/site-packages/django/utils/asyncio.py", line 33, in inner
Info: DEBUG - return func(*args, **kwargs)
Info: DEBUG - ^^^^^^^^^^^^^^^^^^^^^
Info: DEBUG - File "/var/www/funkwhale/venv/lib/python3.11/site-packages/django/db/backends/postgresql/base.py", line 187, in get_new_connection
Info: DEBUG - connection = Database.connect(**conn_params)
Info: DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Info: DEBUG - File "/var/www/funkwhale/venv/lib/python3.11/site-packages/psycopg2/__init__.py", line 122, in connect
Info: DEBUG - conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
Info: DEBUG - ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Info: DEBUG - django.db.utils.OperationalError: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: FATAL: Peer authentication failed for user "funkwhale"
Info: DEBUG -
Info: DEBUG - + ynh_exit_properly
Warning: Removing the app after installation failure…
Info: [++++++..............] > Stopping and removing the systemd service...
Info: [######+++++++.......] > Removing NGINX web server configuration...
Info: '/etc/fail2ban/jail.d/funkwhale.conf' wasn't deleted because it doesn't exist.
Info: '/etc/fail2ban/filter.d/funkwhale.conf' wasn't deleted because it doesn't exist.
Info: [####################] > Removal of funkwhale completed
Info: Deprovisioning database...
Info: Deprovisioning apt...
Info: Deprovisioning permissions...
Info: Deprovisioning data_dir...
Info: Deprovisioning install_dir...
Info: Deprovisioning system_user...
Info: Deprovisioning ports...
Info: Deprovisioning sources...
Error: The operation 'Install the 'funkwhale' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20250901-173258-app_install-funkwhale' to get help