Error installing ttrss

Error installing app: (‘connection to server at “localhost” (::1), port 5432 failed: FATAL: password authentication failed for user “ttrss”\nconnection to server at “localhost” (::1), port 5432 failed: FATAL: password authentication failed for user “ttrss”\n’, b’‘, b’\x1b[31m ERROR\x1b[0m \x1b[94m__main__ \x1b[0m Error executing action: connection to server at “localhost” (::1), port 5432 failed: FATAL: password authentication failed for user “ttrss”\nconnection to server at “localhost” (::1), port 5432 failed: FATAL: password authentication failed for user “ttrss”\nTraceback (most recent call last):\n File “/usr/share/plinth/actions/actions”, line 93, in _call\n return_values = func(*arguments['args'], **arguments['kwargs'])\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File “/usr/lib/python3/dist-packages/plinth/modules/ttrss/privileged.py”, line 103, in enable_api_access\n connection = psycopg2.connect(database=database, user=user,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File “/usr/lib/python3/dist-packages/psycopg2/init.py”, line 122, in connect\n conn = _connect(dsn, connection_factory=connection_factory, **kwasync)\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\npsycopg2.OperationalError: connection to server at “localhost” (::1), port 5432 failed: FATAL: password authentication failed for user “ttrss”\nconnection to server at “localhost” (::1), port 5432 failed: FATAL: password authentication failed for user “ttrss”\n\n’)
How can I fix that? My system is debian12 on a cloud VPS, and frequent updates are enabled.

Somehow ttrss is configured with a wrong database password. Could you try running this command through SSH?
sudo apt-get purge tt-rss
And then try installing it again.

I ran into the same issue as @fn7yk33zq and @jvalleroy’s solution of purging tt-rss and reinstalling worked for me. Thank you!

Fix for this issue is will be available soon.

1 Like