I logged on to my Asus Tinker that runs DietPi for the first time in a while, and no it won't recognise DietPi commands anymore and errors when trying to run a system update. I could re-install but really don't want to if possible, as I have previously done a fair amount of config.
When I login this is the output, instead of the standard DietPi banner. Also, none of the DietPi commands work anymore
-bash: /DietPi/dietpi/func/dietpi-globals: No such file or directory
-bash: /DietPi/dietpi/login: No such file or directory
systemctl status DietPi.mount # Status of the tmpfs mount
systemctl status dietpi-ramdisk # Status of our RAMdisk service
dmesg # Check for any red error messages, especially related to I/O errors
journalctl # General syslog, very long, might show some additional details compared to dmesg above
It looks like the DietPi-RAMdisk is down. Please do the following:
ls -Al /DietPi # Verify that this directory is empty
mount /DietPi
df # Check that a "tmpfs ... /DietPi" entry is present
systemctl start dietpi-ramdisk
The above should restore DietPi scripts/code to the RAMdisk. Now logout and login the reload DietPi commands, login banner and such.
@big_g_uk
No need to rebuild yet. It's still an uncritical issue .
Please see the DietPi-RAMdisk log: cat /var/tmp/dietpi/logs/dietpi-ramdisk.log
Also try to run it manually to see possible errors and output directly in terminal: /boot/dietpi/func/dietpi-ramdisk 0
Ah and to make APT work btw, since the reason here most likely is system time being out of sync (due to missing DietPi scripts): systemctl start systemd-timesyncd