apt-get update; apt-get install -y systemd-sysv ca-certificates sudo wget locales --reinstallwget https://raw.githubusercontent.com/Fourdee/DietPi/master/PREP_SYSTEM_FOR_DIETPI.sh -O PREP_SYSTEM_FOR_DIETPI.sh
chmod +x PREP_SYSTEM_FOR_DIETPI.sh
./PREP_SYSTEM_FOR_DIETPI.sh
The minimal Debian install should be converted into a DietPi install
https://i.imgur.com/o5SMzQu.png--------------------------------------------------------------------
- DietPi has encounted an error, and, is unable to continue -
- Please create a ticket: https://github.com/Fourdee/DietPi/issues -
- Copy and paste the BLUE lines below, into the ticket -
--------------------------------------------------------------------
/boot/dietpi menu:/boot/dietpi
/boot/dietpi-CHANGELOG.txt
/boot/dietpi-README.md
/boot/dietpi.txt
/boot/dietpi/.install_stage
/boot/dietpi/boot
/boot/dietpi/dietpi-autostart
...
Log file contents:
chmod: cannot access '/DietPi/dietpi': No such file or directory
So I plugged in the following:
mkdir /DietPi/dietpi/
ln -s /boot/dietpi/ /DietPi/dietpi
Attempted the script again, this time I get the following:
systemctl start dietpi-ramdisk Exit code 1
Job for dietpi-ramdisk.service failed because the control process exited with error code.
See "systemctl status dietpi-ramdisk.service" and "journalctl -xe" for details.
So, yeah ... I'm unsure about what to do now.
@kuerious
Thanks for your report. Jep indeed a wrong chmod target, I fixed it and merged into master: https://github.com/Fourdee/DietPi/pull/2506
Just redo with the steps, which will download the fixed DietPi-PREP version.
I mark as closed, feel free to reopen, if required.
This bug #2503 points to bug #2506 ... which points back here, to 2503.
Where's the fix?
@kuerious
Use the dev branch for PREP script, then select master during GUI:
wget https://raw.githubusercontent.com/Fourdee/DietPi/dev/PREP_SYSTEM_FOR_DIETPI.sh -O PREP_SYSTEM_FOR_DIETPI.sh
chmod +x PREP_SYSTEM_FOR_DIETPI.sh
./PREP_SYSTEM_FOR_DIETPI.sh
@kuerious @Fourdee
I already merged it into master. Okay since it does not change any remaining DietPi code.
At the top you see "master from beta", which means that I merged the fixed code from beta branch (where I added the commit first) into the master branch (release branch).
@MichaIng
Ah nice one, thanks ๐
Been unwell last few days, trying to catch up ๐
@speeedturtle
This is not the same error ๐. Please paste the full output or rerun the plain APT command and paste all output of it:
apt update
Most helpful comment
@kuerious @Fourdee
I already merged it into master. Okay since it does not change any remaining DietPi code.
2506 is a pull request, selecting "Files changed" shows the changed/fixed code line(s).
At the top you see "master from beta", which means that I merged the fixed code from beta branch (where I added the commit first) into the master branch (release branch).