Dietpi doesn't update

Having issues with your DietPi installation or found a bug? Post it here.
Blaiz0r
Posts: 21
Joined: Sat Jul 27, 2019 5:36 pm

Dietpi doesn't update

Post by Blaiz0r »

I'm running 6.32.2 on a RPi-4 and after a successful update to 6.35.0 and then to 7, rebooting my diet-pi will bring me back to 6.32.2

I've run this a couple of times now, using apt-get and mostly the diepti-update (with sudo naturally).

Any tips on why this is happening and how to get round this?
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi doesn't update

Post by Joulinar »

Hi,

can you share following file as attachment

Code: Select all

/var/tmp/dietpi/logs/dietpi-update.log
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Blaiz0r
Posts: 21
Joined: Sat Jul 27, 2019 5:36 pm

Re: Dietpi doesn't update

Post by Blaiz0r »

That log file doesn't exist. I only have the following in /var/tmp/dietpi/logs/

Code: Select all

G_BACKUP_FP.db 
dietpi-firstboot.log
dietpi-preboot.log
dietpi-ramlog_store/       
dietpi-boot.log
dietpi-firstrun-setup.log 
dietpi-ramlog.log 
fs_partition_resize.log
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi doesn't update

Post by Joulinar »

ok stupid question, your system is writable? And not in some kind of r/o mode?
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Blaiz0r
Posts: 21
Joined: Sat Jul 27, 2019 5:36 pm

Re: Dietpi doesn't update

Post by Blaiz0r »

I think it's ok,

I've used this system for several months and installed a couple of items using dietpi-software

Just now I used

Code: Select all

touch tmp.txt
as the dietpi user and this successfully created the file.
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi doesn't update

Post by Joulinar »

can you share output of mount
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Blaiz0r
Posts: 21
Joined: Sat Jul 27, 2019 5:36 pm

Re: Dietpi doesn't update

Post by Blaiz0r »

Code: Select all

/dev/mmcblk0p2 on / type ext4 (rw,noatime,lazytime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=1786692k,nr_inodes=446673,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=25,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
systemd-1 on /mnt/Synology type autofs (rw,relatime,fd=32,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
mqueue on /dev/mqueue type mqueue (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime,lazytime,size=1970176k)
tmpfs on /var/log type tmpfs (rw,nosuid,nodev,noatime,lazytime,size=51200k)
/dev/mmcblk0p1 on /boot type vfat (rw,noatime,lazytime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
overlay on /mnt/dietpi_userdata/docker-data/overlay2/13cf50d4146618904765ee64950aafde5c0a51b7b33be1aba063760605bdc32e/merged type overlay (rw,relatime,lowerdir=/mnt/dietpi_userdata/docker-data/overlay2/l/QMXKVH2SNSSMUYXZIVNKE6J4FO:/mnt/dietpi_userdata/docker-data/overlay2/l/IN3P7ZXN3S47ZO7AFLZSEQ7VK4:/mnt/dietpi_userdata/docker-data/overlay2/l/JTQBLHU7BK4SCK4VIGMXDSRZ3S:/mnt/dietpi_userdata/docker-data/overlay2/l/2LTSKQ2DIVL3TXF7EM7LW57BNF:/mnt/dietpi_userdata/docker-data/overlay2/l/SPD5XCLPU474UXZ2WB5BCIRCAZ:/mnt/dietpi_userdata/docker-data/overlay2/l/T6S6OFRWC2BK5NZN3WHXU4SE4O:/mnt/dietpi_userdata/docker-data/overlay2/l/MKOXAQITIFDSD22DXFVVQSKOAQ,upperdir=/mnt/dietpi_userdata/docker-data/overlay2/13cf50d4146618904765ee64950aafde5c0a51b7b33be1aba063760605bdc32e/diff,workdir=/mnt/dietpi_userdata/docker-data/overlay2/13cf50d4146618904765ee64950aafde5c0a51b7b33be1aba063760605bdc32e/work)
nsfs on /run/docker/netns/default type nsfs (rw)
shm on /mnt/dietpi_userdata/docker-data/containers/ea78de9c8bfe091cb7a7bfc858a5af6148c8d89681994ba4c3e1e7605f50f3bb/mounts/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
192.168.1.87:/volume1/video on /mnt/Synology type nfs (rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.87,mountvers=3,mountport=892,mountproto=udp,local_lock=none,addr=192.168.1.87,_netdev)
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi doesn't update

Post by Joulinar »

ok can you do the update once again and before doing a reboot, check for the availability of /var/tmp/dietpi/logs/dietpi-update.log
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Blaiz0r
Posts: 21
Joined: Sat Jul 27, 2019 5:36 pm

Re: Dietpi doesn't update

Post by Blaiz0r »

I'll kick that off now, it does take about 20 minutes though, it seems very slow, but I'm not too familiar with debian systems.
User avatar
Joulinar
Posts: 4249
Joined: Sat Nov 16, 2019 12:49 am

Re: Dietpi doesn't update

Post by Joulinar »

it depends on the amount of apt packages that will be updated before. as you are on 6.32.2, there might be a lot

however this could be done manually as well

Code: Select all

apt update
apt upgrade
reboot
and check apt update again
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply