Nextcloud script errors

Hello,

I'm trying to run the upgrader script for Nextcloud, however, Virtualmin is kicking back an error that it can't determine the installed version of PHP. For clarification, due to Nextcloud's requirements for mounting Samba shares, I had to switch to mod_php instead of the fast_cgi (i think that was the version). This is the error I get:

This script cannot be installed, as this virtual server does not meet its requirements : Could not work out exact PHP version

Also, the Virtualmin installer script might need to be modified to meet Nextcloud's code integrity checker: https://docs.nextcloud.com/server/11/admin_manual/issues/code_signing.html

Otherwise, I keep getting this error: Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our documentation. (List of invalid files… / Rescan…)

Thank you,

  • Ryan
Status: 
Active

Comments

When in mod_php mode, if you go to Server Configuration -> Website Options, what PHP version (if any) does it show?

Can you post a screenshot of that same page, while logging in as root ? It shows more details..

Ok, I see the issue - there is a bug in Virtualmin that causes PHP 7 to not be detected properly when using mod_php7. This will be fixed in the next release ... but until then, running under fcgid mode is a good work-around.

Unfortunately that won't work for be because Nextcloud only supports using mod_php when using external storage such as SMB/CIFS. Is there a patch I can apply?

We could send you a beta with the fixes - just let us know if you are running Virtualmin GPL or Pro, and on which linux distro.

That would be great. It's Pro running on CentOS 7.