# Can't upgrade due to old docker version

**URL:** <https://meta.discourse.org/t/cant-upgrade-due-to-old-docker-version/152947>\
**Category:** Self-hosting\
**Created:** [27 mei 2020 om 12:35 UTC](https://meta.discourse.org/t/cant-upgrade-due-to-old-docker-version/152947 "2020-05-27T12:35:26Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![AdrianoFerrari](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adrianoferrari/32/181961_2.png) [@AdrianoFerrari](https://meta.discourse.org/u/AdrianoFerrari)\
**Post date:** [27 mei 2020 om 12:35 UTC](https://meta.discourse.org/t/cant-upgrade-due-to-old-docker-version/152947/1 "2020-05-27T12:35:26Z")

</div>

During upgrade, I did `cd /var/discourse; git pull; ./launcher rebuild app`.

I get “Upgrade Complete” and “UPGRADE OF POSTGRES COMPLETE”. The latter says to “rebuild again”, though it seems to make no difference.

Despite upgrade being complete, I can’t start the app. Doing `./launcher start app` gives the following error:

```plaintext
Unable to find image 'local_discourse/app:latest' locally
/usr/bin/docker: Error response from daemon: pull access denied for local_discourse/app, repository does not exist or may require 'docker login'.
See '/usr/bin/docker run --help'.

```

Can’t restart my app again, and not sure how to proceed.

`./discourse-doctor` doesn’t help (it just detects app isn’t running, tries to rebuild and restart, ends up with same error).

Can’t attach file, as a new user, so here’s what I think it the relevant snippet from debug log:

```plaintext
Failed to rebuild app.

Checking your domain name . . .

Connection to community.gingkoapp.com succeeded.
You should probably remove any non-standard plugins and rebuild.
Attempting to restart existing container. . . 

+ /usr/bin/docker run --shm-size=512m -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=2 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=400000 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e DISCOURSE_DEVELOPER_EMAILS=REDACTED -e DISCOURSE_HOSTNAME=community.gingkoapp.com -e DISCOURSE_SMTP_ADDRESS=smtp.mailgun.org -e DISCOURSE_SMTP_USER_NAME=postmaster@community.gingkoapp.com -e DISCOURSE_SMTP_PASSWORD=REDACTED -h community-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -p 80:80 -p 2222:22 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address 02:fc:04:ee:f5:11 local_discourse/app /sbin/boot
Unable to find image 'local_discourse/app:latest' locally
/usr/bin/docker: Error response from daemon: pull access denied for local_discourse/app, repository does not exist or may require 'docker login'.
See '/usr/bin/docker run --help'.
Failed to restart the container.

```

---

_[View the full topic](https://meta.discourse.org/t/cant-upgrade-due-to-old-docker-version/152947)._
