Ticket: Permission Denied Error on Adding New Reddit Channel
@cao Just created a ticket
Question: Removed reddit channel and while trying to add new channerl got an error
Attempted: this is error message: [Nest] 33169 - 12/04/2024, 12:09:36 AM ERROR [ExceptionsHandler] EACCES: permission denied, mkdir '/uploads/2024/12/03' Error: EACCES: permission denied, mkdir '/uploads/2024/12/03'
Working On: fixes for a PR
Using Postiz On: locally
Take it from here @Postiz
Question: Removed reddit channel and while trying to add new channerl got an error
Attempted: this is error message: [Nest] 33169 - 12/04/2024, 12:09:36 AM ERROR [ExceptionsHandler] EACCES: permission denied, mkdir '/uploads/2024/12/03' Error: EACCES: permission denied, mkdir '/uploads/2024/12/03'
Working On: fixes for a PR
Using Postiz On: locally
Take it from here @Postiz
6 Replies
ah so, it's trying to create teh directory /uploads at the root of your filesystem
yes, i already added /uploads to env UPLOAD_DIRECTORY and NEXT_PUBLIC_UPLOAD_STATIC_DIRECTORY
So are you Ok with that? Did you create /uploads yourself, and chmod it for Postiz?
Because you could set UPLOAD_DIRECTORY=./uploads or /home/myuser/uploads
this is what i have UPLOAD_DIRECTORY="/uploads"
i'll try this one
this one fixed it, thanks
yay 😄
Easiest support ticket ever
Hi @cao Please select an action
Hi @cao Please select an action
Hi @cao Please select an action
Hi @cao Please select an action
Hi @cao Please select an action
This thread is now closed! Feel free to open a new one if you need help