02-29-2024, 08:11 PM
After doing an in place update to 8.3.9, the local UI does not start (leaving the bootup console output on the screen)
I have traced the issue to the file /lib/systemd/system/localui.service
localui.service:
[Unit]
Description=Start Chromium Browser
After=nginx.service php7.4-fpm.service mpd.service
[Service]
Type=simple
# start xserver
ExecStart=/usr/bin/xinit
User=pi
[Install]
WantedBy=multi-user.target
Note that User=pi This is NOT the correct user.
The file localui.service is generated by the code in worker.php. Worker.php gets the username via a system call, and so it seems that the incorrect name is setup elsewhere.
Any thoughts?
P.S.
This also happened the previous time that I did an inplace update, but I just reflashed the system.
This time I think it requires a fix.
Thanks
-Wally
I have traced the issue to the file /lib/systemd/system/localui.service
localui.service:
[Unit]
Description=Start Chromium Browser
After=nginx.service php7.4-fpm.service mpd.service
[Service]
Type=simple
# start xserver
ExecStart=/usr/bin/xinit
User=pi
[Install]
WantedBy=multi-user.target
Note that User=pi This is NOT the correct user.
The file localui.service is generated by the code in worker.php. Worker.php gets the username via a system call, and so it seems that the incorrect name is setup elsewhere.
Any thoughts?
P.S.
This also happened the previous time that I did an inplace update, but I just reflashed the system.
This time I think it requires a fix.
Thanks
-Wally