iamromulan / quectel-rgmii-toolkit

Quectel module RGMII toolkit
Other
61 stars 35 forks source link

Restart fails to restart webserver #61

Open tarunVreddy opened 3 months ago

tarunVreddy commented 3 months ago

On the development branch, any one else getting the web interface not running after restarting the sled?

dr-dolomite commented 3 months ago

This was fixed with the current version I believe. Please update.

tarunVreddy commented 3 months ago

At the time of the comment, I had done a fresh install. But I'm reinstalling firmware (RM520NGLAAR03A02M4GA_2023_11_06) and trying and install again. Not sure if that fixed it or it just takes a while for all the stats to come in after it boots up. Seems to work. Thank you!

iamromulan commented 3 months ago

This issue still exists. I'm about to go on vacation for 2 weeks, maybe between sight seeing I can look into this a little more.

Yes. The webserver sometimes does not start at boot for some reason. Roll of the dice. I suspect it's attempting to start it sometimes before opt.mount becomes available. Systemd on these modems have really strange behavior where some functions simply don't work. Systemctl enable for example does not work. Have to manually symbolically link.

jmarzka commented 3 weeks ago

I'm not sure if this fixed the issue yet but I'm testing with an additional Wants in the unit file:

[Unit]
Description=Lighttpd Daemon
Wants=network.target opt.mount
After=network.target opt.mount

From reading here it seems that adding After doesn't establish a dependency and we should use Wants or Requires.