Fixing Local by Flywheel v9.2.4 on Fedora 42
Local by Flywheel (v9.2.4) installations on Fedora 42 may encounter the following issues:
- Missing lib dependencies.
- Router Mode not working due to permission or port binding issues, even after following Local’s official router mode steps
Steps to resolve
- Download v9.2.4 release from releases page.
- Install packages to get missing dependencies:
sudo dnf install libXScrnSaver ncurses-compat-libs nss-tools libxcrypt-compat
- Install the Local download file.
sudo rpm -i ~/Downloads/local-9.2.4-linux.rpm # or whatever version that you need to try this on.
- Grant nginx permission to bind to ports 80 and 443
Local uses its own internal nginx binary to run Router Mode. On Linux, binding to ports below 1024 requires special privileges. Run the following command (update the path based on your version if needed):
$ sudo setcap cap_net_bind_service=+ep ~/.config/Local/lightning-services/nginx-1.26.1+3/bin/linux/sbin/nginx
- Restart Local and test sites.