(resolved) dietpi-update 404

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.

(resolved) dietpi-update 404

Post by ictinc »

Hi there,

Since about a week it seems not possible anymore to run the dietpi update script on my rpi2. 
I'm able to ping the host so it doesn't seem like a local network issue.

D I E T - P I | 05:43 | Sun 07/12/2015
V75 | Raspberry Pi 2 (1GB)
DietPi-Update: Checking for DietPi updates, Please wait...
--2015-07-12 05:43:02-- https://raw.githubusercontent.com/Fourd ... er_version Resolving raw.githubusercontent.com (raw.githubusercontent.com)... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)||:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2015-07-12 05:43:06 ERROR 404: Not Found.

Ive already replaced dietpi-update with a version from github but the error remains.

I hope someone is able to work with me to figure this.

Kind regards,

User avatar
Site Admin
Posts: 2773
Joined: Tue Feb 06, 2007 1:36 pm

Re: dietpi-update 404 not found

Post by Fourdee »

It appears at some point, your device wasnt shut-down correctly (eg: power cut, hard power cycle). Because of this, some of your settings have been corrupted.

Patch & Update:
We have released the update that will stop this from occurring. Unfortunately, if you have the 404 error currently, this will need to be patched manually. Doing so will resolve the 404 error, however, it will also reset DietPi settings to default.

I would highly recommend a fresh image install of DietPi, however, if this is not an option, please backup your personal data and run the code below.

Code: Select all

cd /DietPi
rm dietpi.txt
rm config.txt
wget https://raw.githubusercontent.com/MichaIng/DietPi/master/config.txt
wget https://raw.githubusercontent.com/MichaIng/DietPi/master/dietpi.txt
dietpi-update can now be run.
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.