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-Software | WebIOPi: RPi 3/4 support + Python 3 #4310
Conversation
@Joulinar |
Let me see if I can do this today evening |
Found another issue which might be related to the trouble torwan from the forum ran into. Stopping the service does not stop it. It's strange That way we can also try to use a dedicated service user. It might however not be possible, depending on the tunables that this interface uses:
Jep, no chance to run as non-root. But the hanging on stop seems to be related to the container. It hangs with |
I was running into this issue on my test
EDIT |
Another test:
Does it hang? |
it took ages to complete but succeeded after quite some time. CPU was at 100% usage while restarting the service.
|
Okay, so it's not just me, it times out and is then hard killed. I remember seeing that issue with |
Okay, Manually running Rules out any config issue and didn't find any additional hint in debug output: Since it hangs with 100% CPU usage, and it does not write any file on the file system, I suggest to SIGKILL it simply immediately, so skipping the failing SIGTERM attempt. It's harsch but I don't see any risk or such this would apply. This app touches only kernel tunables/devices when using the web interface interactively, nothing else. Same issue seems to be faced on the other little older fork: thortex/rpi3-webiopi#52 (+ |
Issue found and solved: thortex/rpi3-webiopi#57 Will open a PR at our fork as well. ...done: Freenove/WebIOPi#1 |
Well done @MichaIng |
I can't believe it: WebIOPi reports to Google Analytics. The older fork has it recognised and removed, but the one we use not. Done now as part of the install process. Whether or not a website/application reports to Google Analytics must be, even legally, the decision and responsibility of the website driver, NOT the web application developer. Imagine Wordpress or phpBB would add a hardcoded GA report, and finally all admins who run their own blog/forum with it would have their users reported to Google, which is quite a legal violation (without consent at least), at least in Europe. Okay, WebIOPi is usually not a public website, but this cannot be counted with, and it is NOT documented anywhere. Now after 6 years no activity, no reason to make this any further topic, but my goodness it should have been long ago. Perfect example that open-source is no guarantee for anything 😉. |
Ready now from my end, works fine, including web UI (without Google Analytics), toggling pins (which really change their status, verified via console tools like WiringPi) and service restarts. |
even open-source require someone who review/check and challenge thinks. Looks like you are the first one digging into the code 🤣 will do a final install on RPi1, but it will take time as the RPi1 is so incredible slow compare to a 4B 🙄 |
The other fork found it as well, although through Debian lintian build checks: cheating 😛: thortex/rpi3-webiopi#1 |
AHHHH you deleted the branch eactly the moment I was running
Ok took me a while to realize that but will use |
ok it is working on my RPi1 as well 👍 |
Status: Ready
Reference: https://dietpi.com/phpbb/viewtopic.php?t=8945
Changelog: 8dd9cd5
Commit list/description: