After upgrading from 7.2.1 to 9.0.1 the router is not starting anymore. In the log’s i’m seeing this error 2024/04/10 16:04:40 [emerg] 4580#0: bind() to 0.0.0.0:80 failed (13: Permission denied)
But the port 80 and 443 are not even in use when i check the port usage. Seems like a permissions issue.
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
On Linux upgrade from 7.2.1 to 9.0.1 and try to start an existing site.
System Details
Local Version:
9.0.1
Operating System (OS) and OS version:
Linux Ubuntu 22.04
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.
Tried the steps you mentioned but it still doesn’t work
Output of getcap ~/.config/Local/lightning-services/nginx-1.16.0+7/bin/linux/sbin/nginx shows the correct capabilities (ends with nginx cap_net_bind_service=ep )
But the log still shows permission denied, cannot bind to port 80, while the port is not even in use.
I just downgraded to 7.0.1 and everything works again. I’ll try updating again sometime in the future.
To reproduce this issue you should try installing a 7.x version and then update it.
One more thing to try. First, quit Local and then, within the ~/.config/Local/run folder there should be a router folder. Delete that folder and try starting Local and a site.