Users: error on creation and can't delete

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 12.0.2): 15.0.7
Operating system and version (eg, Ubuntu 17.04): Ubuntu 16.04
Apache or nginx version (eg, Apache 2.4.25): Apache
PHP version (eg, 7.1): 7.3.5

The issue you are facing:

When I create an user (Firefox and Chrome browsers):

  • I get a flashing error “An error occurred during the request. Unable to process”
  • The user is actually created

When I try to delete an user:

  • If using browserS: I get a flashing error “An error occurred during the request. Unable to process”
  • If using php occ user:delete username: I got segmentation fault

Changing quota of the user works. Disable works. Re-enable the user doesn’t work (it goes working forever)

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

Steps to replicate it:

  1. Upgraded to PHP 7.3
  2. Create an user using any browser
  3. Try to delete an user (including trying to use occ command)

The output of your Nextcloud log in Admin > Logging:
Nothing relevant here

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' => 
  array (
    0 => 'xxx.org',
  ),
  'datadirectory' => '/xxx',
  'overwrite.cli.url' => 'https://xxx.org/files',
  'dbtype' => 'mysql',
  'version' => '15.0.7.0',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'xxxx',
  'installed' => true,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'updater.secret' => 'xxxx',
);

The output of your Apache/nginx/system log in /var/log/____:

[...]
[Wed May 08 17:20:09.611034 2019] [core:notice] [pid 19529] AH00052: child pid 20971 exit signal Segmentation fault (11)
[Wed May 08 17:20:09.611076 2019] [core:notice] [pid 19529] AH00052: child pid 22176 exit signal Segmentation fault (11)
[Wed May 08 17:23:24.833697 2019] [core:notice] [pid 19529] AH00052: child pid 22751 exit signal Segmentation fault (11)
[Wed May 08 17:23:26.834957 2019] [core:notice] [pid 19529] AH00052: child pid 22752 exit signal Segmentation fault (11)
[Wed May 08 17:23:27.837459 2019] [core:notice] [pid 19529] AH00052: child pid 22643 exit signal Segmentation fault (11)
[Wed May 08 17:23:28.840038 2019] [core:notice] [pid 19529] AH00052: child pid 20965 exit signal Segmentation fault (11)
[Wed May 08 17:28:23.165007 2019] [core:notice] [pid 19529] AH00052: child pid 22942 exit signal Segmentation fault (11)
[Wed May 08 17:28:24.165407 2019] [core:notice] [pid 19529] AH00052: child pid 21597 exit signal Segmentation fault (11)
[Wed May 08 17:28:24.165446 2019] [core:notice] [pid 19529] AH00052: child pid 22444 exit signal Segmentation fault (11)
[Wed May 08 17:28:25.166657 2019] [core:notice] [pid 19529] AH00052: child pid 22893 exit signal Segmentation fault (11)

Most likely this is not a problem of Nextcloud but of your apache web server, PHP or one of the PHP modules. Are you sure that the PHP upgrade went well and you’ve installed and configured all required PHP modules correctly?

If you would have searched the forum or ask aunt G. for help, you had found several different reports all covering this kind of problem. Very often it is related to the APC, Redis or another module:

https://help.nextcloud.com/search?q=AH00052
https://www.google.com/search?client=firefox-b-d&q=AH00052

BTW, have you checked the Nextcloud log file for information which may help you finding the root cause of the problem?

Thank you. Actually I realised I always had this problem.

  1. Users are actually created despite the message I receive;
  2. I can delete the users firstly disabling them and then going to the disabled users list and removing them from there;
  3. I got the AH00052 error only when I go to the users list page;
  4. I have set the logging to 0 in config.php, but I din’t get anything in the NextCloud logging (only debug “No cache entry found” for the users avatars)