itiligent / Guacamole-Installer

Automated install of Gucamole with options for HTTPS reverse proxy, Active Directory integration, MFA, LetsEncrypt, dark theme, MySQL backup, email alerts & more.
GNU Affero General Public License v3.0
235 stars 44 forks source link

Compuer no longer able to access the internet - Running Setup.sh #25

Closed JustMentalMatt closed 10 months ago

JustMentalMatt commented 10 months ago

OS: Ubuntu 20.04.3 LTS

Upon running setup.sh and going through the process of installing, i restarted my pc - i then tried to remote back into my pc and that didnt work. after trying multiple methods of remote access i was forced to connect a screen up to it. My ETHERNET symbol in the top right corner has a question mark going through it, meaning it has failed connectivity tests. I cannot google anything as all i get is a server error, and i cannot request info from websites previously published by this same server computer. All of my servers and sites are down at the minute which is a bit unfortunate :(

I have tried resetting resolv.conf, reassigning my PC a new port on my router. As far as i can tell, it is the computer at fault, as the router is recognising it being connected and has an IP assigned to it.

I just want to know what the setup.sh script changes in regards to my network management as i am clueless right now.

I tried running: sudo tail -f /var/log/syslog /var/log/tomcat*/*.out guac-setup/guacamole_setup.log

https://imgur.com/a/luS2d9D

  • this is followed by several logs of different applications trying to access databases, or form connections, all of which are errors. *im aware the logs might contain sensitive info, for troubleshooting purposes i can change these later.
itiligent commented 10 months ago

I took a closer look at your log... If you are running tailscale you may have some issues with 443 and the firewall. google is your friend! Nginx & Tailscale are clashing for access to port 443. If you ensure that port UDP/41641 is not blocked, and that outgoing UDP and TCP/443 is permitted, Tailscale will be able to reliably serve direct connections. Opening incoming UDP/41641 (by default) on a device's public IP address will guarantee a direct connection from any peer where it is possible I also see that it looks like you had a failed install. The Dkpg errors in the log occur an install or update task was run and stopped midway. did you stop and state the script before it finished at any point? (also Ubuntu annoyingly runs unattedded apt updates in the background which also creates havoc and these sorts of errors. Rebooting solves this but its a pain.)