Skip to content
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

Upgrade failed #3717

Closed
Zebulon67fr opened this issue Aug 16, 2020 · 3 comments
Closed

Upgrade failed #3717

Zebulon67fr opened this issue Aug 16, 2020 · 3 comments

Comments

@Zebulon67fr
Copy link

Details:

  • Date | Sat 15 Aug 19:49:26 CEST 2020
  • Bug report | N/A
  • DietPi version | v6.25.3 (MichaIng/master)
  • Img creator | DietPi Core Team
  • Pre-image | Raspbian Lite
  • SBC device | RPi 2 Model B (armv7l) (index=2)
  • Kernel version | DietPi-Config | CPU performance benchmark #1253 SMP Thu Aug 15 11:49:46 BST 2019
  • Distro | buster (index=5)
  • Command | /DietPi/dietpi/func/dietpi-ramdisk 1
  • Exit code | 127
  • Software title | DietPi-Update

Steps to reproduce

  1. ...Just launched the automatic upgrade
  2. ...

Expected behaviour

  • ...

Actual behaviour

  • ...terminated without finishing due to a ramdisk issue?

Extra details

  • ...
@Joulinar
Copy link
Collaborator

Hi,

Many thanks for your report. Pls can you provide some more information issue? Maybe an exact error message. Or the last lines from update output

@MichaIng
Copy link
Owner

MichaIng commented Aug 16, 2020

A pre-RAMdisk system and it seems the parent update process has not been killed as expected. The old updater then calls dietpi-ramdisk 1 to write new RAMdisk content to disk. But that is of course neither required, nor does the script even exist anymore, hence the error 127 "command not found".

However it does not cause any issue, the update has fully finished when this is called:

l_message='Syncing new DietPi scripts to disk' G_RUN_CMD /DietPi/dietpi/func/dietpi-ramdisk 1

@Zebulon67fr
Please simply reboot and check banner that should show that everything has been fully updated. I think I saw your case one or two times already, not sure how the termination of the parent process can fail, but it causes a wrong visual output only. If you still have the terminal scrollback buffer/history, you should see Everything done! Terminating the obsolete DietPi-Update parent instance..., that is where nothing else should have proceeded because everything successfully finished.

@MichaIng
Copy link
Owner

MichaIng commented Sep 9, 2020

I mark this as closed due to missing reply. Feel free to reopen if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants