Hallo,
seit kurzem kann ich keine Benutzer mehr in Nextcloud 25.0.8 auf meinem Univention Server 5.0-4 anzeigen.
Nextcloud lÀuft dort in einer Docker-Instanz.
Statt dessen erscheint nach Aufruf âBenutzerâ die Meldung âEs ist ein Fehler bei der Anfrage aufgetreten. Es kann nicht fortgefahren werden.â
Im Nextcloud Log steht folgendes:
[no app in context] Fehler: RuntimeException: nc_admin does not exist at <<closure>>
0. /var/www/html/lib/private/User/Manager.php line 206
OC\User\Database->getRealUID()
1. /var/www/html/lib/private/User/Manager.php line 308
OC\User\Manager->getUserObject()
2. /var/www/html/apps/provisioning_api/lib/Controller/UsersController.php line 187
OC\User\Manager->search()
3. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 225
OCA\Provisioning_API\Controller\UsersController->getUsersDetails()
4. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 133
OC\AppFramework\Http\Dispatcher->executeController()
5. /var/www/html/lib/private/AppFramework/App.php line 172
OC\AppFramework\Http\Dispatcher->dispatch()
6. /var/www/html/lib/private/Route/Router.php line 298
OC\AppFramework\App::main()
7. /var/www/html/ocs/v1.php line 64
OC\Route\Router->match()
8. /var/www/html/ocs/v2.php line 23
require_once("/var/www/html/ocs/v1.php")
GET /nextcloud/ocs/v2.php/cloud/users/details?offset=0&limit=25&search=
from xxx.yyy.zzz.aaa by benutzername at 2023-07-17T09:45:53+00:00
Der User ânc_adminâ existiert nicht auf dem Univention-Server (ich vermute LDAP), löschen des Datensatzes in der psql-Nextcloud-Datenbank âoc_accountsâ half nicht weiter.
Die config.php:
<?php
$CONFIG = array (
'passwordsalt' => '********secret*********',
'secret' => '************secret***********',
'trusted_domains' =>
array (
0 => 'ucs.mydomain.de',
1 => '192.168.xx.yy',
),
'datadirectory' => '/var/lib/univention-appcenter/apps/nextcloud/data/nextcloud-data',
'dbtype' => 'pgsql',
'version' => '25.0.8.2',
'overwrite.cli.url' => 'https://ucs.mydomain.de/nextcloud',
'dbname' => 'nextcloud',
'dbhost' => '172.aa.bb.1',
'dbport' => '5432',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => '*******secret******',
'installed' => true,
'instanceid' => 'ocrdv1wakrog',
'updatechecker' => 'false',
'memcache.local' => '\\OC\\Memcache\\APCu',
'overwriteprotocol' => 'https',
'overwritewbroot' => '/nextcloud',
'htaccess.RewriteBase' => '/nextcloud',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => 'OCA\\User_LDAP\\LDAPProviderFactory',
'trusted_proxies' =>
array (
0 => '172.aa.bb.1',
),
'mail_smtpdebug' => true,
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'meinemail',
'mail_domain' => 'maildomain.net',
'mail_smtphost' => 'mail.maildomain.net',
'mail_smtpport' => '465',
'maintenance' => false,
'loglevel' => 3,
'theme' => '',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_smtpname' => 'meinemail@domain.net',
'mail_smtppassword' => 'meinSMTPPasswort',
'trashbin_retention_obligation' => '10, 30',
'versions_retention_obligation' => '10, 30',
'memcache.distributed' => '\\OC\\Memcache\\APCu',
'default_phone_region' => 'DE',
'mail_smtpsecure' => 'ssl',
'allow_local_remote_servers' => true,
'one-click-instance' => true,
'one-click-instance.user-limit' => 500,
'one-click-instance.link' => 'https://nextcloud.com/univention/',
);
Nachtrag:
Ich meine, vor lĂ€ngerer Zeit den Benutzer ânc_adminâ auf dem Univention-Server angelegt und Monate spĂ€ter gelöscht zu haben.
Es existieren zudem noch die Konten âncadminâ und âAdministratorâ als Administratorkonten, wobei ich bei âncadminâ ebenfalls ein âUser does not existâ erhalte, wenn ich das Konto mit occ aktivieren will.
Der occ-Befehl ergibt folgende Meldung:
root@nextc-29272196:/var/www/html# sudo -u www-data ./occ user:list
In Database.php line 515:
nc_admin does not exist
Hat jemand eine Idee, wie ich das Problem lösen kann?