Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Mediawiki to 1.35 #294

Open
SuperQ opened this issue Aug 13, 2021 · 6 comments
Open

Upgrade Mediawiki to 1.35 #294

SuperQ opened this issue Aug 13, 2021 · 6 comments

Comments

@SuperQ
Copy link
Collaborator

SuperQ commented Aug 13, 2021

Mediawiki 1.31 is LTS until September 2021. Time to upgrade.

In order to upgrade, we need to update PHP (currently Debian stretch, php 7.0), php 7.3.19 is required, 7.3.29 is in Debian buster.

  • Option 1: Upgrade m3.noisebridge.net to Debian buster.
  • Option 2: Containerize our mediawiki and deploy it under docker/podman.
@SuperQ
Copy link
Collaborator Author

SuperQ commented Aug 13, 2021

I did some digging into how much work it would be to use a Docker image. Mediawiki has official docker images.

The current image is based on the official php 7.4 image, which is based on buster-slim. This seems like a reasonable base to build on.

The official recommendation to handle extensions and such is to build your own image with FROM mediawiki and then tack on whatever you need. This seems reasonable to me. We can build a publishing pipeline with CircleCI/docker hub or similar.

CC @lizzard

@sunjam
Copy link
Contributor

sunjam commented Oct 2, 2021

I recommend always deploying via docker-compose.yml files. It is easy to translate any docker run string into a compose file. Example here.

Also, we could consider Podman, which is fully compatible with Docker, but runs daemon-less and does not need to be run as root.

@SuperQ
Copy link
Collaborator Author

SuperQ commented Oct 2, 2021

Should be easy enough to manage with the Ansible docker compose module.

Agreed, we should probably use podman as well.

@sunjam
Copy link
Contributor

sunjam commented Oct 2, 2021

Currently, we run both podman and docker / docker-compose side-by-side on Unicorn and that works as well. It is only because we didn't know about podman at first.

@mcint
Copy link
Contributor

mcint commented Dec 21, 2023

People interested in this discussion should know about https://www.mediawiki.org/wiki/Meza, however it's RHEL-based. Ansible notebooks for deploying a wiki(farm), with extensions, and even elasicsearch. NASA maintained. It has some framework for debian support, 4 years out of date, PRs would be needed, but likely accepted.

https://github.com/nasa/meza

@wwwerk
Copy link

wwwerk commented Nov 27, 2024

Writing in to say I'm happy to help with this effort and hope an upgrade and a facelift to the Wiki will make for something more mobile/responsive.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants