[GH-ISSUE #61] Restart fails to restart webserver #17

Closed
opened 2026-02-27 14:38:44 +03:00 by kerem · 5 comments
Owner

Originally created by @tarunVreddy on GitHub (Jun 3, 2024).
Original GitHub issue: https://github.com/iamromulan/quectel-rgmii-toolkit/issues/61

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

Originally created by @tarunVreddy on GitHub (Jun 3, 2024). Original GitHub issue: https://github.com/iamromulan/quectel-rgmii-toolkit/issues/61 On the development branch, any one else getting the web interface not running after restarting the sled?
kerem closed this issue 2026-02-27 14:38:44 +03:00
Author
Owner

@dr-dolomite commented on GitHub (Jun 4, 2024):

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

<!-- gh-comment-id:2146593583 --> @dr-dolomite commented on GitHub (Jun 4, 2024): This was fixed with the current version I believe. Please update.
Author
Owner

@tarunVreddy commented on GitHub (Jun 4, 2024):

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!

<!-- gh-comment-id:2147832720 --> @tarunVreddy commented on GitHub (Jun 4, 2024): 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!
Author
Owner

@iamromulan commented on GitHub (Jun 9, 2024):

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.

<!-- gh-comment-id:2156750626 --> @iamromulan commented on GitHub (Jun 9, 2024): 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.
Author
Owner

@jermatic1 commented on GitHub (Sep 5, 2024):

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.

<!-- gh-comment-id:2332428855 --> @jermatic1 commented on GitHub (Sep 5, 2024): 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](https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Before=) it seems that adding `After` doesn't establish a dependency and we should use `Wants` or `Requires`.
Author
Owner

@iamromulan commented on GitHub (Oct 30, 2024):

Will take a look at implementing the fix. If the system allows it we may try to do an overlayfs and pivot-root to the overlay.
I'd have to get an opkg built that installs to / instead of /opt in that scenario but it'll be better

<!-- gh-comment-id:2445767730 --> @iamromulan commented on GitHub (Oct 30, 2024): Will take a look at implementing the fix. If the system allows it we may try to do an overlayfs and pivot-root to the overlay. I'd have to get an opkg built that installs to / instead of /opt in that scenario but it'll be better
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/quectel-rgmii-toolkit#17
No description provided.