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
RAILS_ENV=production bin/tootctl help
This still gives me the error
/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.