Project

General

Profile

Upgrading Docker Applications » History » Version 2

Jon Goldberg, 12/18/2017 07:21 AM

1 1 Jon Goldberg
# Upgrading Docker Applications
2
3
On the `red` server, we run many applications in Docker.  Here's the general procedure for upgrading them, along with instructions for specific apps..
4
5
## Invoiceninja
6
7
~~~ shell
8
#backup the db
9
mysqldump invoiceninja > in_pre38.sql
10
11
cd docker
12
# This upgades ALL Docker images that need updating (i.e. unless they're using a version-specific tag)
13
sudo docker-compose pull
14
sudo docker-compose up -d --build
15
# If you need to free up some space
16
docker system prune -a
17
~~~
18 2 Jon Goldberg
19
#### Troubleshooting
20
* Clear InvoiceNinja's cache by load any page with `?clear_cache=true` appended.
21
* In the `env` file, uncomment `APP_DEBUG=true` and bounce the image.