# Disable CDN causes old images with CDN URL can not be shown

**URL:** <https://meta.discourse.org/t/disable-cdn-causes-old-images-with-cdn-url-can-not-be-shown/29657>\
**Category:** Product Support\
**Created:** [June 4, 2015, 4:25pm UTC](https://meta.discourse.org/t/disable-cdn-causes-old-images-with-cdn-url-can-not-be-shown/29657 "2015-06-04T16:25:37Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![trandatnh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/trandatnh/32/115055_2.png) [@trandatnh](https://meta.discourse.org/u/trandatnh)\
**Post date:** [June 4, 2015, 4:40pm UTC](https://meta.discourse.org/t/disable-cdn-causes-old-images-with-cdn-url-can-not-be-shown/29657/5 "2015-06-04T16:40:52Z")

</div>

I ran the command but I got this error

```plaintext
root@daynhauhoc:/var/discourse# ./launcher enter app
Error: Command not found: exec
Error: Command not found: -it
Usage: docker [OPTIONS] COMMAND [arg...]

```

I am using `v1.4.0.beta1 +4`. I used to be able to `rake` last time when I migrated from S3 to local. I think docker is ~~up to date~~ outdated.

```plaintext
root@daynhauhoc:/var/discourse# git pull
Already up-to-date.
root@daynhauhoc:/var/discourse# ./launcher rebuild app
Ensuring discourse docker is up to date
Fetching origin
Discourse Docker is up-to-date

```

I’ve just temporary upgraded Digital Ocean droplet to higher plan using flexible resize feature because I think the rake will take a lot of CPU usage. ~~But I don’t think resizing the droplet causes any issue with docker.~~

I am using docker 1.2

```plaintext
root@daynhauhoc:/var/discourse# docker -v
Docker version 1.2.0, build fa7b24f

```

Upgraded to 1.6

```plaintext
apt-get install lxc-docker
root@daynhauhoc:/var# docker -v
Docker version 1.6.2, build 7c8fca2

```

* * *

**Update 1** Successfully enter app and raking

```plaintext
root@daynhauhoc:/# rake posts:rebake
Rebaking post markdown for 'default'
      943 / 35451 ( 2.7%)

```

**Update 2** All the images are OK now. Thank @zogstrip 👍

---

_[View the full topic](https://meta.discourse.org/t/disable-cdn-causes-old-images-with-cdn-url-can-not-be-shown/29657)._
