ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Solved NextCloud 10.0.1 to 10.0.2 Update Error

    IT Discussion
    nextcloud nextcloud 10
    3
    11
    3.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      0_1482014190711_Screenshot from 2016-12-17 17-36-05.png

      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
      
      
      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        Had to chmod 777 nextcloud/.user.ini to fix the other. 770 doesn't work, not sure what user it is trying to use.

        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          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
          
          1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            I had to chmod 777 nextcloud to fix the first of the two errors.

            bbigfordB 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller
              last edited by

              Had to chmod 777 nextcloud/.user.ini to fix the other. 770 doesn't work, not sure what user it is trying to use.

              1 Reply Last reply Reply Quote 0
              • bbigfordB
                bbigford @scottalanmiller
                last edited by

                @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?

                bbigfordB 1 Reply Last reply Reply Quote 0
                • bbigfordB
                  bbigford @bbigford
                  last edited by

                  @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.

                  1 Reply Last reply Reply Quote 0
                  • bbigfordB
                    bbigford
                    last edited by

                    If you cat nextcloud/.htaccess, is there any relating info in there?

                    1 Reply Last reply Reply Quote 0
                    • bbigfordB
                      bbigford
                      last edited by

                      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?

                      1 Reply Last reply Reply Quote 0
                      • stacksofplatesS
                        stacksofplates
                        last edited by

                        What's your SELinux context of that file? I assume no ACLs?

                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller @stacksofplates
                          last edited by

                          @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?

                          stacksofplatesS 1 Reply Last reply Reply Quote 0
                          • stacksofplatesS
                            stacksofplates @scottalanmiller
                            last edited by

                            @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?

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post