virtualmin / virtualmin-gpl

Virtualmin web hosting control panel for Webmin
https://www.virtualmin.com
GNU General Public License v3.0
376 stars 118 forks source link

Web app "installer"-script should be executed during restoration of virtual servers #993

Closed PitWenkin closed 3 months ago

PitWenkin commented 3 months ago

After migrating (backing up, deleting, restoring) a virtual server from one server to another, RoundCube failed after login.

I could trace it to a missing php extension intl as stated in https://github.com/roundcube/roundcubemail/issues/8755

The web app was properly migrated along the rest of the data, but as on this was the first instance of RoundCube on the new server not all required php extensions were installed.

  1. Shouldn't intl be listed in script_roundcube_php_modules instead of script_roundcube_php_optional_modules Both install instruction for RoundCube 1.5 and 1.6 list it as required

  2. Is there a check/installation of modules required by web apps during a restoration? Would this have installed intl if it had been in the "right" list?

jcameron commented 3 months ago

Good point about the intl module - we will add it to the required list in the next release.

As for re-installing missing PHP modules on domain restore, this is a missing feature that we'll look into implementing for a future release.

jcameron commented 3 months ago

Actually, I just checked the code and all required PHP modules should already be re-activated on the new system as part of the restore process!

iliajie commented 3 months ago

Actually, I just checked the code and all required PHP modules should already be re-activated on the new system as part of the restore process!

Yes, I confirmed too!