-
-
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-Update | Another issue when updating to v6.20.5 #2466
Comments
Most likely a DietPi-RAMdisk failure: https://github.com/Fourdee/DietPi/issues/2465#issuecomment-458576926 |
RAMdisk failure verified. It stops on shutdown after boot mount was already unmounted. Solution so far: Should actually not occur due to local-fs.target, needs investigation why systemd does not respect this order. Whoever run into this issue: With v6.20.5 we removed After=boot.mount from RAMdisk service. However this is included in default sysinit.target which is always waited for when not overwriting systemd unit default dependencies. Only idea I have so far: Before=syslog.service rsyslog.service overwriting this on Jessie, similar to what happened with networking init.d service on Jessie. Although this should cause a dependency/order loop that we never faced on Jessie testing 🤔. |
Hi |
Running 6.17 Stretch image on a RasPi with dietpi.txt, I eventually get to a point where DietPi-Update loops endlessly. This was after Ctrl-C to stop the boot looping, then I ran |
I tried to install from fresh 6.17 Stretch image on a RasPi. But somehow I end up in a loop. It always brings me back to the software selection screen where I just chose for Install without further packages. At the end it performs a reboot. After being back online, still the version is displayed at 6.17. As well it did not changed initial password and still require default one. Before entering software selection screen following error message appears [ OK ] DietPi-Software | Root access verified. [ OK ] DietPi-Software | Initialized database I tried to break the loop by exiting the software selection screen and to run dietpi-update manual but it did not solved it. Now I'm in new loop after reboot. After login, the following message is passing by quite fast again and again. DietPi-Update [ INFO ] DietPi-Update | Checking mirror: https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/server_version-6 [ INFO ] DietPi-Update | Current version : v6.20.5 [ OK ] DietPi-Login | Connection test: http://raspbian.raspberrypi.org/raspbian I just can break it using Ctrl-C |
@digitalcardboard I will then push a hotfix update to revert the change we did to the RAMdisk systemd unit. |
Okay just pushed the mentioned changes + a possible first run loop fix as v6.20.6 hotfix update. This will redo the update, as if you were still on v6.19.7 to assure all steps are done now as expected. Please apply this patch and report back if now all the issues are solved. |
FWIW, it stopped the boot loop, but not the DietPi-Update loop. I'm working on a new project and I'm not far along so I'll try it and report back. My other option was to not update, but I was trying to use |
@digitalcardboard Two update runs are expected.
|
ok I was able to run clean install from v6.17 > v6.20.6 during install process I was ask 2 times for reset default password. And during last reboot, it got stucked (hold) waiting for some process to finish. I simple deplug power and restarted my Pi. Than the boot was finishing on v6.20.6 |
@Joulinar You don't know exactly on which process the boot stuck, do you? Was is still during kernel message prompts already systemd or already during DietPi boot scripts? |
Well I should have done a picture before deplug power. My fault. But as far as I remeber it was during DietPi-Boot. I have seen the messages for a "valid network connection found" and than something with stopping time sync ???? And than the message that it will wait (hold) for some process to finish. let me do some test with my Pi. Maybe I can reproduce. Will keep you posted. |
A clean run for me with v6.17 to v6.20.6 using |
@Joulinar @digitalcardboard |
@MichaIng there you go. It happen once the final update to v6.20.6 finsihed and system was going to reboot. currently it's on 5 minutes waiting. If I would power down and reboot, it would finish in secounds. |
@Joulinar
|
@MichaIng no I'm not able to cancel. I need to deplug power completly and than put power on again. It's failing just first time. But the error messege [n180211 not found.] is there always. this is how the next boot looks like. |
@Joulinar I see you have splash screen enabled. During web search I found plymouth related with this, which is responsible for boot splash screens.
|
I'm connected via Ethernet. WiFi should be disabled. I just run the default image after creating my SD card using Ether. I did not changed anthing on configs before. Just power it on :) |
@Joulinar
This should be 1 (so splash disabled) on default image, new and v6.17 and way older as well. However no harm if splash is active. |
btw your guess regarding |
@Joulinar About the splash/plymouth thing, yeah seem to be two different things, the RPi logo and what disable_splash triggers. However no harm then as well. I will mark this topic as closed, since the update issues are resolved. If anyone still faces issues, feel free to post them here again, so we will re-investigate. |
Ref: https://dietpi.com/phpbb/viewtopic.php?f=11&t=5471
Looks like either
.update_stage
is missing or setting.install_stage
to2
fails/is not saved until reboot.But from code side there is no issue, similar to what happened with https://github.com/Fourdee/DietPi/issues/2458 just following the code logic, everything should work fine and did in all dev and beta cases. Only explanation in both cases is missed writes/syncs, file corruption, unusual shutdown, so RAMdisk failed (although then the update should just be offered again).
The text was updated successfully, but these errors were encountered: