Forbidden when uploading on External Storage

No its a dedicated server only for me

I did manual installation!!

okay, good to know :+1:

Okay. Did you use a tutorial for this? Could you post a link to it here?

I think this one https://www.google.com/amp/s/www.linuxbabe.com/ubuntu/install-nextcloud-ubuntu-18-04-nginx-lemp/amp

1 Like

Thank you!
Now we only need one additional info:
What is the output of
sudo ls -la /home
?

Screenshot 2021-05-11 at 10.14.59 AM

1 Like

Thanks!
So finally those commands should make it work:

sudo chown -R www-data:www-data /home
sudo chmod -R 770 /home

Omg, can’t thank you enough!!! Thank you a lot, keep helping noobs like me :)))))

Can you also help me with this problem? HTTP Error: 400 when uploading using Pyocclient

These are the logs

You are welcome! Unfortunately I am not able to help with this other issue since I am not confident with Pyocclient.

Understood, Thanks Man :slight_smile:

1 Like

But can you see the second error? It says files_trashbin/files is not writable… What should I do?

This should most likely be resolveable by executing:

sudo chown -R www-data:www-data /usr/share/nginx/nextcloud-data
sudo chmod -R 770 /usr/share/nginx/nextcloud-data

It shows these errors! Screenshot 2021-05-11 at 3.22.51 PM

This is the error when I’m trying to upload zip files.

Okay, then this should resolve your issue:

sudo chown -R www-data:www-data /var/www/nextcloud
sudo chmod -R 770 /var/www/nextcloud

OMG, that solved the problem!!! Thank you a lot, you are genius man <3

But I do want to know, what actually happened? The problem?

It seems like the unix permissions were set incorrectly. I don’t know why.

Thanks :slight_smile: I don’t know how it happened :slight_smile: