Closed sbe-arg closed 1 month ago
same problem here
Please post the actual full log entry for the exceptions you're seeing. You can do so from the Web UI by expanding the entry and using the "Copy raw" option.
Also please provide your Server config, as requested in the issue template.
regarding the server version. I'm running on truenas scale official app the latest version with all applications up to date. No clue what php, web, db server versions are set.
{
"reqId": "...",
"level": 3,
"time": "2024-03-23T04:03:24+00:00",
"remoteAddr": "...",
"user": "...",
"app": "text",
"method": "PUT",
"url": "/apps/text/session/1399/create",
"message": "No permission to access this file",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
"version": "28.0.3.2",
"exception": {
"Exception": "OCP\\Files\\NotFoundException",
"Message": "",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/apps/text/lib/Service/ApiService.php",
"line": 91,
"function": "getFileById",
"class": "OCA\\Text\\Service\\DocumentService",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/apps/text/lib/Controller/SessionController.php",
"line": 61,
"function": "create",
"class": "OCA\\Text\\Service\\ApiService",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 230,
"function": "create",
"class": "OCA\\Text\\Controller\\SessionController",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 137,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
[
"OCA\\Text\\Controller\\SessionController"
],
"create"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/App.php",
"line": 184,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
[
"OCA\\Text\\Controller\\SessionController"
],
"create"
]
},
{
"file": "/var/www/html/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OCA\\Text\\Controller\\SessionController",
"create",
[
"OC\\AppFramework\\DependencyInjection\\DIContainer"
],
[
"1399",
"text.Session.create"
]
]
},
{
"file": "/var/www/html/lib/base.php",
"line": 1069,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": [
"/apps/text/session/1399/create"
]
},
{
"file": "/var/www/html/index.php",
"line": 39,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/html/apps/text/lib/Service/DocumentService.php",
"Line": 495,
"message": "No permission to access this file",
"exception": [],
"CustomMessage": "No permission to access this file"
},
"id": "..."
}
{
"reqId": "...",
"level": 3,
"time": "2024-03-23T04:03:18+00:00",
"remoteAddr": "...",
"user": "...",
"app": "index",
"method": "POST",
"url": "/apps/text/session/1399/sync",
"message": "No proper share data",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36",
"version": "28.0.3.2",
"exception": {
"Exception": "InvalidArgumentException",
"Message": "No proper share data",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/apps/text/lib/Service/ApiService.php",
"line": 227,
"function": "getFileForSession",
"class": "OCA\\Text\\Service\\DocumentService",
"type": "->",
"args": [
"*** sensitive parameters replaced ***",
null
]
},
{
"file": "/var/www/html/apps/text/lib/Controller/SessionController.php",
"line": 88,
"function": "sync",
"class": "OCA\\Text\\Service\\ApiService",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 230,
"function": "sync",
"class": "OCA\\Text\\Controller\\SessionController",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/Http/Dispatcher.php",
"line": 137,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
[
"OCA\\Text\\Controller\\SessionController"
],
"sync"
]
},
{
"file": "/var/www/html/lib/private/AppFramework/App.php",
"line": 184,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->",
"args": [
[
"OCA\\Text\\Controller\\SessionController"
],
"sync"
]
},
{
"file": "/var/www/html/lib/private/Route/Router.php",
"line": 315,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::",
"args": [
"OCA\\Text\\Controller\\SessionController",
"sync",
[
"OC\\AppFramework\\DependencyInjection\\DIContainer"
],
[
"1399",
"text.Session.sync"
]
]
},
{
"file": "/var/www/html/lib/base.php",
"line": 1069,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->",
"args": [
"/apps/text/session/1399/sync"
]
},
{
"file": "/var/www/html/index.php",
"line": 39,
"function": "handleRequest",
"class": "OC",
"type": "::",
"args": []
}
],
"File": "/var/www/html/apps/text/lib/Service/DocumentService.php",
"Line": 449,
"message": "No proper share data",
"exception": [],
"CustomMessage": "No proper share data"
},
"id": "..."
}
Back to add that disabling the notes app and using notes via files editor has a massive improvement in the web ui performance. not sure whats going on
Can you provide some of the log entries that actually reference the Notes app?
This looks like it's failing in the session management.
Do you have a reverse proxy? If so, what kind? One possibly is if you have asset caching on in, say, NPM which can mess up sessions/authentication (among other things).
A similar report from the forum: https://help.nextcloud.com/t/new-install-errors-in-the-logs/188273
I have disabled the notes app and using the files embedded editor for md files instead.
Looks like double add fit for purpose in my usecase.
Hi @sbe-arg - How were you logged in to the Web UI? Were you using impersonate or a guest account by chance?
I haven't had this problem since upgrading.
Please make a clear and concise description of what the bug is.
Steps to reproduce
go to notes create one note. try to delete the note
Expected behaviour
no errors
Actual behaviour
connection fail errors sometimes when trying to create but consistently when deleting notes. have to refresh the page and the note has been deleted
I run on chromium
Screenshots
also noticed this
Server
Please complete the following information.
Nextcloud configuration:
Client
Please complete the following information.
Log files
Add relevant parts of your
nextcloud.log
and/or your browser's JavaScript console here.