Closed RickoT closed 4 months ago
in order to successfully complete installation I need to remove ipv6.disable=1 from cmdline.txt. I dont use ipv6 and don't want it if I dont need it.
You can disable ipv6 after the installation again.
The issue is the following:
While installing the nginx package for the first time on a system via apt-get install nginx
, it automatically installs a default configuration in /etc/nginx/sites-available/default
and links the config via a symlink to /etc/nginx/sites-enabled/default
. During the installation the nginx.service gets started. The issue is, that the default config contains this:
server {
listen 80 default_server;
listen [::]:80 default_server;
See the second "listen" config? That's what is causing the issue. The starting nginx.service loads the default config, ipv6 is disabled although the config expects it to be enabled, and fails. Which in turn results in an exit code of 1 of the package installation, thus killing KIAUH.
I currently see no way of preventing the NGINX service from starting during its install, so i can handle the start of the service myself, after the mainsail config has been installed AND the default nginx config is disabled/deleted.
Yup, and that's what I've done, i just wanted to pass it along
Linux Distribution
Rasbian Bookworm x64 Lite Rasberry Pi Image
What happened
During the installation of Mainsail this error is received
What did you expect to happen
Installation completes without issue
How to reproduce
Fresh imaging of Raspi OS (bookworm) Lite x64 Edit /boot/firmware/cmdline.txt and add ipv6.disable=1
Go through installation process with kiuah.sh and install mainsail
Additional information
No response