Project

General

Profile

Upgrading Docker Applications » History » Revision 3

Revision 2 (Jon Goldberg, 12/18/2017 07:21 AM) → Revision 3/4 (Jon Goldberg, 01/04/2018 02:10 AM)

{{last_updated_at}} by {{last_updated_by}} 
 # Upgrading Docker Applications 

 On the `red` server, we run many applications in Docker.    Here's the general procedure for upgrading them, along with instructions for specific apps.. 

 ## Invoiceninja 

 ~~~ shell 
 #backup the db 
 mysqldump invoiceninja > in_pre38.sql 

 cd docker 
 # This upgades ALL Docker images that need updating (i.e. unless they're using a version-specific tag) 
 sudo docker-compose pull 
 sudo docker-compose up -d --build 
 # If you need to free up some space 
 docker system prune -a 
 ~~~ 

 #### Troubleshooting 
 * Clear InvoiceNinja's cache by load any page with `?clear_cache=true` appended. 
 * In the `env` file, uncomment `APP_DEBUG=true` and bounce the image.