Install NextCloud 11 on Fedora 25 with SaltStack
- 
 @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)? 
- 
 @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? 
- 
 Or are you configuring fully via Salt? 
- 
 @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?
- 
 @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
- 
 @scottalanmiller No errors, the install completes fine. I'm doing this install on NC v12.0.3 (not 11.0.2) 
- 
 @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 -Lit doesn't show Port 443 as being open?

