FS#78270 - [nextcloud] cannot update if nextcloud uses php 8.2

Attached to Project: Community Packages
Opened by Radek (radeksalomon) - Thursday, 20 April 2023, 23:05 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Not able to update Nextcloud 26.0.2 as it requires php-legacy even php 8.2 is installed and 26.0.0 is working with it. Even when both php and php-legacy is present on the machine, the update is not able to finish the process as it forces occ to use php-legacy. Even the php 8.2 is present.

Additional info:
runuser: failed to execute /usr/bin/php-legacy: No such file or directory
error: command failed to execute correctly

Steps to reproduce:
...
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:06 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/nextcloud/issues/1
Comment by Radek (radeksalomon) - Thursday, 20 April 2023, 23:07 GMT
I am not able to edit the summery after sending the task. So it should be [nextcloud] cannot update if nextcloud uses php 8.2
Comment by Sergej Pupykin (sergej) - Friday, 21 April 2023, 00:44 GMT Comment by Radek (radeksalomon) - Friday, 21 April 2023, 00:49 GMT
Before the update not. I did not use the nextcloud/php.ini for this installation. I double checked it with `printenv` and it was not there.
Comment by Sergej Pupykin (sergej) - Saturday, 22 April 2023, 14:38 GMT
> forces occ to use php-legacy

It does not force it, it is just default. If you set NEXTCLOUD_PHP and NEXTCLOUD_PHP_CONFIG before update it will work. You can add these variables to /etc/profile.d/nextcloud.sh for example.

Loading...