Over the weekend I reinstalled DietPI on a Raspberry Pi Zero W. The download image was 6.2, which upgraded to version 6.4 as part of the install process. I installed some software (lighttpd, openssh), and created a /root/.bash_profile with some commands. I now note that running "dietpi-config" fails unless the full path is provided, and that upon login I don't get the customary DietPi information.
Can I fix this through the gui?
Version 6.4 Raspberry Pi Zero W - broken links?
-
- Posts: 2
- Joined: Mon Mar 12, 2018 8:38 pm
Re: Version 6.4 Raspberry Pi Zero W - broken links?
Hi,Nathan_Wilkes wrote:Over the weekend I reinstalled DietPI on a Raspberry Pi Zero W. The download image was 6.2, which upgraded to version 6.4 as part of the install process. I installed some software (lighttpd, openssh), and created a /root/.bash_profile with some commands. I now note that running "dietpi-config" fails unless the full path is provided, and that upon login I don't get the customary DietPi information.
Can I fix this through the gui?
Please do not remove the DietPi entries in /root/.bashrc
Ensure the following entries exist at the end of the file above:
Code: Select all
. /DietPi/dietpi/func/dietpi-globals
/DietPi/dietpi/login
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.
Donating is the easiest – you can use PayPal or become a DietPi patron.
-
- Posts: 2
- Joined: Mon Mar 12, 2018 8:38 pm
Re: Version 6.4 Raspberry Pi Zero W - broken links? [SOLVED]
Thanks for the fix. I did not delete anything from the .bash_profile file, BTW, so I am not sure what exactly happened.
Re: Version 6.4 Raspberry Pi Zero W - broken links? [SOLVED]
Apologies, should of been /root/.bashrcNathan_Wilkes wrote:Thanks for the fix. I did not delete anything from the .bash_profile file, BTW, so I am not sure what exactly happened.
Please can you verify those entries exist?
And please paste results of service status for:
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.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: Version 6.4 Raspberry Pi Zero W - broken links?
Code: Select all
root@RPi-Zero:~# systemctl status dietpi-ramdisk -l
● dietpi-ramdisk.service - DietPi-RAMdisk
Loaded: loaded (/etc/systemd/system/dietpi-ramdisk.service; enabled; vendor preset: enabled)
Active: active (exited) since Wed 2018-03-14 07:49:08 GMT; 44min ago
CGroup: /system.slice/dietpi-ramdisk.service
Mar 14 07:49:06 RPi-Zero systemd[1]: Starting DietPi-RAMdisk...
Mar 14 07:49:08 RPi-Zero systemd[1]: Started DietPi-RAMdisk.
Mar 14 07:49:08 RPi-Zero systemd[1]: dietpi-ramdisk.service: Failed to set invocation ID on control group /system.slice/dietpi-ramdisk.service, ignoring: Operation not supported
Re: Version 6.4 Raspberry Pi Zero W - broken links?
Thanks @K-plank-plan wrote:Code: Select all
root@RPi-Zero:~# systemctl status dietpi-ramdisk -l ● dietpi-ramdisk.service - DietPi-RAMdisk Loaded: loaded (/etc/systemd/system/dietpi-ramdisk.service; enabled; vendor preset: enabled) Active: active (exited) since Wed 2018-03-14 07:49:08 GMT; 44min ago CGroup: /system.slice/dietpi-ramdisk.service Mar 14 07:49:06 RPi-Zero systemd[1]: Starting DietPi-RAMdisk... Mar 14 07:49:08 RPi-Zero systemd[1]: Started DietPi-RAMdisk. Mar 14 07:49:08 RPi-Zero systemd[1]: dietpi-ramdisk.service: Failed to set invocation ID on control group /system.slice/dietpi-ramdisk.service, ignoring: Operation not supported
If you get time:
- Anything installed on the system?
- Same error after multiple reboots?
- systemctl restart dietpi-ramdisk
- /DietPi/dietpi/dietpi-ramdisk 0
Quick test here is fine with ZeroW:
- V6.3 > v6.3
- note: RPi kernel updated via APT
Code: Select all
root@DietPi:~# systemctl status dietpi-ramdisk.service -l
● dietpi-ramdisk.service - DietPi-RAMdisk
Loaded: loaded (/etc/systemd/system/dietpi-ramdisk.service; enabled; vendo
reset: enabled)
Active: active (exited) since Wed 2018-03-14 20:30:35 GMT; 5min ag
o
Process: 282 ExecStart=/bin/bash -c /boot/dietpi/dietpi-ramdisk 0 &>> /var/
/dietpi/logs/dietpi-ramdisk.log (code=exited, status=0/SUCCESS)
Process: 268 ExecStartPre=/bin/mkdir -p /var/tmp/dietpi/logs (code=exited,
tus=0/SUCCESS)
CGroup: /system.slice/dietpi-ramdisk.service
Mar 14 20:30:32 DietPi systemd[1]: Starting DietPi-RAMdisk...
Mar 14 20:30:35 DietPi systemd[1]: Started DietPi-RAMdisk.
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.
Donating is the easiest – you can use PayPal or become a DietPi patron.