There are always errors


#1

There are always errors on the server.
How to solve this problem?

Exception: {"Message":"Backends provided no user object for zarina.khakimova@ent-en.local","Exception":"OC\User\NoUserException","Code":0,"Trace":"#0 \/var\/www\/owncloud\/apps\/files_sharing\/lib\/sharedstorage.php(77): OC\Files\Filesystem::initMountPoints('zarina.khakimov...')\n#1 \/var\/www\/owncloud\/apps\/files_sharing\/lib\/sharedstorage.php(108): OC\Files\Storage\Shared->init()\n#2 \/var\/www\/owncloud\/apps\/files_sharing\/lib\/sharedstorage.php(578): OC\Files\Storage\Shared->getFile('\/??????????????...')\n#3 \/var\/www\/owncloud\/lib\/private\/files\/storage\/wrapper\/wrapper.php(416): OC\Files\Storage\Shared->getOwner('')\n#4 \/var\/www\/owncloud\/lib\/private\/files\/storage\/wrapper\/availability.php(401): OC\Files\Storage\Wrapper\Wrapper->getOwner('')\n#5 \/var\/www\/owncloud\/lib\/private\/files\/storage\/wrapper\/wrapper.php(416): OC\Files\Storage\Wrapper\Availability->getOwner('')\n#6 \/var\/www\/owncloud\/apps\/files_sharing\/lib\/cache.php(116): OC\Files\Storage\Wrapper\Wrapper->getOwner('')\n#7 \/var\/www\/owncloud\/lib\/private\/files\/view.php(1234): OC\Files\Cache\Shared_Cache->get('')\n#8 \/var\/www\/owncloud\/lib\/private\/connector\/sabre\/serverfactory.php(119): OC\Files\View->getFileInfo('')\n#9 [internal function]: OC\Connector\Sabre\ServerFactory->OC\Connector\Sabre\{closure}(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#10 \/var\/www\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Object(Closure), Array)\n#11 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(456): Sabre\Event\EventEmitter->emit('beforeMethod', Array)\n#12 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#13 \/var\/www\/owncloud\/apps\/files\/appinfo\/remote.php(56): Sabre\DAV\Server->exec()\n#14 \/var\/www\/owncloud\/remote.php(137): require_once('\/var\/www\/ownclo...')\n#15 {main}","File":"\/var\/www\/owncloud\/lib\/private\/files\/filesystem.php","Line":385}


#2

What version of ownCloud are you currently on?

Is the user, mentioned in the log output, still available in your ownCloud? (zarina.khakimova@ent-en.local)

You can try this occ command :

occ ldap:check-user to see if ownCloud can find this user.

Documentation on using the occ command.


#3

dmitriy, version ownCloud 8.2.11.

Indeed, the user from the old domain, we deleted the connection configuration of the old domain.

There are still errors:

xception: {"Message":"HTTP\/1.1 507 Insufficient Storage","Exception":"Sabre\DAV\Exception\InsufficientStorage","Code":0,"Trace":"#0 Resource id #31, Object(OC\Connector\Sabre\Directory), false)\n#1 \/var\/www\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#2 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(1051): Sabre\Event\EventEmitter->emit('beforeCreateFil...', Array)\n#3 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/CorePlugin.php(513): Sabre\DAV\Server->createFile('??????????????\/...', Resource id #31, NULL)\n#4 internal function: Sabre\DAV\CorePlugin->httpPut(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#5 \/var\/www\/owncloud\/3rdparty\/sabre\/event\/lib\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\n#6 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(469): Sabre\Event\EventEmitter->emit('method:PUT', Array)\n#7 \/var\/www\/owncloud\/3rdparty\/sabre\/dav\/lib\/DAV\/Server.php(254): Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))\n#8 \/var\/www\/owncloud\/apps\/files\/appinfo\/remote.php(56): Sabre\DAV\Server->exec()\n#9 \/var\/www\/owncloud\/remote.php(137): require_once('\/var\/www\/ownclo...')\n#10 {main}","File":"\/var\/www\/owncloud\/lib\/private\/connector\/sabre\/quotaplugin.php","Line":108}

How to solve this problem?


#4

what is your storage situation? How much is used how much is left?

You should update, 8.2 is not longer supported.

Also you should check the remnants table in your ownCloud.

If you have a user, the user created data, which uses up storage. If that user is deleted - his data is not, well not immediately.

You can try this commands:

sudo -u www-data php occ user:show-remnants

sudo -u www-data php occ files:cleanup

#5

Thank you. I'll try.