Closed thealphadollar closed 5 years ago
The test is failing since at the moment this page is not working:
When doing an upgrade or restart, you don't need to restore from backup (you should still definitely take the backup in case anything goes wrong). The database is on the mysql volume, which persists through the upgrade.
I think the containers need to be running before you can run update.php, and the docker-compose command needs to be fed the prod configuration files (there's an example in the runbook).
On Sat, 15 Jun 2019 at 13:07, Shivam Kumar Jha notifications@github.com wrote:
- Version 1.30 is no more supported
- Update extensions accordingly
I'll use the following procedure once the PR is approved to update on prod.
- Take the latest backup of the server and store it locally.
- git pull and docker-compose build
- docker-compose down
- docker volume rm <mediawiki-volume
- docker-compose exec php /srv/mediawiki/maintenance/update.php
- docker-compose up --build -d
- ./script/restore-from-backup.sh
@icyflame https://github.com/icyflame Please have a thorough look.
References:
You can view, comment on, or merge this pull request online at:
https://github.com/metakgp/metakgp-wiki/pull/53 Commit Summary
- Update mediawiki to 1.32.2
File Changes
- M mediawiki/Dockerfile https://github.com/metakgp/metakgp-wiki/pull/53/files#diff-0 (6)
- M mediawiki/install_extensions.sh https://github.com/metakgp/metakgp-wiki/pull/53/files#diff-1 (2)
Patch Links:
- https://github.com/metakgp/metakgp-wiki/pull/53.patch
- https://github.com/metakgp/metakgp-wiki/pull/53.diff
— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/metakgp/metakgp-wiki/pull/53?email_source=notifications&email_token=AAJBT7ZNCMSNVP5IOXMURBDP2TLRVA5CNFSM4HYO47M2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZWDY3A, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJBT72BRMACPD3SGDF4URDP2TLRVANCNFSM4HYO47MQ .
When doing an upgrade or restart, you don't need to restore from backup (you should still definitely take the backup in case anything goes wrong). The database is on the mysql volume, which persists through the upgrade. I think the containers need to be running before you can run update.php, and the docker-compose command needs to be fed the prod configuration files (there's an example in the runbook).
I've updated the instructions; please have a look.
Looks like MultimediaViewer might be bundled with 1.32, in that case we don't need to install it separately.
On Sun, 16 Jun 2019 at 09:15, Siddharth Kannan notifications@github.com wrote:
@icyflame requested changes on this pull request.
We need to fix this error https://travis-ci.org/metakgp/metakgp-wiki/jobs/546100371#L725.
— You are receiving this because your review was requested. Reply to this email directly, view it on GitHub https://github.com/metakgp/metakgp-wiki/pull/53?email_source=notifications&email_token=AAJBT7YWOOSTGJKKAOSJ753P2XZB5A5CNFSM4HYO47M2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB3VBDZI#pullrequestreview-250221029, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJBT7ZU2FB5EAHTEDL4N3TP2XZB5ANCNFSM4HYO47MQ .
This extension comes with MediaWiki 1.31 and above. Thus you do not have to download it again. However, you still need to follow the other instructions provided.
This can be found as a notice on MultimediaViewer's page.
I'll remove it from downloads. Everything else remains the same.
@icyflame @amrav I've updated the PR; have a look please.
I've updated lua path as well since it has been changed.
chmod a+x /path/to/extensions/Scribunto/includes/engines/LuaStandalone/binaries/yourOS/lua
Reference: https://www.mediawiki.org/wiki/Extension:Scribunto#Bundled_binaries
I'll use the following procedure once the PR is approved to update on prod.
git pull
anddocker-compose build
docker-compose down
docker volume rm <mediawiki-volume
docker-compose -f docker-compose.yml -f docker-compose.override.yml -f docker-compose.prod.yml up --build -d
docker-compose exec php /srv/mediawiki/maintenance/update.php
@icyflame Please have a thorough look.
References: