# (resolved) dietpi-update 404

**URL:** https://dietpi.com/forum/t/resolved-dietpi-update-404/47
**Category:** General Discussion
**Created:** [16 July 2015 04:01 UTC](https://dietpi.com/forum/t/resolved-dietpi-update-404/47 "2015-07-16T04:01:24Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ictinc](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/i/ba9def/32.png) [@ictinc](https://dietpi.com/forum/u/ictinc)
#### Post date: [16 July 2015 04:01 UTC](https://dietpi.com/forum/t/resolved-dietpi-update-404/47/1 "2015-07-16T04:01:24Z")

</div>

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/Fourdee/DietPi//dietpi/server\_version](https://raw.githubusercontent.com/Fourdee/DietPi//dietpi/server_version) Resolving [raw.githubusercontent.com](http://raw.githubusercontent.com) ([raw.githubusercontent.com](http://raw.githubusercontent.com))… 23.235.43.133 Connecting to [raw.githubusercontent.com](http://raw.githubusercontent.com) ([raw.githubusercontent.com](http://raw.githubusercontent.com))|23.235.43.133|:443… connected.  
HTTP request sent, awaiting response… 404 Not Found  
2015-07-12 05:43:06 ERROR 404: Not Found.  
root@rpi2:~#

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,

Ronald

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [21 July 2015 16:22 UTC](https://dietpi.com/forum/t/resolved-dietpi-update-404/47/2 "2015-07-21T16:22:22Z")

</div>

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.

```nohighlight
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
reboot

```

dietpi-update can now be run.
