See also Tiki and Virtualmin interop and Tiki Manager within Tiki
What
Following discussion on the Dev Mailing List about Tiki Manager, Virtualmin install script (Tiki community script) and Virtualmin existing tools.
Tiki administrators that manage several Tikis remotely need several tools and automated actions to ease their task and reduce maintenance or installation time and hassle. While it may be of some interest for Tiki admin of a single instance this is clearly aimed to be used with many and different instances of Tiki.
Tiki Manager (on Gitlab) was created and deployed in time several members of the Tiki community were using ClearOS. Since a few month the Tiki community is privileging other Linux Distro and Virtualmin/Webmin, the Open Source Web Hosting and Cloud Control Panels. With Virtualmin coming in the game and with it a lot of onboard tools we want to list the tools and tasks required by Tiki instances administrators and list them to see what is done by Virtualmin, what is done by Tiki Manager and what is missing.
Then the idea would be to create an html dashboard / cli console to be able to perform such tasks easily.
All related tools
- https://doc.tiki.org/Console
- https://doc.tiki.org/Manager
- setup.sh which will be superceded by setup.php
- https://gitlab.com/wikisuite/virtualmin-installer
- https://doc.tiki.org/Firewall
- https://doc.tiki.org/Scheduler and https://www.virtualmin.com/documentation/tutorial/how-to-setup-a-cron-job
Strategy
They are different approach to the about install/setup from Virtualmin or from Tiki Manager. There is not real decision but this page may add some light to decide what is best.
Make it possible for Virtualmin to install Tiki Manager
It is possible from within Virtualmin to install different addons or scripts.
One approach would be to:
- Install and configure Virtualmin as usual. It is very important to only install Virtualmin on a fresh Linux. Do not install anything else before. Let Virtualmin install it for you (ex.: MySQL or MariaDB)
- Install Virtualmin and in the "Install script" section select Tiki Manager (This does not exist as of 2020-11-18)
Make it possible for Virtualmin to install Tiki
Virtualmin "free"
Similar to above, but just install Tiki directly (This does not exist as Open Source as of 2020-11-18)
There are examples, so it could be easy to fork one of the other others.
Virtualmin free allow to install a few application (the call it script) like phpmyadmin, roundcude, Wordpress, etc.
To keep with Tiki policy and community we should check what are the condition to have a Tiki script added to the free version.
Eventually we could create our own script to add such option (virtualmin/tiki installer) (as mentioned above).
Virtualmin pro
This seems to exist in Virtualmin Pro: https://www.virtualmin.com/vs
Page with the list of script available in Virtualmin pro : https://www.virtualmin.com/documentation/install-scripts
Anyone can confirm available version and if it works well?
This will presumably have better integration with Virtualmin but less integration with Tiki. Ex.: Tiki Manager's backup is smart and gets data files wherever they are but checking Tiki preferences.
One Tiki Manager to handle Tiki instances on various servers, Virtualmin or otherwise
Tiki Manager is installed on one server
It connects to multiple servers via SSH to manage multiple servers.
If Tiki Manager detects that Tiki is to be run on a Virtualmin server, it could use appropriate paths (This exists for ClearOS but not yet Virtualmin) but they be created beforehand.
Make it possible for Tiki Manager to make Virtualmin create a Virtual Server, and then install a Tiki instance
Tiki Manager could be extended to detect Virtualmin and offer the possibility to create web space, assign domain name, set up SSL, etc. (This does not exist as of 2020-11-18). Doable via API: https://www.virtualmin.com/documentation/developer/cli/create_domain
What do Tiki instances administrators needs ?
- Installation of a new Tiki
- Clone of existing Tiki (duplicate an existing instance: tiki files, custom files, user files, database, ...)
- Tiki maintenance
- Closing a Tiki instance
- Rebuilding index
- Checking logs
- Checking the scheduler
- Backup an instance
- Database operation
- Optimisation
- Slow query informations
- Server maintenance
- Power cycle
- Versions check
- PHP versions available
- Composer ?
- Email management
- ...
Who
- ...
How
- ...
Related
- ...