Centos upgrade nextcloud 13 to 14!

hello
im running latest centos with nextcloud 13.0.2
when i try to update to 14 i get

Check for write permissions

The following places can not be written to:

  • /var/www/html/nextcloud/updater/…/console.php
  • /var/www/html/nextcloud/updater/…/version.php
  • /var/www/html/nextcloud/updater/…/AUTHORS
  • /var/www/html/nextcloud/updater/…/index.php
  • /var/www/html/nextcloud/updater/…/status.php
  • /var/www/html/nextcloud/updater/…/robots.txt
  • /var/www/html/nextcloud/updater/…/occ
  • /var/www/html/nextcloud/updater/…/remote.php
  • /var/www/html/nextcloud/updater/…/cron.php
  • /var/www/html/nextcloud/updater/…/index.html
  • /var/www/html/nextcloud/updater/…/public.php

any 1 have a fix for this ?

cd /var/www/html
sudo chown -R apache:apache nextcloud

then do the update again.
CentOS’s apache use apache instead of www-data.

i just did that. same result :frowning:

selinux enabled? (i think it’s sestatus to check this)

https://docs.nextcloud.com/server/14/admin_manual/installation/selinux_configuration.html

yes its enabled

then you should check the article. :wink:

1 Like