-
-
Notifications
You must be signed in to change notification settings - Fork 503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dietpi-wifi-monitor failed (Result: exit-code) #2802
Comments
@GulyFMG Indeed the concurrency check fails. Somehow To fix this, please do:
|
Resolved with just released v6.24. Done as hotfix due to critical issue on ARMv6. |
Just to do a follow up... there is no more errors on boot but i noticed on journalctl: May 16 14:42:12 blacksun dietpi-wifi-monitor.sh[746]: Try 'sleep --help' for more information. |
Confirmed, will fix. |
Ah did already fix. Syntax. Will merge this into stable silently. |
Just about to commit lol 👍 Recommend workaround (update script or copy paste fix), loop will run at full speed. |
Actually the MOTD implementation via script allows to push such small fixes live. So sed faulty line and restart service if it runs (with &> /dev/null). Will verify this on notebook later and adjust MOTD. Should be not used on regular basis but for such small ones it should work well. Since MOTD is enabled by default this should cover most systems and all newly updated ones. |
Nice idea 👍 Personally, I would not use this feature. Updates/fixes/changes should only be applied when the user selects them (end user trust). Risky if it goes wrong aswell? |
I mark this as closed. Will release v6.24.1 with this fix until the night, which is mostly required as hotfix for ARMv6 anyway. |
thank you for the feedback... btw this build is solid as hell. congrats |
Creating a bug report/issue
Required Information
#!/bin/bash
G_DIETPI_VERSION_CORE=6
G_DIETPI_VERSION_SUB=23
G_DIETPI_VERSION_RC=3
G_GITBRANCH=master
G_GITOWNER=MichaIng`
Additional Information (if applicable)
Steps to reproduce
Just boot RPI and every single time the script fails.
Expected behaviour
Should start without any error.
Actual behaviour
dietpi-wifi-monitor failed (Result: exit-code)
Extra details
[FAILED] DietPi-Services | dietpi-wifi-monitor failed (Result: exit-code) since Wed 2019-05-15 18:20:07 BST; 1min 14s ago
● dietpi-wifi-monitor.service - DietPi-WiFi-Monitor
Loaded: loaded (/etc/systemd/system/dietpi-wifi-monitor.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2019-05-15 18:20:07 BST; 1min 15s ago
Process: 753 ExecStart=/var/lib/dietpi/services/dietpi-wifi-monitor.sh (code=exited, status=1/FAILURE)
Process: 750 ExecStartPre=/bin/dash -c [ -e /sys/class/net/wlan$(sed -n 2p /DietPi/dietpi/.network) ] (code=exited, status=0/SUCCESS)
Process: 739 ExecStartPre=/DietPi/dietpi/func/obtain_network_details (code=exited, status=0/SUCCESS)
Main PID: 753 (code=exited, status=1/FAILURE)
May 15 18:20:07 blacksun systemd[1]: Starting DietPi-WiFi-Monitor...
May 15 18:20:07 blacksun systemd[1]: Started DietPi-WiFi-Monitor.
May 15 18:20:07 blacksun dietpi-wifi-monitor.sh[753]: ERROR: Concurrent execution detected. Please exit the running instance of DietPi-WiFi-Monitor first. Exiting...
May 15 18:20:07 blacksun systemd[1]: dietpi-wifi-monitor.service: Main process exited, code=exited, status=1/FAILURE
May 15 18:20:07 blacksun systemd[1]: dietpi-wifi-monitor.service: Unit entered failed state.
May 15 18:20:07 blacksun systemd[1]: dietpi-wifi-monitor.service: Failed with result 'exit-code'.
The text was updated successfully, but these errors were encountered: