Upgrade problem.
I just did a dietpi-update. I am now in a "menu-loop"
Dietpi has not been fully installed...
I did go to "Install", but there is no additional software i want to install (i went on as a pure minimal install) , i get the questions if i want to change unix password/dietpi/root password. After that it goes back to the menu (i can't go to the shell/prompt)
What should i do?
ps: i am connected via ssh / vpn
OdroidC2
From v6.19.7 to new update
From v6.19.7 to new update
Last edited by pakikje on Tue Jan 29, 2019 6:10 pm, edited 1 time in total.
Re: From V16.9.7 to new update
sorry, couldn't wait.
Did a dietpi-backup -1
ps: dietpi-backup is awesome!!
Did a dietpi-backup -1
ps: dietpi-backup is awesome!!
Re: From V16.9.7 to new update
@pakikje
So your system is actually already installed, right?
Can you verify the expected install stage is 1: cat /DietPi/dietpi/.install_stage
And the expected .update_stage file is in place: cat /DietPi/dietpi/.update_stage
Please retry dietpi-update, if the above is correct. When it asks if you want to reboot, please cancel.
First recheck cat /DietPi/dietpi/.install_stage which should be 2 now.
If this is the case, then please reboot to sync RAMdisk to disk, load new login scripts, globals and such.
So your system is actually already installed, right?
Can you verify the expected install stage is 1: cat /DietPi/dietpi/.install_stage
And the expected .update_stage file is in place: cat /DietPi/dietpi/.update_stage
Please retry dietpi-update, if the above is correct. When it asks if you want to reboot, please cancel.
First recheck cat /DietPi/dietpi/.install_stage which should be 2 now.
If this is the case, then please reboot to sync RAMdisk to disk, load new login scripts, globals and such.
- katastrofa
- Posts: 5
- Joined: Thu Nov 01, 2018 12:37 pm
Re: From V16.9.7 to new update
Same problem here...
Re: From V16.9.7 to new update
@katastrofa
Please go through/check the same as mentioned above.
I opened an issue on GitHub: https://github.com/Fourdee/DietPi/issues/2466
Please go through/check the same as mentioned above.
I opened an issue on GitHub: https://github.com/Fourdee/DietPi/issues/2466
- katastrofa
- Posts: 5
- Joined: Thu Nov 01, 2018 12:37 pm
Re: From V16.9.7 to new update
I changed /DietPi/dietpi/.update_stage to 1 and no problems now. Thanks a lot 

Re: From V16.9.7 to new update
@katastrofa
What was the files content before? Actually when updating to v6.20.5 it should be removed, it's info merged into /DietPi/dietpi/.install_stage, which is for this set to 2.
/DietPi/dietpi/.update_stage should not be read/nor required by any DietPi script after successful update to v6.20.5, if it still is, then something went wrong.
What was the files content before? Actually when updating to v6.20.5 it should be removed, it's info merged into /DietPi/dietpi/.install_stage, which is for this set to 2.
/DietPi/dietpi/.update_stage should not be read/nor required by any DietPi script after successful update to v6.20.5, if it still is, then something went wrong.
- katastrofa
- Posts: 5
- Joined: Thu Nov 01, 2018 12:37 pm
Re: From v6.19.7 to new update
In my case the content of the file was:
0
Hope that helps.
0
Hope that helps.
Re: From v6.19.7 to new update
Hmm, and this was not fresh install right? Strange, since when you install the DietPi image and you boot it the first time, an automated dietpi-update should be done and lift /DietPi/dietpi/.update_stage to one. Patch to v6.20.5 should remove the file then, as mentioned above.
So does the file still exist now after update to v6.20.5?
So does the file still exist now after update to v6.20.5?
- katastrofa
- Posts: 5
- Joined: Thu Nov 01, 2018 12:37 pm
Re: From v6.19.7 to new update
In both cases, the same thing has happened to me. I have made an update and a clean installation. In both cases I ended up with a "menu-loop" when trying to update using "dietpi-update".
And yes, the file still exists.
And yes, the file still exists.