Install NextCloud 11 on Fedora 25 with SaltStack
- 
 @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. 
- 
 @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'.
- 
 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. 
- 
 I just copied & pasted your files per instuction. Did I miss a step somewhere? 
- 
 @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. 
- 
 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 !! 
- 
 @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! 
- 
 Install completed with no errors. 
 Open web browser, type https://ipaddress ....is unreachable.
 I must have missed a step, somewhere!!
- 
 @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
- 
 @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
- 
 Looks like the web server is running (ports 80 and 443 show up there). Chances are your firewall is still closed. 
- 
 Maybe I should disable the firewall & see if that helps. 
- 
 @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. 
- 
 systemctl status firewalld; 
 .....
 Oct 06 13:12:44 salt firewalld[891]: WARNING: FedoraServer: INVALID_SERVICE: cocThat doesn't sound good! 
- 
 You can just do a... systemctl stop firewalld
- 
 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.
- 
 Maybe look in the logs, see if it says what the error was. 
- 
 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 
- 
 @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. 
- 
 @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)? 

