working currently on it, the PR is in approval state
to use nexctloud & rh-php73, I do not know but you could do it eventually yourself and report what we break
working currently on it, the PR is in approval state
to use nexctloud & rh-php73, I do not know but you could do it eventually yourself and report what we break
ok, once approved, let me know so that i may test it and report if it works, or if something breaks.
this will help me get back to using passwords fro nextcloud
I tested it and it works as expected. There’s no more PHP warning in the Nextcloud passwords app. For testing I connected by port instead of sock like @Don_Robertson explained here.
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>
do i change this part to rh-php73-php-fpm
forgive me for lack of clear understanding.
No, I commented out the first line, nothing to change there.
Only the SetHandler "proxy:fcgi://127.0.0.1:9003"
line is important.
To apply the config:
systemctl reload httpd
seems to work fine.
i think right now the hardest thing would be to remember to undo once the updates are pushed.
I think ill start a discussion on tools sysadmins use to manage their lives. keeping track of everything is really hard.
On the Nextcloud settings page you’ll see that some settings are not configured correctly. Usually nextcloud uses an own php73 instance. Maybe it’s better to revert the changes and wait for the release.
Or you apply the settings to php.ini that is located in /etc/opt/rh/rh-php73/php.ini
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
for testing purpose you should validate it first on a VM
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.
imagick
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”.
yum install rh-php73-php-imagick
that’s it. thanks.
thank to monitor and report if nextcloud will work or fail with rh-php73
if i had followed these instructions.
do i now undo and follow
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 php73then go to
/etc/e-smith/templates/etc/httpd/conf.d/zz_nextcloud.conf/10base
and modifySetHandler "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
yum install http://mrmarkuz.goip.de/mirror/devtest/nethserver-rh-php73-php-fpm-0.0.1-1.2.gd07a0b6.ns7.noarch.rpm
installation command. is this version much more diferent than
yum install nethserver-rh-php73-php-fpm --enablerepo=nethserver-testing
this version?
Yes, please undo and follow the instructions of @stephdl
The module versions are the same (0.0.1-1.2.gd07a0b6)
signal-event nethserver-nextcloud-update
after implementing the said changes, i am getting error 503 when trying to access nextcloud
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.
php73.sock
this is hwere the error was. it had php72.sock
for the record all your modification should be upgraded automatically if we move nextcloud to rh-php73