# Health check failing and repeating "posix\_getuid()" error

**URL:** <https://help.nextcloud.com/t/health-check-failing-and-repeating-posix-getuid-error/40788>\
**Category:** ℹ️ Support\
**Created:** [November 11, 2018, 7:12am UTC](https://help.nextcloud.com/t/health-check-failing-and-repeating-posix-getuid-error/40788 "2018-11-11T07:12:27Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eroji1](https://help.nextcloud.com/user_avatar/help.nextcloud.com/eroji1/32/13798_2.png) [@eroji1](https://help.nextcloud.com/u/eroji1)\
**Post date:** [November 11, 2018, 7:12am UTC](https://help.nextcloud.com/t/health-check-failing-and-repeating-posix-getuid-error/40788/1 "2018-11-11T07:12:28Z")

</div>

Nextcloud version: 14.03  
Operating system and version: CentOS 7.5  
Apache or nginx version: 1.12.2-2.el7  
PHP version: 7.2.12-1.el7.remi

I have installed the latest Nextcloud with PHP 7.2 from remi repo. Everything appears to be working with the exception of health check (settings/ajax/checksetup) failing with 500 and constant error being logged about posix\_getuid(). Is this a bug or something wrong with my configuration?

```
Error: Call to undefined function OC\Settings\Controller\posix_getuid()

0. /var/www/nextcloud/settings/Controller/CheckSetupController.php - line 624:OC\Settings\Controller\CheckSetupController-&gt;getAppDirsWithDifferentOwner()
1. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 166:OC\Settings\Controller\CheckSetupController-&gt;check()
2. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:OC\AppFramework\Http\Dispatcher-&gt;executeController(OC\Settings\ ... {}, "check")
3. /var/www/nextcloud/lib/private/AppFramework/App.php - line 118:OC\AppFramework\Http\Dispatcher-&gt;dispatch(OC\Settings\ ... {}, "check")
4. /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:OC\AppFramework\App::main("OC\\Setting ... r", "check", OC\AppFramew ... {}, { _route: "s ... "})
5. OC\AppFramework\Routing\RouteActionHandler-&gt;__invoke({ _route: "s ... "})
6. /var/www/nextcloud/lib/private/Route/Router.php - line 297:call_user_func(OC\AppFramew ... {}, { _route: "s ... "})
7. /var/www/nextcloud/lib/base.php - line 987:OC\Route\Router-&gt;match("/settings/ajax/checksetup")
8. /var/www/nextcloud/index.php - line 42:OC::handleRequest()
```

---

<div class="post-metadata">

**Author:** ![eroji1](https://help.nextcloud.com/user_avatar/help.nextcloud.com/eroji1/32/13798_2.png) [@eroji1](https://help.nextcloud.com/u/eroji1)\
**Post date:** [November 11, 2018, 8:23am UTC](https://help.nextcloud.com/t/health-check-failing-and-repeating-posix-getuid-error/40788/2 "2018-11-11T08:23:30Z")

</div>

Found the problem. It needed the php-process module installed.

---

<div class="post-metadata">

**Author:** ![nextsheep](https://help.nextcloud.com/letter_avatar/nextsheep/32/6_22734026db12803ebb3e059622ac3534.png) [@nextsheep](https://help.nextcloud.com/u/nextsheep)\
**Post date:** [December 13, 2018, 5:30pm UTC](https://help.nextcloud.com/t/health-check-failing-and-repeating-posix-getuid-error/40788/3 "2018-12-13T17:30:45Z")

</div>

Thank you. Could you please share your knowledge and tell us how to install the php-process module?

---

<div class="post-metadata">

**Author:** ![eroji1](https://help.nextcloud.com/user_avatar/help.nextcloud.com/eroji1/32/13798_2.png) [@eroji1](https://help.nextcloud.com/u/eroji1)\
**Post date:** [December 13, 2018, 5:46pm UTC](https://help.nextcloud.com/t/health-check-failing-and-repeating-posix-getuid-error/40788/4 "2018-12-13T17:46:12Z")

</div>

In my case, I am using CentOS 7 and Remi repo for PHP 7.2. I needed to install php72-php-posix for this error to go away.

---

<div class="post-metadata">

**Author:** ![nextsheep](https://help.nextcloud.com/letter_avatar/nextsheep/32/6_22734026db12803ebb3e059622ac3534.png) [@nextsheep](https://help.nextcloud.com/u/nextsheep)\
**Post date:** [December 15, 2018, 4:50pm UTC](https://help.nextcloud.com/t/health-check-failing-and-repeating-posix-getuid-error/40788/5 "2018-12-15T16:50:30Z")

</div>

Now I know how to activate posix. It is an extension in the php.ini. Just remove the comment of the line with the posix.so

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 8:12am UTC](https://help.nextcloud.com/t/health-check-failing-and-repeating-posix-getuid-error/40788/6 "2024-12-04T08:12:29Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 3:36pm UTC](https://help.nextcloud.com/t/health-check-failing-and-repeating-posix-getuid-error/40788/7 "2024-12-09T15:36:21Z")

</div>


