system trashed after dietpi-update Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
el-sombrero

system trashed after dietpi-update

Post by el-sombrero »

Is anyone else having problems after running dietpi-update? My little raspberry pi 3 is toast after running updates last night:
- DietPi-RAMlog and DietPi-RAMdisk won't load
- dependency fail for etc/rc.local Compatability
- dependency fail for DietPi-boot
- no dietpi menus (i.e. dietpi-update, dietpi-config, etc)
- Ethernet no longer recognized

Any help would be appreciated...
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: system trashed after dietpi-update

Post by Fourdee »

el-sombrero wrote: - dependency fail for DietPi-boot
Hi,

Anything in service status to indicate why dietpi-boot failed?

Code: Select all

systemctl status dietpi-boot -l
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
el-sombrero

Re: system trashed after dietpi-update

Post by el-sombrero »

systemctl status says:

dietpi-boot.services - DietPi-Boot
Loaded: loaded (/etc/system/system/dietpi-boot.services; enabled)
Active: inactive (dead)

Feb 04 00:23:43 Pi-Server-8 systemd[1]: Dependency failed for DietPi-Boot.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: system trashed after dietpi-update

Post by Fourdee »

el-sombrero wrote:systemctl status says:

dietpi-boot.services - DietPi-Boot
Loaded: loaded (/etc/system/system/dietpi-boot.services; enabled)
Active: inactive (dead)

Feb 04 00:23:43 Pi-Server-8 systemd[1]: Dependency failed for DietPi-Boot.
Thanks.

Lets check the service it depends on:

Code: Select all

systemctl status dietpi-ramdisk -l
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
el-sombrero

Re: system trashed after dietpi-update

Post by el-sombrero »

dietpi-ramdisk.service - DietPi-RAMDisk
Loaded: loaded (/etc/systemd/system/dietpi-ramdisk.service; enabled)
Acitve: failed (Result: exit-code) since Sat 2017-02-04 09:37:07 CST; 53s ago
Process: 407 ExecStart=/bin/bash -c /boot/dietpi/dietpi-ramdisk 0 &>> /etc/dietpi/logs/dietpi-ramdisk.log (code=exited, status=127)
Process: 381 ExecStartPre=/bin/mkdir -p /etc/dietpi/logs (code=exited, status=0/SUCCESS)
Feb 04 09:37:07 Pi-Server-8 system[1]: dietpi-ramdisk.service: control process exited, code=exited status=127
Feb 04 09:37:07 Pi-Server-8 system[1]: Failed to start DietPi-RAMdisk.
Feb 04 09:37:07 Pi-Server-8 system[1]: Unit dietpi-ramdisk.service entered failed state.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: system trashed after dietpi-update

Post by Fourdee »

It looks like you might be experiencing issue as per: https://github.com/Fourdee/DietPi/issues/719

Which locale are you running?

Code: Select all

cat /etc/locale.gen | grep -v '^#'
And, i'd be greatful if you could answer the following questions here:
http://dietpi.com/phpbb/viewtopic.php?f ... t=20#p5143
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
el-sombrero

Re: system trashed after dietpi-update

Post by el-sombrero »

Locales:
en_GB.UTF-8 UTF-8
en_US.UTF-8 UTF-8

Device used (eg: RPi):
RPi 3 Model B v1.2

Software installed (both through dietpi-software and manually):
owncloud, nginx, mysql, letsencrypt, fail2ban, dropbear,

What was the last command run, before this occurred (eg: dietpi-update):
diestpi-update

PSU used (eg: Official RPi 5v/2A):
Generic 5.1v/3A plugged into a UPS

SD card used:
Toshiba 16GB micro sd hci class 10 30MB/s

fstab entries (hide any pass worded network drives):

#Internal Drives---------------------------------------------------
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults,noatime,discard 0 2
/dev/mmcblk0p2 / ext4 defaults,noatime,discard 0 1
tmpfs /tmp tmpfs defaults,noatime,nodev,nosuid,mode=1777 0 0
tmpfs /var/log tmpfs defaults,size=20m,noatime,nodev,nosuid,mode=1777 0 0
tmpfs /DietPi tmpfs defaults,size=10m,noatime,nodev,nosuid,mode=1777 0 0


#Samba Client------------------------------------------------------
#/mnt/samba . Please use dietpi-config and the networking menu to setup this mount

#FTP Client Mount--------------------------------------------------
#/mnt/ftp_client . Please use dietpi-config and the networking menu to setup this mount
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that

#External Drives---------------------------------------------------
#NB: Please use dietpi-drive_manager to setup and control your external drives.
/dev/sda1 /mnt/usb_1 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdb1 /mnt/usb_2 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdc1 /mnt/usb_3 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sdd1 /mnt/usb_4 auto defaults,noatime,nofail,x-systemd.automount 0 0
#/dev/sde1 /mnt/usb_5 auto defaults,noatime,nofail,x-systemd.automount 0 0

#NFS Client Mount--------------------------------------------------
#/mnt/nfs_client . Please use dietpi-config and the Networking Options: NAS menu to setup this mount
Post Reply