ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Install NextCloud 11 on Fedora 25 with SaltStack

    Scheduled Pinned Locked Moved IT Discussion
    nextcloudnextcloud 11fedoralinuxfedora 25redismariadbsaltsaltstackdevopsscott alan millersam salt administration
    201 Posts 14 Posters 48.4k Views
    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
      last edited by

      Do this...

      systemctl restart redis
      systemctl status redis
      
      FATeknollogeeF 2 Replies Last reply Reply Quote 0
      • black3dynamiteB
        black3dynamite
        last edited by

        I notice you’re using swapfile. Is this script based on the Fedora instance that vultr provides?

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

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

          Do this...

          systemctl restart redis
          systemctl status redis
          

          Thanks. I'm redoing the whole install, will report back in a few...

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

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

            I notice you’re using swapfile. Is this script based on the Fedora instance that vultr provides?

            That's where I use it, that's correct. I use the SATA based storage instances.

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

              @scottalanmiller
              ● redis.service - Redis persistent key-value database
              Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled)
              Drop-In: /etc/systemd/system/redis.service.d
              └─limit.conf
              Active: failed (Result: exit-code) since Fri 2017-10-06 09:14:55 PDT; 1s ago
              Process: 2063 ExecStart=/usr/bin/redis-server /etc/redis.conf --daemonize no (code=exited, status=1/FAILURE)
              Main PID: 2063 (code=exited, status=1/FAILURE)

              Oct 06 09:14:55 salt systemd[1]: Started Redis persistent key-value database.
              Oct 06 09:14:55 salt redis-server[2063]: *** FATAL CONFIG FILE ERROR ***
              Oct 06 09:14:55 salt redis-server[2063]: Reading the configuration file, at line 5
              Oct 06 09:14:55 salt redis-server[2063]: >>> 'Listen 443 https'
              Oct 06 09:14:55 salt redis-server[2063]: Bad directive or wrong number of arguments
              Oct 06 09:14:55 salt systemd[1]: redis.service: Main process exited, code=exited, status=1/FAILURE
              Oct 06 09:14:55 salt systemd[1]: redis.service: Unit entered failed state.
              Oct 06 09:14:55 salt systemd[1]: redis.service: Failed with result 'exit-code'.

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

                Okay, what do we have at line 5? I'm guessing you have it set to listen on HTTPS which will not work as the web server needs that.

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

                  I just copied & pasted your files per instuction.

                  Did I miss a step somewhere?

                  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 just copied & pasted your files per instuction.

                    Did I miss a step somewhere?

                    Under normal conditions, Redis does not run on port 443. Check the config file.

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

                      Boys & gals....don't be a dumb ass like me & install stuff late at night when you are half awake!!! #dumbass

                      Yes @scottalanmiller I copied/pasted the contents of ssl.conf & saved it as redis.conf !!

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

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

                        Boys & gals....don't be a dumb ass like me & install stuff late at night when you are half awake!!! #dumbass

                        Yes @scottalanmiller I copied/pasted the contents of ssl.conf & saved it as redis.conf !!

                        LOL, well that will do it!

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