Pad_Pors
(Pad Pors)
1
hi, I have installed a new instance to recover some backups, but when I went to upload the backup, it gave me this error:
Errno::EACCES (Permission denied @ dir_s_mkdir - /var/www/discourse/public/backups/default/tmp)
do you know how to solve this to be able to upload the backup?
gerhard
(Gerhard Schlager)
2
That’s strange. You could try to chown -R discourse:www-data /var/www/discourse/public/backups/*
inside the docker container.
1 Like
Pad_Pors
(Pad Pors)
3
thanks but that didn’t help.
do I need to rebuild the app before trying to upload the backup again?
gerhard
(Gerhard Schlager)
4
You could try, but I don’t expect to have any effect.
1 Like
Pad_Pors
(Pad Pors)
5
ok that was the solution with an extra “*” in the end:
chown -R discourse:www-data /var/www/discourse/public/backups/*
2 Likes
system
(system)
Closed
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.