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.2k
    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
      last edited by

      Install completed with no errors.
      Open web browser, type https://ipaddress ....is unreachable.
      I must have missed a step, somewhere!!

      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:

        Install completed with no errors.
        Open web browser, type https://ipaddress ....is unreachable.
        I must have missed a step, somewhere!!

        Check to see if the web server is running.

        Or look at what ports are listening...

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

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

          netstat -tulpn

          tcp 0 0 127.0.0.1:37733 0.0.0.0:* LISTEN 2189/cockpit-bridge
          tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 932/sshd
          tcp 0 0 127.0.0.1:45335 0.0.0.0:* LISTEN 2173/cockpit-bridge
          tcp 0 0 0.0.0.0:4505 0.0.0.0:* LISTEN 2967/python
          tcp 0 0 0.0.0.0:4506 0.0.0.0:* LISTEN 2973/python
          tcp6 0 0 :::3306 :::* LISTEN 7316/mysqld
          tcp6 0 0 :::80 :::* LISTEN 7605/httpd
          tcp6 0 0 :::22 :::* LISTEN 932/sshd
          tcp6 0 0 :::443 :::* LISTEN 7605/httpd
          udp 0 0 127.0.0.1:323 0.0.0.0:*
          896/chronyd
          udp 0 0 0.0.0.0:68 0.0.0.0:*
          1076/dhclient
          udp6 0 0 ::1:323 :::*
          896/chronyd

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

            Looks like the web server is running (ports 80 and 443 show up there). Chances are your firewall is still closed.

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

              Maybe I should disable the firewall & see if that helps.

              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:

                Maybe I should disable the firewall & see if that helps.

                That's an easy way to start, yes.

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

                  systemctl status firewalld;
                  .....
                  Oct 06 13:12:44 salt firewalld[891]: WARNING: FedoraServer: INVALID_SERVICE: coc

                  That doesn't sound good!

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

                    You can just do a...

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

                      firewalld is "stopped"

                      Internal Server Error

                      The server encountered an internal error and was unable to complete your request.
                      Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
                      More details can be found in the server log.

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

                        Maybe look in the logs, see if it says what the error was.

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

                          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

                          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:

                            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.

                            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:

                              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)?

                              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:

                                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?

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

                                  Or are you configuring fully via Salt?

                                  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:

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

                                    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:

                                      @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
                                            • 1
                                            • 2
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 8 / 11
                                            • First post
                                              Last post