Peertube service failed to start, permission denied

i’m having a strange « permission denied » error that’s preventing peertube from starting. here is a screenshot of « sudo journalctl -u peertube.service -b »:

however, the directory is fully owned by the peertube user. ls -ld /var/storage1/peertube:

what could i be missing? the install seemed to working fine when i initially finished it…

sudo chmod -R 755 /var/www/peertube/ try this

1 Like

doing a full
sudo chmod -R 755 /var/www/peertube
and
sudo chmod -R 755 /var/storage1/peertube
doesn’t help the situation.
in fact, the error still looks exactly the same:

Is this a fresh install of Peertube, or did it appear all of a sudden?
ls -ld /var/www/peertube/versions/peertube-v7.1.1
drwxrwxr-x 9 peertube peertube 4096 апр 9 02:09 /var/www/peertube/versions/peertube-v7.1.1
what rights do you have here?

appeared all of a sudden.

but

the storage drive, mounted at /var/storage1 was owned by a user. so i went and changed the owner to root:root, and then went back and gave peertube:peertube recursive ownership of /var/storage1/peertube and everything started working.

1 Like