Migrated to new build environment. Updated dependencies, including moment.js among others.
A new Docker instance would get the wrong ownership and permissions on the SQLite db file used by ZendTo, which would break it. Now fixed.
Updated the Smarty templating library to version 4.1 which supports PHP 8.1.
The Docker build is now documented at zend.to/docker.
I have built a Docker setup for ZendTo. I have tested it and it appears to work. Documentation will appear at the zend.to/docker page. For interest, the Docker setup is based on Debian 10. It's nice and small, but is a distro I already support and understand well.
Updated all dependencies to the latest available versions. Updated ZendTo-SimpleSAMLphp to latest available. ZendTo now works on PHP 8.0 and 8.1. ZendTo Installer updated to handle Ubuntu 21 and Rocky Linux 8.5.
The latest betas I believe to be stable are:
However, I strongly advise you to use the beta installer on a fresh system.
The file at https://zend.to/files/ZendTo-Version-Beta will tell you the latest beta version number.
Instead of the old VM images, I have written an installer which will automate (almost!) the entire process of installing ZendTo on to a minimal server installation.
It talks to you along the way, asks if you want to do each of the 8 steps, and asks you to confirm the odd question or two. It pauses quite a bit so you can see what it's doing, giving you the chance to stop it temporarily (Ctrl-S) to read what it's done before you continue (Ctrl-Q).
It is also modular, so you can run each of the 8 parts alone; you may want to do this when, for example, there is an update to PHP5 and you want to just rebuild PHP with "big uploads" support.
The parts are:
I have tested the installer on:
There are 2 things the installer does not currently do:
You can download the new installer now. Then just unpack it and run it as root with
tar xzf install-beta.ZendTo.tgz cd install.ZendTo ./install.sh
If you look inside its Ubuntu-Debian or CentOS-RedHat directories, you will see the 8 stages. The main install.sh will ask you whether you want to run each stage and will walk you through what it is doing. Feel free to pause (Ctrl-S) or stop it (Ctrl-C) at any time; if you stop it you can just re-run it. Each of the 8 stages can be run independently at any time by just running that particular stage number's script.
There is 1 command-line option that can be used on either install.sh or any its stages: "--defaults" tells the installer to just use the default values it suggests, and not to pause long at any point. It will run entirely unattended.
After you have installed the package (or just updated to the new rpm/deb/tgz package), you will find the new upgrader for preferences.php and zendto.conf in /opt/zendto/bin/upgrade. Just run it. It will automatically copy all your old preferences.php and zendto.conf settings into the new files, while keeping your comments, extra "define"s you may have added, and such like. It keeps copies of all your previous ones in an "old" sub-directory.
Please do tell me what you think of this upgrade, and in particular the new installer. Please report all bugs, issues, suggestions and so on.
The mailing list would be the best place, so we can all discuss them, but otherwise you can of course email me too.