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
Install MySQL/MariaDB on-demand--for MediaWiki, [Nextcloud,] WordPress, Matomo &/or Admin Console #3665
Conversation
Personally I would like to see admin_console_install employ it's own role rather than cluttering up the meta tasks 9-add-ons where only other roles are called. On a side note the munin role would need to come after admin_console to pickup the current state of mysql's state of install. |
Good idea, thanks. Munin might be going away, given its installation is not reliable and it's rarely used, but still it's worth getting the details right until that happens. |
Another source of bloated installs related to general dependencies are hidden within nginx's role |
Indeed 👍 We can tackle that later, if a cleaner haircut makes sense e.g. for dependencies like iiab/roles/nginx/tasks/install.yml Lines 14 to 22 in 8def5c9
|
All tests look good so far:
Using Multipass VMs e.g. with
|
All tests appear solid on Debian 12, as with Ubuntu 22.04 / 24.04: I'd like to merge this PR today, if no serious problems arise 🏹 |
Good enough. Thanks @jvonau for helping to guide this. iiab-diagnostics for LARGE-sized install on Debian 12.2: http://sprunge.us/DeayoO?en @tim-moody @deldesir please LMK if any further refinements are needed — now that this is merged for wider community testing! 💯 |
doesn't nextcloud require mysql? calibre-web? minetest (maybe sqlite)? could take iiab-admin_install as a proxy for adm cons |
I missed that one, Thanks!
Both above default to SQLite: |
Goal is being able to offer Lightweight IIAB installs, in situations where MySQL (MariaDB) is not wanted:
Examples include more rapid unit-testing of diverse aspects of IIAB, as well as other dev and field scenarios where {MediaWiki, WordPress, Matomo, Admin Console} are not desired.
An interim stub is included in roles/9-local-addons/tasks/main.yml to install MySQL (MariaDB) when
admin_console_install: True
— however it's possible that Admin Console doesn't much use setup-feedback and record_feedback.php (invoked by Line 970 of js-menu.js) anymore so this can be further refined in whatever direction is appropriate. Hopefully @tim-moody can offer suggestions, if this PR's stub in 9-local-addons needs further improvement.This PR is functionality-tested in a few different ways on Ubuntu Server 24.04's latest pre-release daily build. (Further testing on different OS's and in more novel scenarios definitely can't hurt, before and after merging, to uncover important/overlooked corner cases!) If changes are required, please LMK! 🎯