Using Tumblweed and after following https://en.opensuse.org/SDB:Nextcloud and installing from the repo (not source), I’ve some problems
As the title suggests, i’m trying to move from php7 to fastcgi and php-fpm. The problem begins with the instructions that are given in by the following. They do not seem well suited for the official install of Nextcloud or perhaps crucial steps are missing.
The first issue is that switching away from prefork to event, as explained in the second link, requires removing apache2-prefork, which also removes nextcloud-apache and the conf file for Nextcloud (nextcloud.conf) from /etc/apache2/conf.d/ that is automatically installed using the wiki instructions. This seemed important, so I saved it and put it back. Or maybe it doesn’t belong, I don’t know.
Each step in the guides otherwise went smoothly and without errors (except that apparmor decided to block php-fpm), and when I was done I ‘systemctl restart aparche2’ and ended up with a blank website. Checking for errors I get ones like this…
[proxy_fcgi:error] [pid 11580:tid 140654959818304] [client 10.0.0.1:34686] AH01071: Got error 'PHP message: PHP Fatal error: require_once(): Failed opening required 'contacts/appinfo/app.php' >
I"m far and away from the server where Nextcloud is installed, so everything was done remotely through ssh. Basically, what i’d like, is advice on what i’m missing in the official wiki’s I posted above or perhaps a guide like the 100+ that are available for Ubuntu, which do not seem to apply since opensuse seems to have a very different scheme where approval for fpm and http2 is given though checks that I don’t know much about.
Ideally, is there there some guidance on how to use the official wiki for installing nextcloud to then move to http2 and php-fpm for opensuse? Or even something like ownlcoud for the same…?