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

    [Solved] NextCloud - Updating/Upgrading File Permissions Errors

    IT Discussion
    4
    12
    1.5k
    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.
    • wrx7mW
      wrx7m
      last edited by wrx7m

      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.

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

        Are you seeing 12 available in your GUI? Still not seeing it here.

        wrx7mW 1 Reply Last reply Reply Quote 0
        • wrx7mW
          wrx7m @scottalanmiller
          last edited by

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

          1 Reply Last reply Reply Quote 1
          • JaredBuschJ
            JaredBusch
            last edited by JaredBusch

            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
            
            wrx7mW 1 Reply Last reply Reply Quote 1
            • wrx7mW
              wrx7m @JaredBusch
              last edited by

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

              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • wrx7mW
                wrx7m
                last edited by

                I also tried to chown root. That didn't work either.

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @wrx7m
                  last edited by

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

                  1 Reply Last reply Reply Quote 1
                  • JaredBuschJ
                    JaredBusch @wrx7m
                    last edited by

                    @wrx7m said in NextCloud - Updating/Upgrading File Permissions Errors:

                    I also tried to chown root. That didn't work either.

                    Apache not root.

                    wrx7mW 1 Reply Last reply Reply Quote 0
                    • wrx7mW
                      wrx7m @JaredBusch
                      last edited by

                      @JaredBusch Yeah, I did apache but in troubleshooting, I did root.

                      black3dynamiteB 1 Reply Last reply Reply Quote 0
                      • black3dynamiteB
                        black3dynamite @wrx7m
                        last edited by

                        @wrx7m Temporary set SELinux to permissive.
                        setenforce 0

                        wrx7mW 1 Reply Last reply Reply Quote 1
                        • wrx7mW
                          wrx7m @black3dynamite
                          last edited by

                          @black3dynamite said in NextCloud - Updating/Upgrading File Permissions Errors:

                          @wrx7m Temporary set SELinux to permissive.
                          setenforce 0

                          Thanks. I will try it out tomorrow.

                          1 Reply Last reply Reply Quote 0
                          • wrx7mW
                            wrx7m
                            last edited by

                            @black3dynamite said in NextCloud - Updating/Upgrading File Permissions Errors:

                            setenforce 0

                            setenforce 0 worked. Thanks, @black3dynamite !

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