Failed to Update

Can anyone help me with this problem I am facing when trying to upgrade to the new version?

Seems /media/myCloudDrive is your data directory. Make sure the user running the web server (apache? ngingx?) is owning that directory and all subfolders and has write access there.

1 Like

How do I know if I can write to this directory?

You need to use the methods of you operating system. Tell us which OS you are running, so we can give you a hint.

It’s not you who needs to write to that directory. It’s the user who runs the web server. On a Ubuntu system, that would be www-data.

1 Like

I am using a raspberry with raspbian and installed the nextcloudpi

Log into the shell and show the output of these commands:

sudo ls -l /media/myCloudDrive
sudo ls -l /var/www/nextcloud

The second command should show the user www-data and group www-data. If the first command does not show the same user/group, change them by:
sudo chown -R www-data:www-data /media/myCloudDrive

If all these steps work without error messages, retry the update.

1 Like