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.
    • 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:

      In /srv/salt/ I need to create nextcloud.sls, ssl.conf & redis.conf
      Copy & paste the contents
      state.apply = magic?

      Yes, create those files and yes, salt is magic.

      That's so easy even a caveman :clown: like me could do it.
      I was over-thinking & kept "googling" for a NextCloud.sls download 🤦

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

        In /srv/salt/ I need to create nextcloud.sls, ssl.conf & redis.conf
        Copy & paste the contents
        state.apply = magic?

        Yes, create those files and yes, salt is magic.

        That's so easy even a caveman :clown: like me could do it.
        I was over-thinking & kept "googling" for a NextCloud.sls download 🤦

        My plan is to eventually polish these further and move them to GitHub and let people pull my whole library and just choose what they want that way. For now, some copy and pastes.

        Because Salt defines the state of the system, sharing configurations becomes really easy.

        dafyreD 1 Reply Last reply Reply Quote 1
        • dafyreD
          dafyre @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:

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

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

          In /srv/salt/ I need to create nextcloud.sls, ssl.conf & redis.conf
          Copy & paste the contents
          state.apply = magic?

          Yes, create those files and yes, salt is magic.

          That's so easy even a caveman :clown: like me could do it.
          I was over-thinking & kept "googling" for a NextCloud.sls download 🤦

          My plan is to eventually polish these further and move them to GitHub and let people pull my whole library and just choose what they want that way. For now, some copy and pastes.

          Because Salt defines the state of the system, sharing configurations becomes really easy.

          It's your NextCloud 11 file that got me started on my own, lol.

          1 Reply Last reply Reply Quote 1
          • FATeknollogeeF
            FATeknollogee
            last edited by

            If you are installing multiple 3rd party apps like NextCloud, ownCloud (i know, bad example) etc...

            Do you continue to use the same master? (I know you would have multiple minions)

            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:

              If you are installing multiple 3rd party apps like NextCloud, ownCloud (i know, bad example) etc...

              Do you continue to use the same master? (I know you would have multiple minions)

              Yes, a single master can handle tens of thousands of servers.

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

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

                Yes, a single master can handle tens of thousands of servers.

                Does one need to worry about increasing the resources of this "master" vm - more RAM, more disk space etc

                What kind of resources are you starting with - RAM, vCPU, disk etc?

                scottalanmillerS StrongBadS 2 Replies 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:

                  Yes, a single master can handle tens of thousands of servers.

                  Does one need to worry about increasing the resources of this "master" vm - more RAM, more disk space etc

                  What kind of resources are you starting with - RAM, vCPU, disk etc?

                  Eventually, but Masters use almost no resources. 512MB and one vCPU is really enough for all you will ever need to handle.

                  1 Reply Last reply Reply Quote 0
                  • StrongBadS
                    StrongBad @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:

                    Yes, a single master can handle tens of thousands of servers.

                    Does one need to worry about increasing the resources of this "master" vm - more RAM, more disk space etc

                    What kind of resources are you starting with - RAM, vCPU, disk etc?

                    Very light system. You won't need much. And since it is only configuration even if it slows down, you won't care.

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

                      Any good reasons to not accept the default values?
                      0_1491348824907_fedora25.PNG

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

                        Depends, what are you building? For a NextCloud instance, 25GB is not much storage.

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

                          Welcoming @brandon220 to the club as he got his NC11 install based on this state file up and running yesterday.

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

                            @scottalanmiller Thank you sir. I do have another question - I set up another user and the email for alerts etc. I shutdown the VM from the terminal. Went to my Hyper-V manager and did an export. I started the server again and all is well. Went to the browser to start working in NC again but got page cannot be displayed error. I issued a start command for the httpd service and then got a blank page but no error. Re-ran the salt 'servername' state.apply nextcloud command again and got the return message Succeeded 19 Changed 3. The NC instance is then working again and my info is still there. I am trying to figure out where the issue is. Not sure if this has happened to any of the other installs that you have done or witnessed.

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

                              I see the issue @brandon220 it's really simple and on my side. You are in no danger, it's just that the things you need turn themselves off on restart. I have to run out the door but I will get this fixed when I get back and you can just run the state.apply again and it will be fixed.

                              brandon220B 1 Reply Last reply Reply Quote 0
                              • 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
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 10
                                            • 11
                                            • 4 / 11
                                            • First post
                                              Last post