June 26, 20233 yr Hi all... really need your help Made the leap to 6.12.0 and WebGUI is not working. Shares are reachable and working. Can login using SSH. Doing "/etc/rc.d/rc.nginx start" and status I get: Nginx is not running Doing "cat /var/log/nginx/error.log" I get: 2023/06/26 16:15:38 [emerg] 3684#3684: a duplicate listen 10.253.0.1:80 in /etc/nginx/conf.d/servers.conf:39 2023/06/26 16:31:53 [emerg] 18329#18329: a duplicate listen 10.253.0.1:80 in /etc/nginx/conf.d/servers.conf:39 On the /etc/nginx/conf.d/servers.conf there is actually duplication of 10.253.0.1:80 server { listen 192.168.1.200:80 default_server; # br0 listen 10.253.0.1:80 default_server; # wg0 listen 10.253.0.1:80 default_server; # wg0 # location ~ /wsproxy/80/ { return 403; } include /etc/nginx/conf.d/locations.conf; I delet one of the listen 10.253.0.1:80 default_server; # wg0 and after saving and runing "sudo nginx -t" I get: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok nginx: configuration file /etc/nginx/nginx.conf test is successful /etc/rc.d/rc.nginx start still does not get nginx working and the previous listen duplication gets in again on the /etc/nginx/conf.d/servers.conf After searching this forum, I manually upgraded to 6.12.1 using CLI-SSH... but the WebGUI does not work and nginx still doesn't start. I've attached the diagnostics made on the CLI. Hopefully anyone can throw some ideas how to fix this.... hopefully After one complete afternoon of being stubborn I'm reaching out you guys Thanks! nuove-diagnostics-20230626-1619.zip
June 26, 20233 yr Solution The issue is that you have two WireGuard configs that are using the same IP address. Assuming they are wg0 and wg1, run these commands wg-quick down wg0 wg-quick down wg1 Then run: /etc/rc.d/rc.nginx reload That should give you access to the webgui. Navigate to Settings -> VPN Manager and review wg0 and wg1 and make sure they are setup for different network pools and IPs before restarting the tunnels.
June 27, 20233 yr Author 12 hours ago, ljm42 said: The issue is that you have two WireGuard configs that are using the same IP address. Assuming they are wg0 and wg1, run these commands wg-quick down wg0 wg-quick down wg1 Then run: /etc/rc.d/rc.nginx reload That should give you access to the webgui. Navigate to Settings -> VPN Manager and review wg0 and wg1 and make sure they are setup for different network pools and IPs before restarting the tunnels. This fixed it! ("/etc/rc.d/rc.nginx reload" did nothing but "start" did it!) ljm42 thank you so much!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.