Closed zippytiff closed 3 years ago
I'm having exactly the same issues, also with external shares. (In my case SMB) I hope this will be adressed soon as it slows down the cloud to an ususable speed within an hour or so.
same issue also in 18.0.4 ... waited until 18.0.4 to upgrade from 17 .. now log is spammed with couple of messages every second .... need a workaround or fix
using external storage (if that is related?)
error messages is exactly same as above except username and paths to files of course
stumbled upon this ... which looks pretty much like this issue. Unfortunately no solution.
Ok i'm not sure if everything is correct but i want to share it anyway.
The issue occurs in connection with the Notes App. In my environment users have a default quota of 1 Byte because all the storage is mounted externally or they use groupfolders to store data. This worked fine in the past (NC 17.0.2)
Some users created Notes documents (.md-files) some of them are 1 Byte in size others are much bigger. With a test user i tried to create such a file. The app opened and i was able to write a view characters .. but as soon as nc tried to save it it run in to an error "File could not be loaded. Please check your internet connection." and immediatly i got the OCP\Files\NotFoundException in the nextcloud.log for this user.
No i increased the quota and the error was gone and i could work with the Notes file. Resetting the Quota to 1 Byte now gave the user an error about exeeded quota and that the user is not allowed to add or sync new files. If the users deletes the .md-file everything is fine again.
I think some users (those now throwing errors) were able to create md-files in NC17 without that beeing checked against the quota. But now with nc 18 this is checked and creating that massive amount of errors.
Currently i'm not sure what to do. I could increase the default quota to a few MB. But what i also saw was, that if i increase it for one of the users with exising documents the error continued to pop up. Even when i set the quota to unlimited. So i think there is something more.
Any ideas?
Errors occure for users in table oc_text_sessions and for the documents that they are trying to retrieve refered by document_id
nextcloud=> select * from oc_text_sessions;
Although i doubt that they activly try to retrieve the notes. It looks more like a polling as it is for a very long time. Or they just left the browser tab open.
The documents can be found under your <nextcloud-data-path>/appdata_occbt88n9sbz/text/documents/<document_id>
Updated the default Quota from 1 Byte to 10 MB without luck. Errors still appear. I also checked oc_preferences for custom quota entries and there are only some members of the admin group with unlimited quota all other users don't have this set and therefore should be using the default.
Would really appreciate any comment
do you have one application server or several behind a loadbalancer?
Hi, this is only one application server behind a ngix reverse proxy. Running as an app within Univention Corporate Server. Nextcloud is running in a docker container. The PostgreSQL is running outside of the container.
Is this Issue still valid in NC21.0.2? If not, please close this issue. Thanks! :)
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions.
If the users deletes the .md-file everything is fine again.
Thank you very much @wedge47 for that tip, that also solved my problem. I got following error message:
{"reqId":"2hl8Wqthca1TmiR09R4g","level":3,"time":"2021-10-19T08:18:08+00:00","remoteAddr":"Internal_IP","user":"USERNAME","app":"text","method":"PUT","url":"/apps/text/session/create","message":"","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.81 Safari/537.36","version":"22.2.0.2","exception":{"Exception":"OCP\Files\NotFoundException","Message":"","Code":0,"Trace":[ {"file":"/config/www/nextcloud/apps/text/lib/Service/ApiService.php","line":81,"function":"getFileById","class":"OCA\Text\Service\DocumentService","type":"->"}, {"file":"/config/www/nextcloud/apps/text/lib/Controller/SessionController.php","line":50,"function":"create","class":"OCA\Text\Service\ApiService","type":"->"}, {"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"create","class":"OCA\Text\Controller\SessionController","type":"->"}, {"file":"/config/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\AppFramework\Http\Dispatcher","type":"->"}, {"file":"/config/www/nextcloud/lib/private/AppFramework/App.php","line":156,"function":"dispatch","class":"OC\AppFramework\Http\Dispatcher","type":"->"}, {"file":"/config/www/nextcloud/lib/private/Route/Router.php","line":301,"function":"main","class":"OC\AppFramework\App","type":"::"}, {"file":"/config/www/nextcloud/lib/base.php","line":1000,"function":"match","class":"OC\Route\Router","type":"->"}, {"file":"/config/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/config/www/nextcloud/apps/text/lib/Service/DocumentService.php","Line":409,"CustomMessage":"--"}}
I only got this error message, when I entered a specific folder in my NC. After your hint with the small .md files, I opened several .md files in that folder, one could not be opened. After I deleted that file, no error pops up, when I enter the folder on the NC. Thank you once again!
Hi
Log full of these,
Seems to co-incide with extra load on the platform and external shares not being available immediately
full details here
[text] Error: OCP\Files\NotFoundException: at <>