[Solved] Error Messages after Dietpi-update (RPi3)

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
Damian
Posts: 3
Joined: Tue Jan 29, 2019 12:23 pm

[Solved] Error Messages after Dietpi-update (RPi3)

Post by Damian »

Hey there,
im using a RPi3 and after i run dietpi-update today, i think to 6.20. ... (cant see the version anymore :( )

Code: Select all

-bash: Warnung: Das in der Zeile 80 beginnende Here-Dokument geht bis zum Dateiende (erwartet wird `_EOF_').
-bash: /DietPi/dietpi/func/dietpi-globals: Zeile 2536: Syntax Fehler: Unerwartetes Dateiende.
/DietPi/dietpi/func/dietpi-globals: Zeile 2535: Warnung: Das in der Zeile 80 beginnende Here-Dokument geht bis zum Dateiende (erwartet wird `_EOF_').
/DietPi/dietpi/func/dietpi-globals: Zeile 2536: Syntax Fehler: Unerwartetes Dateiende.
/DietPi/dietpi/login: Zeile 41: /DietPi/dietpi/.dietpi-autostart_index: Datei oder Verzeichnis nicht gefunden
/DietPi/dietpi/func/dietpi-globals: Zeile 2535: Warnung: Das in der Zeile 80 beginnende Here-Dokument geht bis zum Dateiende (erwartet wird `_EOF_').
/DietPi/dietpi/func/dietpi-globals: Zeile 2536: Syntax Fehler: Unerwartetes Dateiende.
/DietPi/dietpi/func/obtain_network_details: Zeile 30: G_INIT: Kommando nicht gefunden.
/DietPi/dietpi/login: Zeile 156: ((: == 1 : Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"== 1 \").
/DietPi/dietpi/login: Zeile 164: ((: == 0 : Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"== 0 \").
/DietPi/dietpi/login: Zeile 204: ((: == -1 : Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"== -1 \").
/DietPi/dietpi/func/dietpi-globals: Zeile 2535: Warnung: Das in der Zeile 80 beginnende Here-Dokument geht bis zum Dateiende (erwartet wird `_EOF_').
/DietPi/dietpi/func/dietpi-globals: Zeile 2536: Syntax Fehler: Unerwartetes Dateiende.
/DietPi/dietpi/func/dietpi-banner: Zeile 23: G_INIT: Kommando nicht gefunden.
/DietPi/dietpi/func/dietpi-banner: Zeile 27: G_CHECK_VALIDINT: Kommando nicht gefunden.
Sorry but my System Language is German ... and for my bad Englisch ;)

Edit: i cant run any dietpi- commands anymore
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Error Messages after Dietpi-update (RPi3)

Post by MichaIng »

Seems your dietpi-globals got somehow corrupted. Here is the related code: https://github.com/Fourdee/DietPi/blob/ ... ls#L80-L87
The "here" document is opened after the cat line and closed with _EOF_ as defined.

Can you please check the shown lines in your /DietPi/dietpi/func/dietpi-globals, so we can get an idea what is corrupted there.
To fix it, redownload the file from source:

Code: Select all

wget https://raw.githubusercontent.com/Fourdee/DietPi/master/dietpi/func/dietpi-globals -O /DietPi/dietpi/func/dietpi-globals
source /DietPi/dietpi/func/dietpi-globals
Since, if this one got corrupted, others could have been as well, I would recommend to rerun the last update: dietpi-update -1
Damian
Posts: 3
Joined: Tue Jan 29, 2019 12:23 pm

Re: Error Messages after Dietpi-update (RPi3)

Post by Damian »

Your Fix worked :). I replaced the corrupted globals file and after that i was able to rerun the dietpi-update.
After the rerun, the System dosent show any errors.
Big Thanks
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Error Messages after Dietpi-update (RPi3)

Post by MichaIng »

@Damian
Glad it worked :). Did you update to v6.20.6 meanwhile? There was an issue what could have occurred on v6.20.5 during update process/reboot afterwards. According to your error message it is not related, but just to be failsafe v6.20.6 should be applied.
Damian
Posts: 3
Joined: Tue Jan 29, 2019 12:23 pm

Re: [Solved] Error Messages after Dietpi-update (RPi3)

Post by Damian »

Yes, im on v6.20.6 ... without any errors :)
Post Reply