-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add upgrade guide for R48 and update docs
- Loading branch information
1 parent
2a207db
commit 7eeac40
Showing
6 changed files
with
28 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# OpenKool R48 upgrade instructions | ||
|
||
## Prerequisites | ||
- Dockerized OpenKool R47 installation | ||
- Backup of config files (might get overridden) | ||
- MySQL database backup (no downgrade path) | ||
|
||
## Steps | ||
1. Change the image name in your compose file | ||
`daniellerch/openkool:r47` > `daniellerch/openkool:r48` | ||
2. Pull image and restart | ||
`docker-compose up -d` | ||
3. Run the setup script | ||
A) `docker-compose exec app bash /var/www/html/install/setup.sh` | ||
You reject overriding ko-config.php and other modified config files. Manual changes to ko-config.php are not required this time. | ||
B) `docker-compose exec app bash /var/www/html/install/setup.sh --force` | ||
The script will override your config files and you have to run the web installer again (see [install.md](install.md)). | ||
4. Call install/update.phpsh from your web root with parameter -p to show changes, with -a to update the database and with -s to run update scripts. | ||
`docker-compose exec app bash` | ||
`./install/update.phpsh -a` | ||
`./install/update.phpsh -s` | ||
6. Your upgrade is finished. You may enable the new module `telegram` in `ko-config.php` now. |