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.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.
    • brandon220B
      brandon220 @scottalanmiller
      last edited by

      @scottalanmiller Interesting. I will check back later this evening. What in the state file caught your attention? I'm new to state files so it is very intriguing to me.

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

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

        @scottalanmiller Interesting. I will check back later this evening. What in the state file caught your attention? I'm new to state files so it is very intriguing to me.

        There you go, just update your state file with the original one and state.apply again. I had to add the - enable: True to the web server and two database servers or else they would not be running on reboot.

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

          @scottalanmiller I will make the change. Thanks again.

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

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

            @scottalanmiller I will make the change. Thanks again.

            You bet. Thanks for using the script!

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

              Forgive my ignorance. I need a kickstart on what to do first. I just spun up Fedora 25 on an ESXi 6 host and not sure how to get started with the saltstack stuff.

              scottalanmillerS JaredBuschJ 2 Replies Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @wrx7m
                last edited by

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

                Forgive my ignorance. I need a kickstart on what to do first. I just spun up Fedora 25 on an ESXi 6 host and not sure how to get started with the saltstack stuff.

                Check the SaltStack tag. There is a guide to setting up a Master and a Minion.

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

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

                  Forgive my ignorance. I need a kickstart on what to do first. I just spun up Fedora 25 on an ESXi 6 host and not sure how to get started with the saltstack stuff.

                  If you don't want salt and just want to use Nextcloud on Fedora 25, I am verifying my guide for it.

                  wrx7mW 1 Reply Last reply Reply Quote 1
                  • 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:

                    Forgive my ignorance. I need a kickstart on what to do first. I just spun up Fedora 25 on an ESXi 6 host and not sure how to get started with the saltstack stuff.

                    If you don't want salt and just want to use Nextcloud on Fedora 25, I am verifying my guide for it.

                    Thanks. I will have to check it out when you're done😊

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

                      I don't have a srv/salt directory on my master or minion. Do I create one and do the files go on the master or the minion?

                      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 don't have a srv/salt directory on my master or minion. Do I create one and do the files go on the master or the minion?

                        Yup. Just create it.

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

                          Files go on the master. The master pushed them to the minion in the right location.

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

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

                            Files go on the master. The master pushed them to the minion in the right location.

                            OK. I finally got my salt master setup and the minion keys accepted and could properly do a salt test ping. I created the 3 files (nextcloud.sls, ssl.conf, redis.conf) in the srv/salt directory with the contents copied from the OP. I verified the files were in there and ran the salt 'minionname' state.apply nextcloud command from the srv/salt directory on the master.

                            Now I am getting the following error -

                            minionname:
                            Data failed to compile:

                            No matching sls found for 'nextcloud' in env 'base'
                            ERROR: Minions returned with non-zero exit code

                            I don't know where to begin on this one. I tried a Google search and it seemed a little over my head at this point.

                            Any suggestions?

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

                              The directory is /srv/salt not srv/salt. That would do it. But that might just be a typo here on the community, too.

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

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

                                The directory is /srv/salt not srv/salt. That would do it. But that might just be a typo here on the community, too.

                                Good catch! I had no idea that was two different things. 😐

                                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 said in Install NextCloud 11 on Fedora 25 with SaltStack:

                                  The directory is /srv/salt not srv/salt. That would do it. But that might just be a typo here on the community, too.

                                  Good catch! I had no idea that was two different things. 😐

                                  Think of the leading / as being like C:\on Windows. If you say /srv/salt you are telling the system exactly where the files are to go. / is known as "root" and is the base of the filesystem. If you drop the leading / then you are giving the command to go to a place in the filesystem relative to your current location rather than in absolute terms. In that way, same as Windows.

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

                                    @scottalanmiller Thanks for the basic explanation. I really need to revisit your Linux for noobs series 🙂

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

                                      #winning
                                      0_1493748718958_Capture.PNG

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

                                        @wrx7m Did you create 2 VMs (for master & minion)?

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

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

                                          Now, if I could find the default login info.

                                          FATeknollogeeF scottalanmillerS 4 Replies 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.

                                            Now, if I could find the default login info.

                                            Man, I need to revisit this.
                                            My first 2 tries failed woefully, I could not get the minion to "talk" with the master.
                                            I will try again tonight.

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