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

    Install NextCloud 11 on Fedora 25 with SaltStack

    IT Discussion
    nextcloud nextcloud 11 fedora linux fedora 25 redis mariadb salt saltstack devops scott alan miller sam salt administration
    14
    201
    41.1k
    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 @scottalanmiller
      last edited by

      @scottalanmiller Thanks. I did exactly that and it works 🙂

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

        @scottalanmiller For some reason it isn't holding the SSH part of the ACL. I modified firewalld to add the --permanent and it seems to be holding now. Strange that the https isn't an issue.

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

          @wrx7m said in Install NextCloud 11 on Fedora 25 with SaltStack:

          @scottalanmiller For some reason it isn't holding the SSH part of the ACL. I modified firewalld to add the --permanent and it seems to be holding now. Strange that the https isn't an issue.

          Hmmm... you are sure that the state file on the Salt Master has the right details in the file?

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

            @scottalanmiller I copied and pasted it from the post. But then added the 22/tcp manually and saved the file and when I applied the salt file a second time the ssh worked immediately afterward.

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

              @wrx7m said in Install NextCloud 11 on Fedora 25 with SaltStack:

              @scottalanmiller I copied and pasted it from the post. But then added the 22/tcp manually and saved the file and when I applied the salt file a second time the ssh worked immediately afterward.

              Right, was just wondering if the copy/paste changed somewhere. On mine, for example, I have an automated GIT pull so if I change it in the wrong place, it will get changed back a few minutes later 🙂

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

                I think I am going to blow away the nextcloud VM and start from scratch. ~~I also have some weird issues when attempting to update to version 11.0.3 via the web interface -

                I get the following -
                Check for expected files
                The following extra files have been found:

                install_complete

                I think I can delete it if I knew where to find it. I tried a basic find command on the backend and didn't come up with it.~~

                EDIT - Found the file after reviewing the sls file contents and was able to remove it and update.

                Also, when trying to configure LDAP/AD integration I get errors saying that it can't detect anything and tells me to enter it all in manually. Then when I hit continue, it says Lost connection to LDAP server. I even tried disabling firewalld on the nextcloud server just in case there was something funky going on. I have successfully setup integration for OpenVPN AS and other services, so I don't know why this one is giving me so much grief.

                brandon220B scottalanmillerS 2 Replies Last reply Reply Quote 0
                • brandon220B
                  brandon220 @wrx7m
                  last edited by

                  @wrx7m I got the same error when I tried to do the update from the web interface. I did not try deleting the install_complete folder for fear of breaking the install. I also am not able to create new subfolders inside a main folder.

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

                    @brandon220 said in Install NextCloud 11 on Fedora 25 with SaltStack:

                    @wrx7m I got the same error when I tried to do the update from the web interface. I did not try deleting the install_complete folder for fear of breaking the install. I also am not able to create new subfolders inside a main folder.

                    I realized that it was mentioned the salt state file and was able to remove it from /var/www/html/nextcloud and perform the update. When it got to the end it said to exit maintenance mode if you were not using the command line. I selected that and now when I go to the site, it tells me -
                    0_1493840642647_Capture.PNG

                    brandon220B 1 Reply Last reply Reply Quote 0
                    • brandon220B
                      brandon220 @wrx7m
                      last edited by

                      @wrx7m I saw it in the state file as well but was not sure about deleting it.

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

                        I rebooted my nextcloud server for fun and i am still showing that update needed message. 😐

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

                          @wrx7m said in Install NextCloud 11 on Fedora 25 with SaltStack:

                          I think I am going to blow away the nextcloud VM and start from scratch. ~~I also have some weird issues when attempting to update to version 11.0.3 via the web interface -

                          I get the following -
                          Check for expected files
                          The following extra files have been found:

                          install_complete

                          I think I can delete it if I knew where to find it. I tried a basic find command on the backend and didn't come up with it.~~

                          EDIT - Found the file after reviewing the sls file contents and was able to remove it and update.

                          Also, when trying to configure LDAP/AD integration I get errors saying that it can't detect anything and tells me to enter it all in manually. Then when I hit continue, it says Lost connection to LDAP server. I even tried disabling firewalld on the nextcloud server just in case there was something funky going on. I have successfully setup integration for OpenVPN AS and other services, so I don't know why this one is giving me so much grief.

                          Oh yes. I need to fix that. I'll fix it tomorrow.

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

                            @wrx7m said in Install NextCloud 11 on Fedora 25 with SaltStack:

                            I rebooted my nextcloud server for fun and i am still showing that update needed message. 😐

                            Yes. You can't remove that. I'll fix it.

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

                              @scottalanmiller Thanks. I did remove the empty install_completed file and the update went through the process until it asked if I wanted to leave maintenance mode and it indicated I should because I was using the web interface. That is when i got the update needed message i screenshot above.

                              1 Reply Last reply Reply Quote 0
                              • FATeknollogeeF
                                FATeknollogee @wrx7m
                                last edited by

                                @wrx7m said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                @FATeknollogee Yes. I created a dedicated CentOS 7 VM for the master and created a VM with Fedora 25 for the nextcloud minion.

                                Any specific reason for using 1x CentOS and 1x Fedora 25 vm?

                                wrx7mW scottalanmillerS 2 Replies Last reply Reply Quote 0
                                • wrx7mW
                                  wrx7m @FATeknollogee
                                  last edited by

                                  @FATeknollogee I am more comfortable with CentOS and am using the minimal install version. It is lightweight and a small footprint "out of the box". The iso is under 700MB and the Fedora 25 iso is 1.9GB. I would have gone with CentOS 7 for nextcloud but it doesn't have PHP 7.x

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

                                    @wrx7m said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                    @FATeknollogee I am more comfortable with CentOS and am using the minimal install version. It is lightweight and a small footprint "out of the box". The iso is under 700MB and the Fedora 25 iso is 1.9GB. I would have gone with CentOS 7 for nextcloud but it doesn't have PHP 7.x

                                    You downloaded the wrong Fedora ISO.

                                    You can get PHP 7 on CentOS 7 easily if you choose to trust Remi.

                                    @scottalanmiller disagrees with that method because it breaks the support chain. Which is the only reason to use CentOS 7 in his opinion.

                                    wrx7mW 1 Reply Last reply Reply Quote 1
                                    • scottalanmillerS
                                      scottalanmiller @FATeknollogee
                                      last edited by

                                      @FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                      @wrx7m said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                      @FATeknollogee Yes. I created a dedicated CentOS 7 VM for the master and created a VM with Fedora 25 for the nextcloud minion.

                                      Any specific reason for using 1x CentOS and 1x Fedora 25 vm?

                                      One is for Salt and the other is for NextCloud. Fedora is fully updated for NextCloud. CentOS is great for stable Salt Master.

                                      FATeknollogeeF 1 Reply Last reply Reply Quote 0
                                      • FATeknollogeeF
                                        FATeknollogee @scottalanmiller
                                        last edited by

                                        @scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                        @FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                        @wrx7m said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                        @FATeknollogee Yes. I created a dedicated CentOS 7 VM for the master and created a VM with Fedora 25 for the nextcloud minion.

                                        Any specific reason for using 1x CentOS and 1x Fedora 25 vm?

                                        One is for Salt and the other is for NextCloud. Fedora is fully updated for NextCloud. CentOS is great for stable Salt Master.

                                        Do you gain or lose anything if both vm's were Fedora 25?

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

                                          @FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                          @scottalanmiller said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                          @FATeknollogee said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                          @wrx7m said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                          @FATeknollogee Yes. I created a dedicated CentOS 7 VM for the master and created a VM with Fedora 25 for the nextcloud minion.

                                          Any specific reason for using 1x CentOS and 1x Fedora 25 vm?

                                          One is for Salt and the other is for NextCloud. Fedora is fully updated for NextCloud. CentOS is great for stable Salt Master.

                                          Do you gain or lose anything if both vm's were Fedora 25?

                                          Perfectly fine. No need for CentOS for Salt Master.

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

                                            @JaredBusch said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                            @wrx7m said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                            @FATeknollogee I am more comfortable with CentOS and am using the minimal install version. It is lightweight and a small footprint "out of the box". The iso is under 700MB and the Fedora 25 iso is 1.9GB. I would have gone with CentOS 7 for nextcloud but it doesn't have PHP 7.x

                                            You downloaded the wrong Fedora ISO.

                                            You can get PHP 7 on CentOS 7 easily if you choose to trust Remi.

                                            @scottalanmiller disagrees with that method because it breaks the support chain. Which is the only reason to use CentOS 7 in his opinion.

                                            Which Fedora 25 Server ISO should I have downloaded?

                                            JaredBuschJ 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 10
                                            • 11
                                            • 3 / 11
                                            • First post
                                              Last post