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
Comments
Submitted by JamieCameron on Sat, 01/21/2017 - 15:56 Comment #1
When in mod_php mode, if you go to Server Configuration -> Website Options, what PHP version (if any) does it show?
Submitted by sespit on Sat, 01/21/2017 - 20:33 Comment #2
It show PHP 7. https://nextcloud.sesp.northwestern.edu/index.php/s/BrpcctrLzuDybqY
Submitted by JamieCameron on Sun, 01/22/2017 - 12:22 Comment #3
Can you post a screenshot of that same page, while logging in as
root
? It shows more details..Submitted by sespit on Mon, 01/23/2017 - 08:15 Comment #4
https://owncloud.sesp.northwestern.edu/index.php/s/GsBVxmmlmYg7yhm
Submitted by JamieCameron on Mon, 01/23/2017 - 20:40 Comment #5
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.
Submitted by sespit on Tue, 01/24/2017 - 06:37 Comment #6
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?
Submitted by JamieCameron on Wed, 01/25/2017 - 01:53 Comment #7
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.
Submitted by sespit on Wed, 01/25/2017 - 05:57 Comment #8
That would be great. It's Pro running on CentOS 7.