Posix_getuid() error occurs while checking server setup

Nextcloud version (eg, 20.0.5): 24.0.2
Operating system and version (eg, Ubuntu 20.04): Fedora 36 - Kernel: Linux 5.18.5-200.fc36.x86_64
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.53 (Fedora Linux)
PHP version (eg, 7.4): 8.1.7

The issue you are facing:

Security & setup warnings

It’s important for the security and performance of your instance that everything is configured correctly. To help you with that we are doing some automatic checks. Please see the linked documentation for more information.

There are some errors regarding your setup.

  • Error occurred while checking server setup

Is this the first time you’ve seen this error? (Y/N): n

Steps to replicate it:

  1. navigate to settings > admin/overview

The output of your Nextcloud log in Admin > Logging:

Exception: Call to undefined function OCA\Settings\Controller\posix_getuid()
Caused by Error: Call to undefined function OCA\Settings\Controller\posix_getuid()

i believe this error means that i need to install the php-process module php-posix.

can someone please confirm this is the correct solution?

if so, am i correct in assuming that i should install the posix extension as a base package via $ dnf install php-process?

please help :upside_down_face:


anyone familiar with red hat, fedora, centos stream who can help?

php-posix is listed as a requirement in the official documentation, so I think chances are high that your issue will be solved by installing the module…


1 Like

yep, that was it. thanks so much for the reply and the link! :smiling_face:

1 Like