I followed the instructions. Nextcloud seems to work.
In Security & Setups Warning I have the following new message:
This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them.
1 Like
dnutan
(Marc)
March 21, 2020, 12:13pm
22
yum install rh-php73-php-imagick
(which will install sclo-php73-php-pecl-imagick package).
It’s one of the install requirements of our current nextcloud build with php72. If nextcloud is upgraded to use php73 it shall work “out of the box”.
2 Likes
stephdl
(Stéphane de Labrusse)
March 21, 2020, 1:21pm
24
thank to monitor and report if nextcloud will work or fail with rh-php73
mrmarkuz:
Installation:
yum install http://mrmarkuz.goip.de/mirror/devtest/nethserver-rh-php73-php-fpm-0.0.1-1.2.gd07a0b6.ns7.noarch.rpm
I just edited /etc/httpd/conf.d/zz_nextcloud
for testing but you may consider using a custom template. Don’t forget to undo these changes when the module is released.
<FilesMatch \.php$>
# SetHandler "proxy:unix:/var/run/rh-php72-php-fpm/nethserver-nextcloud-php72.sock|fcgi://localhost/"
SetHandler "proxy:fcgi://127.0.0.1:9003"
</FilesMatch>
if i had followed these instructions.
do i now undo and follow
stephdl:
yum install nethserver-rh-php73-php-fpm --enablerepo=nethserver-testing
cp /etc/opt/rh/rh-php72/php-fpm.d/000-nextcloud.conf /etc/opt/rh/rh-php73/php-fpm.d/000-nextcloud.conf
modify inside /etc/opt/rh/rh-php73/php-fpm.d/000-nextcloud.conf
all references of php72 to php73
then go to /etc/e-smith/templates/etc/httpd/conf.d/zz_nextcloud.conf/10base
and modify
SetHandler "proxy:unix:/var/run/rh-php72-php-fpm/nethserver-nextcloud-php72.sock|fcgi://localhost/"
to
SetHandler "proxy:unix:/var/run/rh-php73-php-fpm/nethserver-nextcloud-php73.sock|fcgi://localhost/"
then
systemctl restart rh-php73-php-fpm
signal-event nethserver-nextcloud-update
these instructions instead?
on the
installation command. is this version much more diferent than
this version?
mrmarkuz
(Markus Neuberger)
March 22, 2020, 3:00am
26
Yes, please undo and follow the instructions of @stephdl
The module versions are the same (0.0.1-1.2.gd07a0b6)
after implementing the said changes, i am getting error 503 when trying to access nextcloud
mrmarkuz
(Markus Neuberger)
March 22, 2020, 5:55am
28
Hm, it’s working here.
Do you find errors in /var/log/messages
?
Did you edit /etc/opt/rh/rh-php73/php-fpm.d/000-nextcloud.conf
and replace php72 with php73?
listen = /var/run/rh-php73-php-fpm/nethserver-nextcloud-php73.sock
;Logs
php_admin_value[error_log] = /var/opt/rh/rh-php73/log/php-fpm/error-nextcloud.log
If not already done install imagick as recommended here and restart the services.
systemctl restart rh-php73-php-fpm
signal-event nethserver-nextcloud-update
Please post your /etc/httpd/conf.d/zz_nextcloud.conf
and /etc/opt/rh/rh-php73/php-fpm.d/000-nextcloud.conf
if does not work.
1 Like
mrmarkuz:
php73.sock
this is hwere the error was. it had php72.sock
1 Like
stephdl
(Stéphane de Labrusse)
March 22, 2020, 9:31am
30
for the record all your modification should be upgraded automatically if we move nextcloud to rh-php73