documentserver_community
documentserver_community copied to clipboard
Error OCP\Files\NotFoundException
I have the documentserver installed for onlyoffice in nextcloud 18.0.3
The problem is, that i get every 15 min this error.
[documentserver_community] Error: OCP\Files\NotFoundException: /appdata_oclaqn5ofjmm/documentserver_community/doc_1991348121/owner at <
- /var/www/nextcloud/lib/private/Files/Node/Folder.php line 137 OC\Files\Node\Root->get("/appdata_oclaqn ... r")
- /var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFolder.php line 74 OC\Files\Node\Folder->get("owner")
- /var/www/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php line 132 OC\Files\SimpleFS\SimpleFolder->getFile("owner")
- /var/www/nextcloud/apps/documentserver_community/lib/Document/SaveHandler.php line 56 OCA\DocumentServer\Document\DocumentStore->saveChanges(1991348121, [OCA\DocumentSer ... }])
- /var/www/nextcloud/apps/documentserver_community/lib/BackgroundJob/Cleanup.php line 69 OCA\DocumentServer\Document\SaveHandler->flushChanges(1991348121)
- /var/www/nextcloud/lib/public/BackgroundJob/Job.php line 79 OCA\DocumentServer\BackgroundJob\Cleanup->run(null)
- /var/www/nextcloud/cron.php line 125 OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
at 2020-03-26T20:30:01+00:00
Same error over here. Endless list in Nextcloud.log.
I have this as well:
[documentserver_community] Error: OCP\Files\NotFoundException: /appdata_ocw1d96xiveo/documentserver_community/doc_995429521/owner at <<closure>>
0. /var/www/html/lib/private/Files/Node/Folder.php line 137
OC\Files\Node\Root->get("/appdata_ocw1d9 ... r")
1. /var/www/html/lib/private/Files/SimpleFS/SimpleFolder.php line 74
OC\Files\Node\Folder->get("owner")
2. /var/www/html/custom_apps/documentserver_community/lib/Document/DocumentStore.php line 132
OC\Files\SimpleFS\SimpleFolder->getFile("owner")
3. /var/www/html/custom_apps/documentserver_community/lib/Document/SaveHandler.php line 56
OCA\DocumentServer\Document\DocumentStore->saveChanges(995429521, [OCA\DocumentSer ... }])
4. /var/www/html/custom_apps/documentserver_community/lib/BackgroundJob/Cleanup.php line 69
OCA\DocumentServer\Document\SaveHandler->flushChanges(995429521)
5. /var/www/html/lib/public/BackgroundJob/Job.php line 79
OCA\DocumentServer\BackgroundJob\Cleanup->run(null)
6. /var/www/html/cron.php line 125
OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
at 2020-05-04T06:55:01+00:00
I'm running Nextcloud-fpm 18.0.4 in a docker and added cron feature.
Same exact issue. Has there been any movement on this?
Same issue in Nextcloud 18.0.4 with OnlyOffice 4.1.4.
As an additional note, occ documentserver:flush --verbose
give the following output :
In Root.php line 204:
[OCP\Files\NotFoundException ]
/appdata_oc63cp3749vb/documentserver_community/doc_2092940954/owner
Exception trace:
at /homepages/36/d123456789/htdocs/apps/nextcloud/lib/private/Files/Node/Root.php:204
OC\Files\Node\Root->get() at /homepages/36/d123456789/htdocs/apps/nextcloud/lib/private/Files/Node/Folder.php:137
OC\Files\Node\Folder->get() at /homepages/36/d123456789/htdocs/apps/nextcloud/lib/private/Files/SimpleFS/SimpleFolder.php:74
OC\Files\SimpleFS\SimpleFolder->getFile() at /homepages/36/d123456789/htdocs/apps/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php:132
OCA\DocumentServer\Document\DocumentStore->saveChanges() at /homepages/36/d123456789/htdocs/apps/nextcloud/apps/documentserver_community/lib/Document/SaveHandler.php:56
OCA\DocumentServer\Document\SaveHandler->flushChanges() at /homepages/36/d123456789/htdocs/apps/nextcloud/apps/documentserver_community/lib/Command/FlushChanges.php:54
OCA\DocumentServer\Command\FlushChanges->execute() at /homepages/36/d123456789/htdocs/apps/nextcloud/3rdparty/symfony/console/Command/Command.php:255
Symfony\Component\Console\Command\Command->run() at /homepages/36/d123456789/htdocs/apps/nextcloud/core/Command/Base.php:168
OC\Core\Command\Base->run() at /homepages/36/d123456789/htdocs/apps/nextcloud/3rdparty/symfony/console/Application.php:915
Symfony\Component\Console\Application->doRunCommand() at /homepages/36/d123456789/htdocs/apps/nextcloud/3rdparty/symfony/console/Application.php:272
Symfony\Component\Console\Application->doRun() at /homepages/36/d123456789/htdocs/apps/nextcloud/3rdparty/symfony/console/Application.php:148
Symfony\Component\Console\Application->run() at /homepages/36/d123456789/htdocs/apps/nextcloud/lib/private/Console/Application.php:214
OC\Console\Application->run() at /homepages/36/d123456789/htdocs/apps/nextcloud/apps/occweb/lib/Controller/OccController.php:58
OCA\OCCWeb\Controller\OccController->run() at /homepages/36/d123456789/htdocs/apps/nextcloud/apps/occweb/lib/Controller/OccController.php:75
OCA\OCCWeb\Controller\OccController->cmd() at /homepages/36/d123456789/htdocs/apps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php:170
OC\AppFramework\Http\Dispatcher->executeController() at /homepages/36/d123456789/htdocs/apps/nextcloud/lib/private/AppFramework/Http/Dispatcher.php:99
OC\AppFramework\Http\Dispatcher->dispatch() at /homepages/36/d123456789/htdocs/apps/nextcloud/lib/private/AppFramework/App.php:125
OC\AppFramework\App::main() at /homepages/36/d123456789/htdocs/apps/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php:47
OC\AppFramework\Routing\RouteActionHandler->__invoke() at n/a:n/a call_user_func() at /homepages/36/d123456789/htdocs/apps/nextcloud/lib/private/Route/Router.php:299
OC\Route\Router->match() at /homepages/36/d123456789/htdocs/apps/nextcloud/lib/base.php:1008
OC::handleRequest() at /homepages/36/d123456789/htdocs/apps/nextcloud/index.php:38
On the server in /nextcloud/data/appdata_oc63cp3749vb/documentserver_community/
, the directory mentioned above does not exist.
Same issue in Nextcloud 19.0.0 with OnlyOffice 4.2.0.
[documentserver_community] Error: OCP\Files\NotFoundException: /appdata_APPDATANUM/documentserver_community/doc_751809392/owner at <<closure>>
0. /MY-NEXTCLOUD/lib/private/Files/Node/Folder.php line 138
OC\Files\Node\Root->get("/appdata_oc91ac ... r")
1. /MY-NEXTCLOUD/lib/private/Files/SimpleFS/SimpleFolder.php line 76
OC\Files\Node\Folder->get("owner")
2. /MY-NEXTCLOUD/apps/documentserver_community/lib/Document/DocumentStore.php line 132
OC\Files\SimpleFS\SimpleFolder->getFile("owner")
3. /MY-NEXTCLOUD/apps/documentserver_community/lib/Document/SaveHandler.php line 56
OCA\DocumentServer\Document\DocumentStore->saveChanges(751809392, [OCA\DocumentSer ... }])
4. /MY-NEXTCLOUD/apps/documentserver_community/lib/BackgroundJob/Cleanup.php line 69
OCA\DocumentServer\Document\SaveHandler->flushChanges(751809392)
5. /MY-NEXTCLOUD/lib/public/BackgroundJob/Job.php line 80
OCA\DocumentServer\BackgroundJob\Cleanup->run(null)
6. /MY-NEXTCLOUD/cron.php line 126
OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
Same here (nc 19.0.3 with OnlyOffice 6.0.2:
OCP\Files\NotFoundException: /appdata_50ab64f1f133e/documentserver_community/doc_3795411524/owner
- /var/www/nextcloud/lib/private/Files/Node/Folder.php - line 138: OC\Files\Node\Root->get("/appdata_50 ... r")
- /var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFolder.php - line 76: OC\Files\Node\Folder->get("owner")
- /var/www/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php - line 136: OC\Files\SimpleFS\SimpleFolder->getFile("owner")
- /var/www/nextcloud/apps/documentserver_community/lib/Document/SaveHandler.php - line 56: OCA\DocumentServer\Document\DocumentStore->saveChanges(3795411524, [ OCA\Docume ... }])
- /var/www/nextcloud/apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 69: OCA\DocumentServer\Document\SaveHandler->flushChanges(3795411524)
- /var/www/nextcloud/lib/public/BackgroundJob/Job.php - line 80: OCA\DocumentServer\BackgroundJob\Cleanup->run(null)
- /var/www/nextcloud/cron.php - line 126: OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})
Same with 20.0.4, OO 6.2.0. This occurred after editing a file over a couple of days. The file appears to have never been synced, but could be opened, and changes would persist. Now, all of a sudden, it cannot be opened anymore. This same thing has happened with other files, too, and I have a feeling that it might be related to changing the file both on a desktop (via Nextcloud client) and via OO.
OCP\Files\NotFoundException: /appdata_oc6bn2yz0j6t/documentserver_community/doc_1541066646/owner
/var/www/clients/client35/web39/web/lib/private/Files/Node/Folder.php - line 140:
OC\Files\Node\Root->get()
/var/www/clients/client35/web39/web/lib/private/Files/SimpleFS/SimpleFolder.php - line 76:
OC\Files\Node\Folder->get()
/var/www/clients/client35/web39/web/apps/documentserver_community/lib/Document/DocumentStore.php - line 136:
OC\Files\SimpleFS\SimpleFolder->getFile()
/var/www/clients/client35/web39/web/apps/documentserver_community/lib/Document/SaveHandler.php - line 56:
OCA\DocumentServer\Document\DocumentStore->saveChanges()
/var/www/clients/client35/web39/web/apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 69:
OCA\DocumentServer\Document\SaveHandler->flushChanges()
/var/www/clients/client35/web39/web/lib/public/BackgroundJob/Job.php - line 80:
OCA\DocumentServer\BackgroundJob\Cleanup->run()
/var/www/clients/client35/web39/web/cron.php - line 127:
OCP\BackgroundJob\Job->execute()
same issue nextcloud 20.0.6 , ONLYOFFICE 6.2.0
`OCP\Files\NotFoundException: /appdata_ocg0tb7osr7f/documentserver_community/doc_2550172324/owner
/var/www/html/lib/private/Files/Node/Folder.php - line 140:
OC\Files\Node\Root->get("/appdata_oc ... r")
/var/www/html/lib/private/Files/SimpleFS/SimpleFolder.php - line 76:
OC\Files\Node\Folder->get("owner")
/var/www/html/custom_apps/documentserver_community/lib/Document/DocumentStore.php - line 136:
OC\Files\SimpleFS\SimpleFolder->getFile("owner")
/var/www/html/custom_apps/documentserver_community/lib/Document/SaveHandler.php - line 56:
OCA\DocumentServer\Document\DocumentStore->saveChanges(2550172324, [ OCA\Docume ... "])
/var/www/html/custom_apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 69:
OCA\DocumentServer\Document\SaveHandler->flushChanges(2550172324)
/var/www/html/lib/public/BackgroundJob/Job.php - line 80:
OCA\DocumentServer\BackgroundJob\Cleanup->run(null)
/var/www/html/cron.php - line 127:
OCP\BackgroundJob\Job->execute(OC\BackgroundJob\JobList {}, OC\Log {})`
Same here, Nextcloud 20.0.7 Community Document Server 0.1.9 ONLYOFFICE 6.2.0
since Update of CDS from 0.1.8 to 0.1.9
Error repeats every 5 minutes (cron - job): OCP\Files\NotFoundException: /appdata_ocl53e4gxi8m/documentserver_community/doc_1448481991/owner
/var/www/nextcloud/lib/private/Files/Node/Folder.php - line 140:
OC\Files\Node\Root->get()
/var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFolder.php - line 76:
OC\Files\Node\Folder->get()
/var/www/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php - line 137:
OC\Files\SimpleFS\SimpleFolder->getFile()
/var/www/nextcloud/apps/documentserver_community/lib/Document/SaveHandler.php - line 58:
OCA\DocumentServer\Document\DocumentStore->saveChanges()
/var/www/nextcloud/apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 71:
OCA\DocumentServer\Document\SaveHandler->flushChanges()
/var/www/nextcloud/lib/public/BackgroundJob/Job.php - line 80:
OCA\DocumentServer\BackgroundJob\Cleanup->run()
/var/www/nextcloud/cron.php - line 127:
OCP\BackgroundJob\Job->execute()
same here --> - documentserver_community: 0.1.9 on NC:20.0.6
Error | documentserver_community
OCP\Files\NotFoundException: /appdata_ocnudqtqmhau/documentserver_community/doc_1664756893/owner
- /var/www/html/nextcloud/lib/private/Files/Node/Folder.php - line 140: OC\Files\Node\Root->get()
- /var/www/html/nextcloud/lib/private/Files/SimpleFS/SimpleFolder.php - line 76: OC\Files\Node\Folder->get()
- /var/www/html/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php - line 137: OC\Files\SimpleFS\SimpleFolder->getFile()
- /var/www/html/nextcloud/apps/documentserver_community/lib/Document/SaveHandler.php - line 58: OCA\DocumentServer\Document\DocumentStore->saveChanges()
- /var/www/html/nextcloud/apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 71: OCA\DocumentServer\Document\SaveHandler->flushChanges()
- /var/www/html/nextcloud/lib/public/BackgroundJob/Job.php - line 80: OCA\DocumentServer\BackgroundJob\Cleanup->run()
- /var/www/html/nextcloud/cron.php - line 127: OCP\BackgroundJob\Job->execute()
same here --> documentserver_community: 0.1.9 on NC:21.0.1
{"reqId":"Vu4u6fvrodpVOKK8zwDV","level":3,"time":"2021-04-16T21:00:03+02:00","remoteAddr":"","user":"--","app":"documentserver_community","method":"","url":"--","message":{"Exception":"OCP\Files\NotFoundException","Message":"/appdata_ocnudqtqmhau/documentserver_community/doc_1664756893/owner","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/Files/Node/Folder.php","line":149,"function":"get","class":"OC\Files\Node\Root","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/SimpleFS/SimpleFolder.php","line":76,"function":"get","class":"OC\Files\Node\Folder","type":"->"},{"file":"/var/www/html/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php","line":137,"function":"getFile","class":"OC\Files\SimpleFS\SimpleFolder","type":"->"},{"file":"/var/www/html/nextcloud/apps/documentserver_community/lib/Document/SaveHandler.php","line":58,"function":"saveChanges","class":"OCA\DocumentServer\Document\DocumentStore","type":"->"},{"file":"/var/www/html/nextcloud/apps/documentserver_community/lib/BackgroundJob/Cleanup.php","line":71,"function":"flushChanges","class":"OCA\DocumentServer\Document\SaveHandler","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/BackgroundJob/Job.php","line":80,"function":"run","class":"OCA\DocumentServer\BackgroundJob\Cleanup","type":"->"},{"file":"/var/www/html/nextcloud/cron.php","line":128,"function":"execute","class":"OCP\BackgroundJob\Job","type":"->"}],"File":"/var/www/html/nextcloud/lib/private/Files/Node/Root.php","Line":205,"CustomMessage":"Error while applying changes for document 1664756893"},"userAgent":"--","version":"21.0.1.1","id":"6079dfb3e7968"}
how to solve this problem?? i also got same issue
I also have the same issue, any suggestions?
Same here! Documentserver does not work.
Same here NC 20.0.8
me too with 21.0.2
Dear all, Is there way to identify the actual file on NC storage that is responsible for this ? That is, to link "doc_1664756893" in the logs (as per the line above) with an actual path so that I can either examine or remove the file ? Cheers, Olivier
Hi all, I have the same issue, NC 22.1.1 installed on PHP 8.0.10 and pgsql 12.8. Every 5 min (cronjob) it throws this error:
Error documentserver_community OCP\Files\NotFoundException: /appdata_oc7eftbfj9b2/documentserver_community/doc_4217750448/owner
0. /var/www/nextcloud/lib/private/Files/Node/Folder.php - line 146:
OC\Files\Node\Root->get()
1. /var/www/nextcloud/lib/private/Files/SimpleFS/SimpleFolder.php - line 75:
OC\Files\Node\Folder->get()
2. /var/www/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php - line 137:
OC\Files\SimpleFS\SimpleFolder->getFile()
3. /var/www/nextcloud/apps/documentserver_community/lib/Document/SaveHandler.php - line 58:
OCA\DocumentServer\Document\DocumentStore->saveChanges()
4. /var/www/nextcloud/apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 71:
OCA\DocumentServer\Document\SaveHandler->flushChanges()
5. /var/www/nextcloud/lib/public/BackgroundJob/Job.php - line 79:
OCA\DocumentServer\BackgroundJob\Cleanup->run()
6. /var/www/nextcloud/cron.php - line 127:
OCP\BackgroundJob\Job->execute()
As @Aquariu asked, is there a way to identify the file by the id?
I found that at my configuration too. If you click on the "+" for creating a new document. Just click on "Create Template Folder" and a new folder will be created. The error should be gone - NC 22.0
me too
same here again on NC 22.2.6, Community Document Server: 0.1.12
Error documentserver_community OCA\DocumentServer\Document\DocumentConversionException: namespace error : Namespace prefix wp14 on sizeRelH is not defined m: Form 3" hidden="0"/>wp:cNvGraphicFramePr/<wp14:sizeRelH relativeFrom="page" ^ namespace error : Namespace prefix wp14 on pctWidth is not defined en="0"/>wp:cNvGraphicFramePr/<wp14:sizeRelH relativeFrom="page"><wp14:pctWidth ^ namespace error : Namespace prefix wp14 on sizeRelV is not defined p14:pctWidth>0</wp14:pctWidth></wp14:sizeRelH><wp14:sizeRelV relativeFrom="page" ^ namespace error : Namespace prefix wp14 on pctHeight is not defined wp14:pctWidth></wp14:sizeRelH><wp14:sizeRelV relativeFrom="page"><wp14:pctHeight ^ namespace error : Namespace prefix wp14 on sizeRelH is not defined m: Form 2" hidden="0"/>wp:cNvGraphicFramePr/<wp14:sizeRelH relativeFrom="page" ^ namespace error : Namespace prefix wp14 on pctWidth is not defined en="0"/>wp:cNvGraphicFramePr/<wp14:sizeRelH relativeFrom="page"><wp14:pctWidth ^ namespace error : Namespace prefix wp14 on sizeRelV is not defined p14:pctWidth>0</wp14:pctWidth></wp14:sizeRelH><wp14:sizeRelV relativeFrom="page" ^ namespace error : Namespace prefix wp14 on pctHeight is not defined wp14:pctWidth></wp14:sizeRelH><wp14:sizeRelV relativeFrom="page"><wp14:pctHeight ^ namespace error : Namespace prefix wp14 on sizeRelH is not defined m: Form 1" hidden="0"/>wp:cNvGraphicFramePr/<wp14:sizeRelH relativeFrom="page" ^ namespace error : Namespace prefix wp14 on pctWidth is not defined en="0"/>wp:cNvGraphicFramePr/<wp14:sizeRelH relativeFrom="page"><wp14:pctWidth ^ namespace error : Namespace prefix wp14 on sizeRelV is not defined p14:pctWidth>0</wp14:pctWidth></wp14:sizeRelH><wp14:sizeRelV relativeFrom="page" ^ namespace error : Namespace prefix wp14 on pctHeight is not defined wp14:pctWidth></wp14:sizeRelH><wp14:sizeRelV relativeFrom="page"><wp14:pctHeight ^ /var/www/html/nextcloud/apps/documentserver_community/lib/DocumentConverter.php - line 125:
OCA\DocumentServer\Document\ConverterBinary->run()
/var/www/html/nextcloud/apps/documentserver_community/lib/DocumentConverter.php - line 80:
OCA\DocumentServer\DocumentConverter->runCommand()
/var/www/html/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php - line 156:
OCA\DocumentServer\DocumentConverter->saveChanges()
/var/www/html/nextcloud/apps/documentserver_community/lib/LocalAppData.php - line 102:
OCA\DocumentServer\Document\DocumentStore->OCA\DocumentServer\Document{closure}("*** sensiti ... *")
/var/www/html/nextcloud/apps/documentserver_community/lib/Document/DocumentStore.php - line 176:
OCA\DocumentServer\LocalAppData->getReadWriteLocalPath()
/var/www/html/nextcloud/apps/documentserver_community/lib/Document/SaveHandler.php - line 58:
OCA\DocumentServer\Document\DocumentStore->saveChanges()
/var/www/html/nextcloud/apps/documentserver_community/lib/BackgroundJob/Cleanup.php - line 71:
OCA\DocumentServer\Document\SaveHandler->flushChanges()
/var/www/html/nextcloud/lib/public/BackgroundJob/Job.php - line 79:
OCA\DocumentServer\BackgroundJob\Cleanup->run()
/var/www/html/nextcloud/cron.php - line 149:
OCP\BackgroundJob\Job->execute()
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 60 days. Thank you for your contribution!
Retaking repo management include inheritance of old, not treated, and probablty obsolete issues, this is why it was decided to mark issues as stale.
I keep having the problem
same here NC 29.0.5 Community Document Server Version 0.1.18