Closed b0n0r closed 1 year ago
That's a problem in the Debian packaging, nothing we can do on our side.
@b0n0r A workaround is to update humanize
package, which is outdated in Debian Buster (and derived distributions):
python3 -m pip install -U humanize
after updte humanize that error ocurred: postgres@xxxxxxx:~$ pg_activity
Traceback (most recent call last):
File "/usr/bin/pg_activity", line 11, in
psycopg2.errors.SyntaxError: syntax error at or near "" LINE 16: convert_from(replace(a.query, '', '\')::bytea, coale...
This particular problem got resolved in a later release (3.1.0) of pg_activity. Unfortunately, it's not available in Debian/Ubuntu (yet).
installed from Postgresql.Org repo:
package is installed:
ii pg-activity 3.0.1-1.pgdg20.04+1 all Realtime PostgreSQL database server monitoring tool
however is unable to start:
there is nothing specific or exotic about the environment, simple box that runs postgresql and sshd, that's about it.