Project

General

Profile

Upgrading Docker Applications » History » Version 3

Jon Goldberg, 01/04/2018 02:10 AM

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