Files deleted on Client are not deleted on the Server


#1

Hi
I have a bunch of Pictures on my Laptop runing archlinux and I sync them to NC. Now I have deleted a lot of crapy pictures on my Laptop and they still exist on NC. While deleting the Pictures I had no fast connection to the Internet only the Hotspot on a Train, so I paused the sync. Running the Sync at home doesn’t change anything. Then I updated the client to 2.3.0beta, wich doesn’t solve the Problem.

My Server Log is full with

{“reqId”:“J7e7F2dr0wPVLwJ8UmDM”,“remoteAddr”:“89.204.139.146”,“app”:“no app in context”,“message”:“Exception: {“Exception”:“OC\\ForbiddenException”,“Message”:“This request is not allowed to access the filesystem”,“Code”:0,“Trace”:”#0 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(1124): OC\\Lockdown\\Filesystem\\NullStorage->mkdir(‘files_encryptio…’)\n#1 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(266): OC\\Files\\View->basicOperation(‘mkdir’, ‘\/arne\/files_enc…’, Array)\n#2 \/var\/www\/nextcloud\/lib\/private\/Encryption\/Keys\/Storage.php(321): OC\\Files\\View->mkdir(’\/arne\/files_enc…’)\n#3 \/var\/www\/nextcloud\/lib\/private\/Encryption\/Keys\/Storage.php(212): OC\\Encryption\\Keys\\Storage->keySetPreparation(’\/arne\/files_enc…’)\n#4 \/var\/www\/nextcloud\/lib\/private\/Encryption\/Keys\/Storage.php(110): OC\\Encryption\\Keys\\Storage->setKey(’\/arne\/files_enc…’, ‘-----BEGIN PUBL…’)\n#5 \/var\/www\/nextcloud\/apps\/encryption\/lib\/KeyManager.php(287): OC\\Encryption\\Keys\\Storage->setUserKey(‘arne’, ‘publicKey’, ‘-----BEGIN PUBL…’, ‘OC_DEFAULT_MODU…’)\n#6 \/var\/www\/nextcloud\/apps\/encryption\/lib\/KeyManager.php(246): OCA\\Encryption\\KeyManager->setPublicKey(‘arne’, ‘-----BEGIN PUBL…’)\n#7 \/var\/www\/nextcloud\/apps\/encryption\/lib\/Users\/Setup.php(77): OCA\\Encryption\\KeyManager->storeKeyPair(‘arne’, ‘xfAJFBv4A2’, Array)\n#8 \/var\/www\/nextcloud\/apps\/encryption\/lib\/Hooks\/UserHooks.php(166): OCA\\Encryption\\Users\\Setup->setupUser(‘arne’, ‘xfAJFBv4A2’)\n#9 \/var\/www\/nextcloud\/lib\/private\/legacy\/hook.php(106): OCA\\Encryption\\Hooks\\UserHooks->login(*** sensitive parameters replaced )\n#10 \/var\/www\/nextcloud\/lib\/private\/Server.php(303): OC_Hook::emit(‘OC_User’, ‘post_login’, Array)\n#11 [internal function]: OC\\Server->OC\\{closure}(Object(OC\\User\\User), ‘xfAJFBv4A2’)\n#12 \/var\/www\/nextcloud\/lib\/private\/Hooks\/EmitterTrait.php(99): call_user_func_array(Object(Closure), Array)\n#13 \/var\/www\/nextcloud\/lib\/private\/Hooks\/PublicEmitter.php(33): OC\\Hooks\\BasicEmitter->emit(’\\\\OC\\\\User’, ‘postLogin’, Array)\n#14 \/var\/www\/nextcloud\/lib\/private\/User\/Session.php(534): OC\\Hooks\\PublicEmitter->emit(’\\\\OC\\\\User’, ‘postLogin’, Array)\n#15 \/var\/www\/nextcloud\/lib\/private\/User\/Session.php(297): OC\\User\\Session->loginWithToken(‘MQIOC-NVOKV-WXZ…’)\n#16 \/var\/www\/nextcloud\/lib\/private\/User\/Session.php(329): OC\\User\\Session->login( sensitive parameters replaced )\n#17 \/var\/www\/nextcloud\/lib\/private\/User\/Session.php(433): OC\\User\\Session->logClientIn( sensitive parameters replaced ***)\n#18 \/var\/www\/nextcloud\/lib\/base.php(1064): OC\\User\\Session->tryBasicAuthLogin(Object(OC\\AppFramework\\Http\\Request), Object(OC\\Security\\Bruteforce\\Throttler))\n#19 \/var\/www\/nextcloud\/lib\/base.php(998): OC::handleLogin(Object(OC\\AppFramework\\Http\\Request))\n#20 \/var\/www\/nextcloud\/index.php(40): OC::handleRequest()\n#21 {main}",“File”:"\/var\/www\/nextcloud\/lib\/private\/Lockdown\/Filesystem\/NullStorage.php",“Line”:36}",“level”:3,“time”:“2017-03-07T08:49:20+01:00”,“method”:“POST”,“url”:"/index.php/apps/ocsms/push?format=json",“user”:“arne”,“version”:“11.0.2.7”}
{“reqId”:“J7e7F2dr0wPVLwJ8UmDM”,“remoteAddr”:“89.204.139.146”,“app”:“core”,“message”:“Exception when running cache gc: This request is not allowed to access the filesystem”,“level”:2,“time”:“2017-03-07T08:49:20+01:00”,“method”:“POST”,“url”:"/index.php/apps/ocsms/push?format=json",“user”:“arne”,“version”:“11.0.2.7”}
{“reqId”:“nIdxkzsGG3p1LJnDoPun”,“remoteAddr”:"",“app”:“files”,“message”:“Backends provided no user object for “,“level”:3,“time”:“2017-03-07T08:51:28+01:00”,“method”:”–”,“url”:"–",“user”:"–",“version”:“11.0.2.5”}
{“reqId”:“nIdxkzsGG3p1LJnDoPun”,“remoteAddr”:"",“app”:“no app in context”,“message”:“Exception: {“Exception”:“OC\\User\\NoUserException”,“Message”:“Backends provided no user object”,“Code”:0,“Trace”:”#0 [internal function]: OC\\Files\\Node\\Root->getUserFolder(NULL)\n#1 \/var\/www\/nextcloud\/lib\/private\/Files\/Node\/LazyRoot.php(65): call_user_func_array(Array, Array)\n#2 \/var\/www\/nextcloud\/lib\/private\/Files\/Node\/LazyRoot.php(282): OC\\Files\\Node\\LazyRoot->__call(‘getUserFolder’, Array)\n#3 \/var\/www\/nextcloud\/apps\/files_downloadactivity\/lib\/Activity\/Listener.php(141): OC\\Files\\Node\\LazyRoot->getUserFolder(NULL)\n#4 \/var\/www\/nextcloud\/apps\/files_downloadactivity\/lib\/Activity\/Listener.php(77): OCA\\FilesDownloadActivity\\Activity\\Listener->getSourcePathAndOwner(’\/arne\/files\/med…’)\n#5 \/var\/www\/nextcloud\/apps\/files_downloadactivity\/lib\/AppInfo\/Application.php(47): OCA\\FilesDownloadActivity\\Activity\\Listener->readFile(’\/arne\/files\/med…’)\n#6 \/var\/www\/nextcloud\/lib\/private\/legacy\/hook.php(106): OCA\\FilesDownloadActivity\\AppInfo\\Application->listenReadFile(Array)\n#7 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(1243): OC_Hook::emit(‘OC_Filesystem’, ‘read’, Array)\n#8 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(1113): OC\\Files\\View->runHooks(Array, ‘\/arne\/files\/med…’)\n#9 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(967): OC\\Files\\View->basicOperation(‘fopen’, ‘\/arne\/files\/med…’, Array, ‘r’)\n#10 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(978): OC\\Files\\View->fopen(’\/arne\/files\/med…’, ‘r’)\n#11 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Service\/FileService.php(242): OC\\Files\\View->toTmpFile(’\/arne\/files\/med…’)\n#12 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Service\/IndexService.php(273): OCA\\Nextant\\Service\\FileService->generateAbsolutePath(Object(OCA\\Nextant\\Items\\ItemDocument), Object(OCA\\Nextant\\Items\\ItemError))\n#13 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Service\/BackgroundService.php(141): OCA\\Nextant\\Service\\IndexService->extract(‘files’, ‘arne’, Array, Array)\n#14 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Service\/BackgroundService.php(110): OCA\\Nextant\\Service\\BackgroundService->cronIndexFiles()\n#15 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Service\/BackgroundService.php(83): OCA\\Nextant\\Service\\BackgroundService->cronIndex()\n#16 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Cron\/BackgroundIndex.php(58): OCA\\Nextant\\Service\\BackgroundService->run()\n#17 \/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/Job.php(53): OCA\\Nextant\\Cron\\BackgroundIndex->run(NULL)\n#18 \/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/TimedJob.php(54): OC\\BackgroundJob\\Job->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#19 \/var\/www\/nextcloud\/cron.php(128): OC\\BackgroundJob\\TimedJob->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#20 {main}",“File”:"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Root.php",“Line”:366}",“level”:3,“time”:“2017-03-07T08:51:28+01:00”,“method”:"–",“url”:"–",“user”:"–",“version”:“11.0.2.5”}
{“reqId”:“nIdxkzsGG3p1LJnDoPun”,“remoteAddr”:"",“app”:“files”,“message”:“Backends provided no user object for “,“level”:3,“time”:“2017-03-07T08:53:38+01:00”,“method”:”–”,“url”:"–",“user”:"–",“version”:“11.0.2.5”}
{“reqId”:“nIdxkzsGG3p1LJnDoPun”,“remoteAddr”:"",“app”:“no app in context”,“message”:“Exception: {“Exception”:“OC\\User\\NoUserException”,“Message”:“Backends provided no user object”,“Code”:0,“Trace”:”#0 [internal function]: OC\\Files\\Node\\Root->getUserFolder(NULL)\n#1 \/var\/www\/nextcloud\/lib\/private\/Files\/Node\/LazyRoot.php(65): call_user_func_array(Array, Array)\n#2 \/var\/www\/nextcloud\/lib\/private\/Files\/Node\/LazyRoot.php(282): OC\\Files\\Node\\LazyRoot->__call(‘getUserFolder’, Array)\n#3 \/var\/www\/nextcloud\/apps\/files_downloadactivity\/lib\/Activity\/Listener.php(141): OC\\Files\\Node\\LazyRoot->getUserFolder(NULL)\n#4 \/var\/www\/nextcloud\/apps\/files_downloadactivity\/lib\/Activity\/Listener.php(77): OCA\\FilesDownloadActivity\\Activity\\Listener->getSourcePathAndOwner(’\/arne\/files\/med…’)\n#5 \/var\/www\/nextcloud\/apps\/files_downloadactivity\/lib\/AppInfo\/Application.php(47): OCA\\FilesDownloadActivity\\Activity\\Listener->readFile(’\/arne\/files\/med…’)\n#6 \/var\/www\/nextcloud\/lib\/private\/legacy\/hook.php(106): OCA\\FilesDownloadActivity\\AppInfo\\Application->listenReadFile(Array)\n#7 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(1243): OC_Hook::emit(‘OC_Filesystem’, ‘read’, Array)\n#8 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(1113): OC\\Files\\View->runHooks(Array, ‘\/arne\/files\/med…’)\n#9 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(967): OC\\Files\\View->basicOperation(‘fopen’, ‘\/arne\/files\/med…’, Array, ‘r’)\n#10 \/var\/www\/nextcloud\/lib\/private\/Files\/View.php(978): OC\\Files\\View->fopen(’\/arne\/files\/med…’, ‘r’)\n#11 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Service\/FileService.php(242): OC\\Files\\View->toTmpFile(’\/arne\/files\/med…’)\n#12 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Service\/IndexService.php(273): OCA\\Nextant\\Service\\FileService->generateAbsolutePath(Object(OCA\\Nextant\\Items\\ItemDocument), Object(OCA\\Nextant\\Items\\ItemError))\n#13 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Service\/BackgroundService.php(141): OCA\\Nextant\\Service\\IndexService->extract(‘files’, ‘arne’, Array, Array)\n#14 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Service\/BackgroundService.php(110): OCA\\Nextant\\Service\\BackgroundService->cronIndexFiles()\n#15 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Service\/BackgroundService.php(83): OCA\\Nextant\\Service\\BackgroundService->cronIndex()\n#16 \/var\/www\/nextcloud\/apps\/nextant\/lib\/Cron\/BackgroundIndex.php(58): OCA\\Nextant\\Service\\BackgroundService->run()\n#17 \/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/Job.php(53): OCA\\Nextant\\Cron\\BackgroundIndex->run(NULL)\n#18 \/var\/www\/nextcloud\/lib\/private\/BackgroundJob\/TimedJob.php(54): OC\\BackgroundJob\\Job->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#19 \/var\/www\/nextcloud\/cron.php(128): OC\\BackgroundJob\\TimedJob->execute(Object(OC\\BackgroundJob\\JobList), Object(OC\\Log))\n#20 {main}",“File”:"\/var\/www\/nextcloud\/lib\/private\/Files\/Node\/Root.php",“Line”:366}",“level”:3,“time”:“2017-03-07T08:53:38+01:00”,“method”:"–",“url”:"–",“user”:"–",“version”:“11.0.2.5”}

And the Client log to one of the Corresponing Files:

03-07 11:08:56:485 0x1df4f70 _csync_merge_algorithm_visitor: INSTRUCTION_RENAME server file: 2017/2017.03.01_Skitour Hochalter Kühtai/_3013014.JPG.xmp

I don’t realy know how to fix the issue or where to finde more Information in finding the exact Problem. So if someone has an Idea it would be nice if she*he would share it.

p.s.I’m sorry for the format of the logs. Suggestions for better formats are welcome.


#2

It look’s like a filesystem problem ¿Maybe permissions?


#3

Thanks for the reply. To be honest I have formatted the laptop a long time ago.
I don’t have the message in my log any more, so the problem seems to be solved by some update, but I can’t tell what solved it.