Solved NextCloud 10.0.1 to 10.0.2 Update Error
-
But the folders are definitely writable and owned by the right account. Not sure what it is detecting.
Check for write permissions The following places can not be written to: /var/www/html/nextcloud/updater/../. /var/www/html/nextcloud/updater/../.user.ini
-
Had to chmod 777 nextcloud/.user.ini to fix the other. 770 doesn't work, not sure what user it is trying to use.
-
drwxr-x---. 28 apache apache 4096 Sep 28 13:32 3rdparty drwxr-x---. 36 apache apache 4096 Sep 28 13:30 apps -rw-r-----. 1 apache apache 8868 Sep 28 13:30 AUTHORS drwxr-xr-x. 2 apache apache 63 Oct 5 06:56 config -rw-r-----. 1 apache apache 3601 Sep 28 13:30 console.php -rw-r-----. 1 apache apache 34520 Sep 28 13:30 COPYING-AGPL drwxr-x---. 17 apache apache 4096 Sep 28 13:32 core -rw-r-----. 1 apache apache 5008 Sep 28 13:30 cron.php drwxr-xr-x. 2 apache apache 59 Oct 4 17:22 data -rw-r-----. 1 apache apache 39782 Sep 28 13:30 db_structure.xml -rw-r-----. 1 apache apache 179 Sep 28 13:30 index.html -rw-r-----. 1 apache apache 2618 Sep 28 13:30 index.php drwxr-x---. 3 apache apache 63 Sep 28 13:30 l10n drwxr-x---. 6 apache apache 95 Sep 28 13:30 lib -rwxr-xr-x. 1 apache apache 283 Sep 28 13:30 occ drwxr-x---. 2 apache apache 69 Sep 28 13:30 ocs drwxr-x---. 2 apache apache 22 Sep 28 13:30 ocs-provider -rw-r-----. 1 apache apache 3173 Sep 28 13:30 public.php -rw-r-----. 1 apache apache 5420 Sep 28 13:30 remote.php drwxr-x---. 4 apache apache 37 Sep 28 13:30 resources -rw-r-----. 1 apache apache 26 Sep 28 13:30 robots.txt drwxr-x---. 12 apache apache 4096 Sep 28 13:30 settings -rw-r-----. 1 apache apache 1908 Sep 28 13:30 status.php drwxr-x---. 3 apache apache 33 Sep 28 13:30 themes drwxrwxrwx. 2 apache apache 22 Sep 28 13:32 updater -rw-r-----. 1 apache apache 257 Sep 28 13:31 version.php
-
I had to chmod 777 nextcloud to fix the first of the two errors.
-
Had to chmod 777 nextcloud/.user.ini to fix the other. 770 doesn't work, not sure what user it is trying to use.
-
@scottalanmiller said in NextCloud 10.0.1 to 10.0.2 Update Error:
I had to chmod 777 nextcloud to fix the first of the two errors.
What were the previous permissions you mentioned were already set before completely opening up to 777?
-
@BBigford said in NextCloud 10.0.1 to 10.0.2 Update Error:
@scottalanmiller said in NextCloud 10.0.1 to 10.0.2 Update Error:
I had to chmod 777 nextcloud to fix the first of the two errors.
What were the previous permissions you mentioned were already set before completely opening up to 777?
Nvm, I didn't see you replied with 770 before I wrote that.
-
If you cat nextcloud/.htaccess, is there any relating info in there?
-
Here's some info from GH comments... https://github.com/nextcloud/server/issues/322
I'm also curious why that needs to be 777, what it's using exactly. Cause your user and group perms are already open, but what is the "other" that needs write. Maybe NC itself is trying to write to certain files, whereas it didn't in the previous release?
-
What's your SELinux context of that file? I assume no ACLs?
-
@stacksofplates said in NextCloud 10.0.1 to 10.0.2 Update Error:
What's your SELinux context of that file? I assume no ACLs?
Would that be able to impact me if chmod worked?
-
@scottalanmiller said in NextCloud 10.0.1 to 10.0.2 Update Error:
@stacksofplates said in NextCloud 10.0.1 to 10.0.2 Update Error:
What's your SELinux context of that file? I assume no ACLs?
Would that be able to impact me if chmod worked?
Ah you're right nm. And if I would have actually looked at your output I would have noticed no ACLs. I just remembered ownCloud had an SELinux issue during the install.
Did it just give you that error or could you actually not use the site?