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

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

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

      I needed to add "salt.domain.com" to /etc/hostname

      Firewalld is still blocking access, did I somehow miss that setting?

      When I "systemctl stop firewalld" I am able to connect

      Those settings are in the salt confi files.

      OK, port 443 is already open (per config file)?

      You copied the files instead of using Salt, though, right?

      Yes I copied the 3 files.
      Was that not the right way?

      This is the part that would have opened the firewall. Are you getting any errors when running the Salt state apply?

      FedoraServer:
        firewalld.present:
          - name: FedoraServer
          - block_icmp:
            - echo-reply
            - echo-request
          - default: False
          - masquerade: True
          - ports:
            - 443/tcp
      
      FATeknollogeeF 1 Reply Last reply Reply Quote 0
      • FATeknollogeeF
        FATeknollogee @scottalanmiller
        last edited by FATeknollogee

        @scottalanmiller No errors, the install completes fine.

        I'm doing this install on NC v12.0.3 (not 11.0.2)

        scottalanmillerS FATeknollogeeF 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 No errors, the install completes fine.

          I'm doing this install on v12.0.3

          And if you check iptables -L it doesn't show Port 443 as being open?

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

            @scottalanmiller Let me check, brb

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

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

              @scottalanmiller No errors, the install completes fine.

              I'm doing this install on NC v12.0.3 (not 11.0.2)

              o/s if Fedora 26

              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:

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

                @scottalanmiller No errors, the install completes fine.

                I'm doing this install on NC v12.0.3 (not 11.0.2)

                o/s if Fedora 26

                That should be fine.

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

                  @scottalanmiller
                  0_1507416268476_Selection_005.png

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

                    Yeah, port 443 is definitely missing.

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

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

                      Yeah, port 443 is definitely missing.

                      Question is why?
                      The conf file "says" to open up 443?

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

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

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

                        Yeah, port 443 is definitely missing.

                        Question is why?
                        The conf file "says" to open up 443?

                        Don't know. But you can always open it manually.

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

                          @reid-cooper I know it can be done manually, but, it would be nice to find out if I messed something up!

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

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

                            @scottalanmiller
                            0_1507416268476_Selection_005.png

                            Changing the name: from "FedoraServer" to "public"...like so:
                            0_1507424585849_Selection_007.png

                            results in this:

                            0_1507424618944_Selection_006.png

                            Now, I can log in.

                            What am I doing wrong?

                            stacksofplatesS Reid CooperR 2 Replies Last reply Reply Quote 0
                            • stacksofplatesS
                              stacksofplates @FATeknollogee
                              last edited by

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

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

                              @scottalanmiller
                              0_1507416268476_Selection_005.png

                              Changing the name: from "FedoraServer" to "public"...like so:
                              0_1507424585849_Selection_007.png

                              results in this:

                              0_1507424618944_Selection_006.png

                              Now, I can log in.

                              What am I doing wrong?

                              The default zone for firewalld is public. If you change open a service or port in a different zone you have to tell firewalld to use that zone instead.

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

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

                                The default zone for firewalld is public. If you change open a service or port in a different zone you have to tell firewalld to use that zone instead.

                                How do I do that?
                                Remember, this was a "copy/paste" operation of @scottalanmiller files.
                                "FedoraServer" is the zone used in the original files.

                                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:

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

                                  @scottalanmiller
                                  0_1507416268476_Selection_005.png

                                  Changing the name: from "FedoraServer" to "public"...like so:
                                  0_1507424585849_Selection_007.png

                                  results in this:

                                  0_1507424618944_Selection_006.png

                                  Now, I can log in.

                                  What am I doing wrong?

                                  The default zone for firewalld is public. If you change open a service or port in a different zone you have to tell firewalld to use that zone instead.

                                  That is for CentOS. Default on Fedora is not public.

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

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

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

                                    @scottalanmiller
                                    0_1507416268476_Selection_005.png

                                    Changing the name: from "FedoraServer" to "public"...like so:
                                    0_1507424585849_Selection_007.png

                                    results in this:

                                    0_1507424618944_Selection_006.png

                                    Now, I can log in.

                                    What am I doing wrong?

                                    This is on Fedora, you said?

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

                                      @reid-cooper Yes, this is on Fedora

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

                                        Why is firewalld not using the "FedoraServer" zone as specified in the salt config ?

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

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

                                          @scottalanmiller
                                          0_1507416268476_Selection_005.png

                                          Changing the name: from "FedoraServer" to "public"...like so:
                                          0_1507424585849_Selection_007.png

                                          results in this:

                                          0_1507424618944_Selection_006.png

                                          Now, I can log in.

                                          What am I doing wrong?

                                          The default zone for firewalld is public. If you change open a service or port in a different zone you have to tell firewalld to use that zone instead.

                                          That is for CentOS. Default on Fedora is not public.

                                          On the server default is public. On the workstation it's FedoraWorkstation.

                                          These are default and haven't been modified:

                                          0_1507494079075_firewall.png

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

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

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

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

                                            @scottalanmiller
                                            0_1507416268476_Selection_005.png

                                            Changing the name: from "FedoraServer" to "public"...like so:
                                            0_1507424585849_Selection_007.png

                                            results in this:

                                            0_1507424618944_Selection_006.png

                                            Now, I can log in.

                                            What am I doing wrong?

                                            The default zone for firewalld is public. If you change open a service or port in a different zone you have to tell firewalld to use that zone instead.

                                            That is for CentOS. Default on Fedora is not public.

                                            On the server default is public. On the workstation it's FedoraWorkstation.

                                            These are default and haven't been modified:

                                            0_1507494079075_firewall.png

                                            I'm building one from the ISO to check. 99% of my stuff is built with virt-builder so it is possible they changed the default zone in the image. The normal cloud image doesn't have firewalld installed so I can't check on my OpenStack images.

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