Unable to start mastodon services after the server reboot


#1

Hi,

I had to reboot my ubuntu server and after that, I’m not able to start back the mastodon services.

Here’s what I got in the terminal running systemctl start mastodon-web mastodon-sidekiq mastodon-streaming by mastodon user.

mastodon@dedi-par-72088:~$ systemctl start mastodon-web mastodon-sidekiq mastodon-streaming

Failed to start mastodon-web.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files

See system logs and 'systemctl status mastodon-web.service' for details.

Failed to start mastodon-sidekiq.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files

See system logs and 'systemctl status mastodon-sidekiq.service' for details.

Failed to start mastodon-streaming.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files

See system logs and 'systemctl status mastodon-streaming.service' for details.

Running the same line by root user has do not return any message back, but the mastodon still does not work showing " We’re sorry, but something went wrong on our end." message.

Some help to fix it ? :smiley: Thanks :wink:


#2

what is the answer when you do:
systemctl status mastodon-streaming.service


#3
● mastodon-streaming.service - mastodon-streaming
   Loaded: loaded (/etc/systemd/system/mastodon-streaming.service; disabled; ven
   Active: active (running) since Wed 2019-01-23 13:09:34 CET; 1 day 3h ago
 Main PID: 6788 (npm)
    Tasks: 27 (limit: 4915)
   CGroup: /system.slice/mastodon-streaming.service
           ├─6788 npm
           ├─6922 sh -c node ./streaming/index.js
           ├─6923 node ./streaming/index.js
           └─6933 /usr/bin/node /home/mastodon/live/streaming/index.js

Jan 23 13:09:34 dedi-par-72088 systemd[1]: Started mastodon-streaming.
Jan 23 13:09:37 dedi-par-72088 npm[6788]: > mastodon@ start /home/mastodon/live
Jan 23 13:09:37 dedi-par-72088 npm[6788]: > node ./streaming/index.js
Jan 23 13:09:40 dedi-par-72088 npm[6788]: info Starting streaming API server mas
Jan 23 13:09:41 dedi-par-72088 npm[6788]: info Starting worker 1
Jan 23 13:09:41 dedi-par-72088 npm[6788]: node_redis: Warning: Redis server does
Jan 23 13:09:41 dedi-par-72088 npm[6788]: node_redis: Warning: Redis server does
Jan 23 13:09:41 dedi-par-72088 npm[6788]: info Worker 1 now listening on 0.0.0.0

#4

Some help here please? :grin: