markbaaijens / rpmusicserver

Transform a Raspberry Pi in a music server with LMS (Squeezebox), Samba, transcoder, etc.
GNU General Public License v3.0
5 stars 0 forks source link

Get rid of reboot after install #314

Open markbaaijens opened 2 months ago

markbaaijens commented 2 months ago

Reopened due to a bug concerning restart of web-services, see comment below

The last command in the installation-process scripts/install-rp.sh is e reboot. This extends the installation unneeded.

To do

Advantages

  1. faster installation
  2. faster updating
  3. prevent problems with rebooting (hang, disk not recognized, etc.)

Problems

Web-interfaces reacts flaky to new code, disabling them is not working very good: # First kill the web-services, for a clean start kill $(ps -ef | grep "web/controller" | grep -v grep | head -n 1 | awk '{print $2}') kill $(ps -ef | grep "api/controller" | grep -v grep | head -n 1 | awk '{print $2}')

markbaaijens commented 2 months ago

Bug: restart of web-services is flaky, despite the kill of both the api- and web-service in the start-web script. Find a better way or re-enable the reboot after the install.

To try: