Update to 6.28 hangs Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
locutusweb
Posts: 26
Joined: Sun Jan 17, 2016 4:02 pm

Update to 6.28 hangs

Post by locutusweb »

Hi,

I want to update my dietpi install on my raspberry pi 3b to version 6.28.0. Sadly it hangs:

Code: Select all

dietpi-update

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Checking for available DietPi update

[ INFO ] DietPi-Update | Checking mirror: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi/server_version-6
[  OK  ] DietPi-Update | Using update server: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi/server_version-6
[  OK  ] DietPi-Update | Update available:
[ INFO ] DietPi-Update | Current version : v6.25.3
[ INFO ] DietPi-Update | Latest version  : v6.28.0

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Checking for update pre-requirements

[  OK  ] DietPi-Update | DietPi-Userdata validation: /mnt/dietpi_userdata
[  OK  ] DietPi-Update | Free space check: path=/ | available=42709 MiB | required=100 MiB
[ SUB1 ] DietPi-Services > stop 
[  OK  ] DietPi-Services | stop : cron
[  OK  ] DietPi-Services | stop : motioneye
[  OK  ] DietPi-Services | stop : couchpotato
[  OK  ] DietPi-Services | stop : nzbget
[  OK  ] DietPi-Services | stop : lighttpd
[  OK  ] DietPi-Services | stop : php7.3-fpm
[  OK  ] DietPi-Services | stop : mariadb

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Applying pre-patches

[  OK  ] DietPi-Update | wget https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi/pre-patch_file -O pre-patch_file
[ INFO ] Pre-patch 13 | Disabling dpkg status file translations by default, which have hardly any use, but raise APT update times + disk I/O 
[ INFO ] Pre-patch 20 | Mark ifupdown as manually installed to prevent its autoremoval
ifupdown was already set to manually installed.
[  OK  ] DietPi-Update | Successfully applied pre-patches

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Upgrading APT packages

[ INFO ] DietPi-Update | APT update, please wait...
Hit:1 http://archive.raspbian.org/raspbian jessie InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Hit:3 https://packages.sury.org/php stretch InRelease
Hit:4 https://archive.raspberrypi.org/debian stretch InRelease
Reading package lists...
[  OK  ] DietPi-Update | G_AGUP
[ INFO ] DietPi-Update | APT upgrade, please wait...
[  OK  ] DietPi-Update | G_AGUG

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Installing new DietPi code

######################################################################## 100.0%
[  OK  ] DietPi-Update | Unpacking update archive
[  OK  ] DietPi-Update | Installing new DietPi scripts to RAMdisk
[  OK  ] DietPi-Update | Installing new DietPi system files to disk
[  OK  ] DietPi-Update | Setting execute permissions for DietPi scripts
[ SUB1 ] DietPi-Set_software > verify_dietpi.txt ()
[  OK  ] DietPi-Set_software | Connection test: https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi.txt
[  OK  ] DietPi-Set_software | Downloading current dietpi.txt
[  OK  ] DietPi-Set_software | dietpi.txt verification completed
[  OK  ] verify_dietpi.txt  | Completed

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Applying incremental patches

[ INFO ] DietPi-Update | Current version : v6.25.3
[ INFO ] DietPi-Update | Latest version  : v6.28.0
[ INFO ] DietPi-Update | Patching 6.25 to 6.26
  [✓] Flushed /var/log/pihole.log
  [✓] Deleted 32 queries from database
  [i] Disabling logging...
  [✓] Logging has been disabled!
[ INFO ] DietPi-Patch | APT removal for: haveged, please wait...
[ INFO ] DietPi-Patch | None of the requested packages are currently installed. Aborting...
[  OK  ] DietPi-Patch | G_AGP haveged
[ INFO ] DietPi-Patch | APT installation for: rng-tools, please wait...
[  OK  ] DietPi-Patch | G_AGI rng-tools
[ SUB2 ] DietPi-Set_hardware > headless (enable)
[  OK  ] DietPi-Set_hardware | Desired setting in /DietPi/config.txt was already set: framebuffer_width=16
[  OK  ] DietPi-Set_hardware | Desired setting in /DietPi/config.txt was already set: framebuffer_height=16
[  OK  ] DietPi-Set_hardware | Desired setting in /DietPi/config.txt was already set: max_framebuffer_width=16
[  OK  ] DietPi-Set_hardware | Desired setting in /DietPi/config.txt was already set: max_framebuffer_height=16
[  OK  ] DietPi-Set_hardware | Desired setting in /DietPi/config.txt was already set: disable_splash=1
[  OK  ] DietPi-Set_hardware | Desired setting in /DietPi/config.txt was already set: hdmi_blanking=1
[  OK  ] DietPi-Set_hardware | Desired setting in /DietPi/config.txt was already set: hdmi_ignore_hotplug=1
[  OK  ] DietPi-Set_hardware | Desired setting in /DietPi/dietpi.txt was already set: AUTO_SETUP_HEADLESS=1
[  OK  ] headless enable | Completed
After this nothing happens anymore. Any help is appreciated.
User avatar
Joulinar
Posts: 2316
Joined: Sat Nov 16, 2019 12:49 am

Re: Update to 6.28 hangs

Post by Joulinar »

Hi,

Are you able to open a 2nd SSH session and check what is running actually.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
locutusweb
Posts: 26
Joined: Sun Jan 17, 2016 4:02 pm

Re: Update to 6.28 hangs

Post by locutusweb »

Thanks for your reply.

I solved it by rebooting and answering yes to the "initial_turbo" question in the upgrade process. (I choose no before).

Off topic: Is there a option in the forum to set the topic to "solved"?
User avatar
Joulinar
Posts: 2316
Joined: Sat Nov 16, 2019 12:49 am

Re: Update to 6.28 hangs

Post by Joulinar »

Yep, I marked it as solved.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply