[Solved] NextCloud - Updating/Upgrading File Permissions Errors
-
I have not been able to get NextCloud to update via the Web UI. I tried to do 11.0.2 to 11.0.3 on another server instance a couple weeks ago and now I am trying to do 11.0.3 to 12.0 and each time I get file permissions errors which lists a thousand or so files. (I followed Jared's Nextcloud 11.0.3 on Fedora 25's walk-through)
I tried several chown and chmod commands for a couple of users/groups and still haven't been able to get it updated. Does anyone know which user/group should have which permissions?
Solution- Thanks to @black3dynamite - setenforce 0 temporarily then setenforce 1 after the upgrade. Also, thanks to @JaredBusch for the original walk-through.
-
Are you seeing 12 available in your GUI? Still not seeing it here.
-
@scottalanmiller said in NextCloud - Updating/Upgrading File Permissions Errors:
Are you seeing 12 available in your GUI? Still not seeing it here.
According to their site, they are releasing a staged roll-out with only about 15% of users on 11.0.3 on the stable release channel getting the notification. If you want to force it to detect 12, you can change to the beta channel, install it and change back.
https://nextcloud.com/blog/welcome-to-nextcloud-12/ If you scroll down to the upgrading section at the bottom, it tells you.
-
You cannot upgrade because my guide still followed their secure directory instructions from Version 9.
Those instructions are no longer part of their install. Likely because of the updater. Nothing else in their setup has changed to hint that we no longer should use these secure permissions.
chown -R apache:apache /var/www/html/nextcloud
-
@JaredBusch Ah. I did see that their installation guide has not seemed to have changed since v9.
So, if I want to upgrade, what would I do now and/or do differently during the installation?
-
I also tried to chown root. That didn't work either.
-
@wrx7m said in NextCloud - Updating/Upgrading File Permissions Errors:
@JaredBusch Ah. I did see that their installation guide has not seemed to have changed since v9.
So, if I want to upgrade, what would I do now and/or do differently during the installation?
Do not run the script to secure the directories.
-
@wrx7m said in NextCloud - Updating/Upgrading File Permissions Errors:
I also tried to chown root. That didn't work either.
Apache not root.
-
@JaredBusch Yeah, I did apache but in troubleshooting, I did root.
-
@wrx7m Temporary set SELinux to permissive.
setenforce 0 -
@black3dynamite said in NextCloud - Updating/Upgrading File Permissions Errors:
@wrx7m Temporary set SELinux to permissive.
setenforce 0Thanks. I will try it out tomorrow.
-
@black3dynamite said in NextCloud - Updating/Upgrading File Permissions Errors:
setenforce 0
setenforce 0 worked. Thanks, @black3dynamite !