Can't creat user or group

i can’t add user or group
always show error message
An error occured during the request. Unable to proceed.

i installed it using softaculus on my cpanelhost
[Nextcloud] 16.0.3

what should i do ??

that message is in the overview

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

  • The “Strict-Transport-Security” HTTP header is not set to at least “15552000” seconds. For enhanced security, it is recommended to enable HSTS as described in the [security tips :arrow_upper_right:]

  • Your web server is not properly set up to resolve “/.well-known/caldav”. Further information can be found in the [documentation]

  • Your web server is not properly set up to resolve “/.well-known/carddav”. Further information can be found in the [documentation]

Please double check the [installation guides :arrow_upper_right:]

Check the security of your Nextcloud over [our security scan :arrow_upper_right:]

log file

[index] Error: Error: Call to undefined function OC\Settings\Controller\posix_getuid() at <>

  1. /home/amcegcom/ line 696
  2. /home/amcegcom/ line 166
  3. /home/amcegcom/ line 99
    OC\AppFramework\Http\Dispatcher->executeController(OC\Settings\Cont … {}, “check”)
  4. /home/amcegcom/ line 126
    OC\AppFramework\Http\Dispatcher->dispatch(OC\Settings\Cont … {}, “check”)
  5. /home/amcegcom/ line 47
    OC\AppFramework\App::main(“OC\Settings\C … r”, “check”, OC\AppFramework\ … {}, {_route: “settings.CheckSetup.check”})
  6. <>
    OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: “settings.CheckSetup.check”})
  7. /home/amcegcom/ line 297
    undefinedundefinedcall_user_func(OC\AppFramework\ … {}, {_route: “settings.CheckSetup.check”})
  8. /home/amcegcom/ line 975
  9. /home/amcegcom/ line 42

GET /index.php/settings/ajax/checksetup
from by admin at 2019-07-31T12:21:12+00:00

This can be fixed by adding the following code to your .htaccess file. Just add it at the end of the file and adapt the server name.

<VirtualHost *:443>
    <IfModule mod_headers.c>
      Header always set Strict-Transport-Security "max-age=15552000; includeSubDomains"

For the .well-known stuff you can check this thread:

But if you use Softaculus, you can try to install it fresh from scratch. Just remove the current installation and do a new one. This takes less than 5 minutes.

Note, as it is provided within cpanel as a service all issues with the instance can be addressed to your provider.

Kind regards