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.3k
    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.
    • stacksofplatesS
      stacksofplates
      last edited by stacksofplates

      So looks like ISO has it as FedoraServer, some other images (like virt-builder) are public. It would be best to get the default zone and use that when you set the services. I have no idea how to do that with Salt. Here's how you would with Ansible in case anyone cares:

        tasks:
          - name: get default zone
            shell: "firewall-cmd --get-default-zone"
            register: zone
          
          - name: set firewall services
            firewalld:
              service: https
              permanent: true
              state: enabled
              zone: "{{ zone.stdout }}"
      
      1 Reply Last reply Reply Quote 0
      • FATeknollogeeF
        FATeknollogee
        last edited by

        The default zone on my Fedora server install is "public"

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

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

          The default zone on my Fedora server install is "public"

          Where did you install from?

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

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

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

            The default zone on my Fedora server install is "public"

            Where did you install from?

            Netinstall ISO off the Fedora website: https://download.fedoraproject.org/pub/fedora/linux/releases/26/Server/x86_64/iso/Fedora-Server-netinst-x86_64-26-1.5.iso

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

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

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

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

              The default zone on my Fedora server install is "public"

              Where did you install from?

              Netinstall ISO off the Fedora website: https://download.fedoraproject.org/pub/fedora/linux/releases/26/Server/x86_64/iso/Fedora-Server-netinst-x86_64-26-1.5.iso

              Ah ok. So the net install uses public. The ISO with defaults sets it to FedoraServer.

              FATeknollogeeF Reid CooperR 2 Replies Last reply Reply Quote 1
              • FATeknollogeeF
                FATeknollogee @stacksofplates
                last edited by

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

                ..The ISO with defaults sets it to FedoraServer.

                Which ISO is that, this one? https://download.fedoraproject.org/pub/fedora/linux/releases/26/Server/x86_64/iso/Fedora-Server-dvd-x86_64-26-1.5.iso

                1 Reply Last reply Reply Quote 0
                • Reid CooperR
                  Reid Cooper @stacksofplates
                  last edited by

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

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

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

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

                  The default zone on my Fedora server install is "public"

                  Where did you install from?

                  Netinstall ISO off the Fedora website: https://download.fedoraproject.org/pub/fedora/linux/releases/26/Server/x86_64/iso/Fedora-Server-netinst-x86_64-26-1.5.iso

                  Ah ok. So the net install uses public. The ISO with defaults sets it to FedoraServer.

                  That's an odd difference for them to have introduced.

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

                    @reid-cooper said in Install NextCloud 11 on Fedora 25 with SaltStack:

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

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

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

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

                    The default zone on my Fedora server install is "public"

                    Where did you install from?

                    Netinstall ISO off the Fedora website: https://download.fedoraproject.org/pub/fedora/linux/releases/26/Server/x86_64/iso/Fedora-Server-netinst-x86_64-26-1.5.iso

                    Ah ok. So the net install uses public. The ISO with defaults sets it to FedoraServer.

                    That's an odd difference for them to have introduced.

                    CentOS has had similar issues in the past. this is not really a surprise to me.

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

                      Any ideas??

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

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

                        Any ideas??

                        What do you mean? Either change the Salt file to match public or change your default zone on the server.

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

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

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

                          Any ideas??

                          What do you mean? Either change the Salt file to match public or change your default zone on the server.

                          I know I can do that, I'm trying to figure out why the salt file isn't working for me (just the firewall portion) since it worked for everyone else

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

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

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

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

                            Any ideas??

                            What do you mean? Either change the Salt file to match public or change your default zone on the server.

                            I know I can do that, I'm trying to figure out why the salt file isn't working for me (just the firewall portion) since it worked for everyone else

                            I thought we figured out that it was the incorrect zone? If you change the zone in the salt file to public does it work?

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

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

                              I thought we figured out that it was the incorrect zone? If you change the zone in the salt file to public does it work?

                              Yes that does work.
                              I'm just trying to understand @scottalanmiller intent in creating the "FedoraServer" zone?

                              @stacksofplates What ISO did you say used "FedoraServer" as it's default zone?
                              I should grab a copy of that & try the install!

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

                                Finally figured out what the "problem" is/was?

                                It all works as stated in post #1 so long as you use the DVD ISO: https://download.fedoraproject.org/pub/fedora/linux/releases/26/Server/x86_64/iso/Fedora-Server-dvd-x86_64-26-1.5.iso
                                The default firewall zone with this ISO is "FedoraServer" (which is used in the salt config)

                                With the Net install ISO: https://download.fedoraproject.org/pub/fedora/linux/releases/26/Server/x86_64/iso/Fedora-Server-netinst-x86_64-26-1.5.iso
                                the default firewall zone is "public"

                                1 Reply Last reply Reply Quote 1
                                • F
                                  flaxking @scottalanmiller
                                  last edited by

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

                                  Why Fedora 25?

                                  Fedora 25 gives us PHP 7.1 for the latest in features and performance with NextCloud 11. We also get the latest MariaDB and Redis platforms. This helps to speed the overall platform and makes for a snappy experience that gets maximum benefits from a singularly tested and integrated base. The only package that we download and add onto the tested Fedora system here is NextCloud itself. Everything else is fully integrated by the Fedora team.

                                  And Salt 2017.7.2 breaks pkgrepo.managed which would make it harder to add repos with newer versions 😞

                                  Unfortunately I'm still doing everything on Ubuntu, which means I have to chase around trying to fulfill dependencies on newer versions that aren't in the default repos

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

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

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

                                    Why Fedora 25?

                                    Fedora 25 gives us PHP 7.1 for the latest in features and performance with NextCloud 11. We also get the latest MariaDB and Redis platforms. This helps to speed the overall platform and makes for a snappy experience that gets maximum benefits from a singularly tested and integrated base. The only package that we download and add onto the tested Fedora system here is NextCloud itself. Everything else is fully integrated by the Fedora team.

                                    And Salt 2017.7.2 breaks pkgrepo.managed which would make it harder to add repos with newer versions 😞

                                    Unfortunately I'm still doing everything on Ubuntu, which means I have to chase around trying to fulfill dependencies on newer versions that aren't in the default repos

                                    Why stay on Ubuntu?

                                    F 1 Reply Last reply Reply Quote 1
                                    • F
                                      flaxking @scottalanmiller
                                      last edited by

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

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

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

                                      Why Fedora 25?

                                      Fedora 25 gives us PHP 7.1 for the latest in features and performance with NextCloud 11. We also get the latest MariaDB and Redis platforms. This helps to speed the overall platform and makes for a snappy experience that gets maximum benefits from a singularly tested and integrated base. The only package that we download and add onto the tested Fedora system here is NextCloud itself. Everything else is fully integrated by the Fedora team.

                                      And Salt 2017.7.2 breaks pkgrepo.managed which would make it harder to add repos with newer versions 😞

                                      Unfortunately I'm still doing everything on Ubuntu, which means I have to chase around trying to fulfill dependencies on newer versions that aren't in the default repos

                                      Why stay on Ubuntu?

                                      Because I'm addicted to LXD. While I've heard you can install it on other OSes, I'm pretty sure I would run into some hiccups with things like the Salt LXD formula. So there would be some extra work ahead of me. Alternatively, I could try straight-up LXC or Docker, but that creates some learning prerequisites. Not that I don't like learning, it's just I have other things on the top of my learning priority list.

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

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

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

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

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

                                        Why Fedora 25?

                                        Fedora 25 gives us PHP 7.1 for the latest in features and performance with NextCloud 11. We also get the latest MariaDB and Redis platforms. This helps to speed the overall platform and makes for a snappy experience that gets maximum benefits from a singularly tested and integrated base. The only package that we download and add onto the tested Fedora system here is NextCloud itself. Everything else is fully integrated by the Fedora team.

                                        And Salt 2017.7.2 breaks pkgrepo.managed which would make it harder to add repos with newer versions 😞

                                        Unfortunately I'm still doing everything on Ubuntu, which means I have to chase around trying to fulfill dependencies on newer versions that aren't in the default repos

                                        Why stay on Ubuntu?

                                        Because I'm addicted to LXD. While I've heard you can install it on other OSes, I'm pretty sure I would run into some hiccups with things like the Salt LXD formula. So there would be some extra work ahead of me. Alternatively, I could try straight-up LXC or Docker, but that creates some learning prerequisites. Not that I don't like learning, it's just I have other things on the top of my learning priority list.

                                        That doesn't explain it, though. You just install Fedora in your container.

                                        F 1 Reply Last reply Reply Quote 2
                                        • F
                                          flaxking @scottalanmiller
                                          last edited by

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

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

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

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

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

                                          Why Fedora 25?

                                          Fedora 25 gives us PHP 7.1 for the latest in features and performance with NextCloud 11. We also get the latest MariaDB and Redis platforms. This helps to speed the overall platform and makes for a snappy experience that gets maximum benefits from a singularly tested and integrated base. The only package that we download and add onto the tested Fedora system here is NextCloud itself. Everything else is fully integrated by the Fedora team.

                                          And Salt 2017.7.2 breaks pkgrepo.managed which would make it harder to add repos with newer versions 😞

                                          Unfortunately I'm still doing everything on Ubuntu, which means I have to chase around trying to fulfill dependencies on newer versions that aren't in the default repos

                                          Why stay on Ubuntu?

                                          Because I'm addicted to LXD. While I've heard you can install it on other OSes, I'm pretty sure I would run into some hiccups with things like the Salt LXD formula. So there would be some extra work ahead of me. Alternatively, I could try straight-up LXC or Docker, but that creates some learning prerequisites. Not that I don't like learning, it's just I have other things on the top of my learning priority list.

                                          That doesn't explain it, though. You just install Fedora in your container.

                                          That's a good point, there's no reason why most of my containers couldn't be running Fedora. Mostly I was thinking about switching from Ubuntu to Fedora on my personal laptop first (since there's will be no reason for me to run Ubuntu Desktop without HUD), but it should be pretty simple to switch to fedora containers for my projects and production servers. Thanks for clearing my mind-block!

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

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

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

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

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

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

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

                                            Why Fedora 25?

                                            Fedora 25 gives us PHP 7.1 for the latest in features and performance with NextCloud 11. We also get the latest MariaDB and Redis platforms. This helps to speed the overall platform and makes for a snappy experience that gets maximum benefits from a singularly tested and integrated base. The only package that we download and add onto the tested Fedora system here is NextCloud itself. Everything else is fully integrated by the Fedora team.

                                            And Salt 2017.7.2 breaks pkgrepo.managed which would make it harder to add repos with newer versions 😞

                                            Unfortunately I'm still doing everything on Ubuntu, which means I have to chase around trying to fulfill dependencies on newer versions that aren't in the default repos

                                            Why stay on Ubuntu?

                                            Because I'm addicted to LXD. While I've heard you can install it on other OSes, I'm pretty sure I would run into some hiccups with things like the Salt LXD formula. So there would be some extra work ahead of me. Alternatively, I could try straight-up LXC or Docker, but that creates some learning prerequisites. Not that I don't like learning, it's just I have other things on the top of my learning priority list.

                                            That doesn't explain it, though. You just install Fedora in your container.

                                            That's a good point, there's no reason why most of my containers couldn't be running Fedora. Mostly I was thinking about switching from Ubuntu to Fedora on my personal laptop first (since there's will be no reason for me to run Ubuntu Desktop without HUD), but it should be pretty simple to switch to fedora containers for my projects and production servers. Thanks for clearing my mind-block!

                                            🙂 No problem. I do the same thing with Ubuntu as the container host, but we use Fedora for actual workloads.

                                            1 Reply Last reply Reply Quote 3
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 9 / 11
                                            • First post
                                              Last post