Open tunloop opened 2 months ago
Log says no permission to that php file.
It's referring to the file being edited. The error comes from the rich text app:
Do you have similar behavior when editing a file outside of the Notes app? (E.g. directly creating or opening an md
or txt
file from Files)
Also see: nextcloud/text#3899
Log says no permission to that php file.
It's referring to the file being edited. The error comes from the rich text app:
Do you have similar behavior when editing a file outside of the Notes app? (E.g. directly creating or opening an
md
ortxt
file from Files)
I actually didn't know that editing in general has an autosave feature? Because, yeah, its the same error when editing files in the Documents app.
{
"reqId": "HIQxW84rQlufb0qDHoAR",
"level": 3,
"time": "2024-09-10T17:48:55+00:00",
"remoteAddr": "192.168.0.2",
"user": "admin1",
"app": "text",
"method": "PUT",
"url": "/apps/text/session/12914/create",
"message": "No permission to access this file",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0",
"version": "29.0.6.1",
"exception": {
"Exception": "OCP\\Files\\NotFoundException",
"Message": "",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/apps/text/lib/Service/ApiService.php",
"line": 92,
"function": "getFileById",
"class": "OCA\\Text\\Service\\DocumentService",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/text/lib/Controller/SessionController.php",
"line": 62,
"function": "create",
"class": "OCA\\Text\\Service\\ApiService",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 232,
"function": "create",
"class": "OCA\\Text\\Controller\\SessionController",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 138,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 184,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 331,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/var/www/nextcloud/lib/base.php",
"line": 1058,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
},
{
"file": "/var/www/nextcloud/index.php",
"line": 49,
"function": "handleRequest",
"class": "OC",
"type": "::"
}
],
"File": "/var/www/nextcloud/apps/text/lib/Service/DocumentService.php",
"Line": 514,
"message": "No permission to access this file",
"exception": [],
"CustomMessage": "No permission to access this file"
},
"id": "66e086a726f3c"
}
But why would it not have access to the file Im trying to edit? Manually saving works. And I checked, the files are writable by the PHP user and group.
@tunloop if I understand your report correctly, this is about the Notes app, right? Let me transfer the issue there then.
@tunloop if I understand your report correctly, this is about the Notes app, right? Let me transfer the issue there then.
I actually don't know. This error happens in the documents section when editing text files in rich text mode, so this error would impact the rich text app in general and not only the notes app?
I've also experienced auto-save issues on two different shared .md files edited from Nextcloud Notes. Today everything looked fine for more than 40mn editing, it's only after quitting and reopening the file, and looking at its edit history that I noticed none of the edits had been saved except the very first two. Hard to pin down exactly in which conditions this happens as autosaving often seems to work, but for what it is worth, those files are shared, and, in one case only, it was being collaboratively edited (again, with a pretty smooth editing experience all along, and the other editor's changes were perfectly well saved). I'm currently accessing Nextcloud 29.0.7.1 from Firefox 130.0.1.
Created a note yesterday evening about what to do today on my note phone app, directly changed into the rich text editor after creating it, made around 10 entrys and didn't touched the app for around a minute. I don't know anymore what I did after it but a moment ago I wanted to look and I had an empty note. That was not the first time, it's really annoying. Please fix
I am still experiencing the same error as above with Nextcloud 30.0.1
Steps to reproduce
Expected behaviour
Like in edit mode, the rich text edit mode should save a second or two after inactivity.
Actual behaviour
Rich Text editor mode has no auto save feature and requires manually saving each time
Logs
Log says no permission to that php file. There is access to that file. Globally. And all directories above it.
Server
Please complete the following information.
Nextcloud configuration:
Client
Please complete the following information.