Write Permissions error while upgrading from 12.0.0 to 12.0.2

I get a write permissions error while updating through the gui

Check for write permissions
The following places can not be written to:
/var/www/nextcloud/updater/…/robots.txt
/var/www/nextcloud/updater/…/db_structure.xml
/var/www/nextcloud/updater/…/index.html
/var/www/nextcloud/updater/…/.htaccess
/var/www/nextcloud/updater/…/AUTHORS
/var/www/nextcloud/updater/…/.user.ini
/var/www/nextcloud/updater/…/remote.php
/var/www/nextcloud/updater/…/index.php
/var/www/nextcloud/updater/…/public.php
/var/www/nextcloud/updater/…/console.php
/var/www/nextcloud/updater/…/version.php
/var/www/nextcloud/updater/…/status.php
/var/www/nextcloud/updater/…/occ
/var/www/nextcloud/updater/…/cron.php

Found a solution

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

from Write permission issues when updating from 10.0.1 to 10.0.2

2 Likes

Hello,

I had the same issue today with 13.0.5 => 13.0.6 upgrade. I’m using the official Nextcloud VM that was made by Tech and Me team. The mentioned “sudo chown” solution worked out with no issues.

I had the same issue with upgrade to 15.02. mentioned solution worked out here too.