Task #1997
Add upgrade task to build script
Start date:
08/16/2017
Due date:
% Done:
100%
History
#1 Updated by Luke Murphey over 7 years ago
- Target version changed from 1.5.3 to 1.5.4
#2 Updated by Luke Murphey over 7 years ago
Here is the process:
- Stop the web-server
- Sleep to let the web-server stop
- Make a temporary directory
- Unzip the package into the temporary directory
- Copy in the settings file
- Move the /var directory over
- Move the media/files directory over (this contains the generated epub documents)
- Rename the original directory to old_$(date +%Y%m%d%H%M%S
- Rename the temporary directory back to the original directory name
- Optionally clear the cache (rm /var/cache)
- Restart the web-server
#3 Updated by Luke Murphey over 7 years ago
- Status changed from New to In Progress
#4 Updated by Luke Murphey over 7 years ago
- % Done changed from 0 to 80
#5 Updated by Luke Murphey about 7 years ago
- Status changed from In Progress to Closed
- % Done changed from 80 to 100