Issue with reducing media and using TOOTCTL

I’m trying to clear out media on my server, but running into a strange error.

In fact, any TOOTCTL command is giving me issues.

su - mastodon
cd /home/mastodon/live
RAILS_ENV=production bin/tootctl help

This still gives me the error
Full Details:

Last Part:

/home/mastodon/live/vendor/bundle/ruby/2.6.0/gems/pg-1.1.4/lib/pg.rb:56:in `initialize’: could not connect to server: No such file or directory (PG::ConnectionBad)
Is the server running locally and accepting
connections on Unix domain socket “/var/run/postgresql/.s.PGSQL.5432”?

Any help would be appreciated.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.