FS#78049 - [nextcloud]missing PHP module, which is sysvsem

Attached to Project: Community Packages
Opened by zoltix (zoltix) - Thursday, 30 March 2023, 12:30 GMT
Last edited by David Runge (dvzrv) - Thursday, 30 March 2023, 22:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
David Runge (dvzrv)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After updating to version 26.0.0, I noticed in the "Security & Setup Warnings" that there was a missing PHP module, which is sysvsem. I'm not sure how to add it to php-legacy or perhaps a bug?
Additional info:
* package version(s) 26.0.0-1
* config and/or log files etc.
warning on my site
This instance is missing some recommended PHP modules. For improved performance and better compatibility it is highly recommended to install them.
sysvsem

This task depends upon

Closed by  David Runge (dvzrv)
Thursday, 30 March 2023, 22:08 GMT
Reason for closing:  Implemented
Additional comments about closing:  Add `extension=sysvsem` to php/php-fpm/uwsgi config.

Applied for uwsgi in 26.0.0-2
Comment by zoltix (zoltix) - Thursday, 30 March 2023, 17:46 GMT
list of PHP modules but sysvsem is not there.

sudo -u nextcloud /usr/bin/php-legacy -c /etc/webapps/nextcloud/php.ini -m

[PHP Modules]
apcu
bcmath
bz2
Core
ctype
curl
date
dom
exif
fileinfo
filter
gd
hash
iconv
imagick
intl
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
SimpleXML
SPL
standard
tokenizer
xml
xmlreader
xmlwriter
zip
zlib

[Zend Modules]
Comment by zoltix (zoltix) - Thursday, 30 March 2023, 17:48 GMT

the binary seems present on the system.

ls /usr/lib/php-legacy/modules

apcu.so exif.so iconv.so pdo_mysql.so sysvshm.so
bcmath.so ffi.so imagick.so shmop.so zip.so
bz2.so ftp.so intl.so soap.so
calendar.so gd.so ldap.so sockets.so
curl.so gettext.so mysqli.so sysvmsg.so
dba.so gmp.so opcache.so sysvsem.so
Comment by David Runge (dvzrv) - Thursday, 30 March 2023, 22:03 GMT
@zoltix: Thanks for the report!

This is not a packaging bug though, as php/php-legacy provide the sysvsem module (it's more of a configuration issue).
I have adapted the uwsgi config to reflect this and will also add it to an upcoming php-fpm config.

Depending on your setup you either add it to your global php.ini, a uwsgi config, a php-fpm config or a specific php.ini that you created for the nextcloud application.

Loading...