Nextcloud error after update to 27.0.1
-
my cloudron does have the same sympthoms.
after login it showed this (sry, only in german):
which gives a unspecified "Internal server error"Nextcloud Interner Serverfehler Der Server konnte die Anfrage nicht fertig stellen. Sollte dies erneut auftreten, sende bitte die nachfolgenden technischen Einzelheiten an deinen Server-Administrator. Weitere Details können im Server-Protokoll gefunden werden. Technische Details Entfernte Adresse: 51.79.xxx.xxx Anfragekennung: DAgwHLC5EPUbt1qC2eLE
I did:
- restart the app
- checked and raised mem for the container to 2.46G
- checked ps, nothing special
- raised
"MaxRequestWorkers"
to 50 as mentioned here - onlyoffice document server is responding
Since I only realised the error after the latest app-update, I went backt to cldr.-nc. v4.17.3 without change.
- NC-desktop is working.
- weblogin does not work
CLDRN is direct attached to Internet - same setup since years.
=> Run cron job Jul 23 14:35:20 {"reqId":"fZJjJ6IqishJuwnAflFL","level":3,"time":"2023-07-23T07:35:20+00:00","remoteAddr":"","user":"--","app":"cron","method":"","url":"--","message":"OCA\\Files_Reader\\Hooks::OCA\\Files_Reader\\{closure}(): Argument #1 ($node) must be of type OCA\\Files_Reader\\Node, OC\\Files\\Node\\Folder given","userAgent":"--","version":"26.0.3.2","exception":{"Exception":"TypeError","Message":"OCA\\Files_Reader\\Hooks::OCA\\Files_Reader\\{closure}(): Argument #1 ($node) must be of type OCA\\Files_Reader\\Node, OC\\Files\\Node\\Folder given","Code":0,"Trace":[{"function":"OCA\\Files_Reader\\{closure}","class":"OCA\\Files_Reader\\Hooks","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/lib/private/Hooks/EmitterTrait.php","line":105,"function":"call_user_func_array"},{"file":"/app/code/lib/private/Hooks/PublicEmitter.php","line":40,"function":"emit","class":"OC\\Hooks\\BasicEmitter","type":"->"},{"file":"/app/code/lib/private/Files/Node/Root.php","line":143,"function":"emit","class":"OC\\Hooks\\PublicEmitter","type":"->"},{"file":"/app/code/lib/private/Files/Node/Node.php","line":133,"function":"emit","class":"OC\\Files\\Node\\Root","type":"->"},{"file":"/app/code/lib/private/Files/Node/Folder.php","line":361,"function":"sendHooks","class":"OC\\Files\\Node\\Node","type":"->"},{"file":"/app/data/apps/dav/lib/BackgroundJob/UploadCleanup.php","line":96,"function":"delete","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/app/code/lib/public/BackgroundJob/Job.php","line":78,"function":"run","class":"OCA\\DAV\\BackgroundJob\\UploadCleanup","type":"->"},{"file":"/app/code/lib/public/BackgroundJob/TimedJob.php","line":103,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/app/code/lib/public/BackgroundJob/TimedJob.php","line":93,"function":"start","class":"OCP\\BackgroundJob\\TimedJob","type":"->"},{"file":"/app/code/cron.php","line":152,"function":"execute","class":"OCP\\BackgroundJob\\TimedJob","type":"->"}],"File":"/app/data/apps/files_reader/lib/Hooks.php","Line":18,"CustomMessage":"--"}} Jul 23 14:35:20 TypeError: OCA\Files_Reader\Hooks::OCA\Files_Reader\{closure}(): Argument #1 ($node) must be of type OCA\Files_Reader\Node, OC\Files\Node\Folder given in /app/data/apps/files_reader/lib/Hooks.php:18 Jul 23 14:35:20 Stack trace: Jul 23 14:35:20 #0 [internal function]: OCA\Files_Reader\Hooks::OCA\Files_Reader\{closure}() Jul 23 14:35:20 #1 /app/code/lib/private/Hooks/EmitterTrait.php(105): call_user_func_array() Jul 23 14:35:20 #2 /app/code/lib/private/Hooks/PublicEmitter.php(40): OC\Hooks\BasicEmitter->emit() Jul 23 14:35:20 #3 /app/code/lib/private/Files/Node/Root.php(143): OC\Hooks\PublicEmitter->emit() Jul 23 14:35:20 #4 /app/code/lib/private/Files/Node/Node.php(133): OC\Files\Node\Root->emit() Jul 23 14:35:20 #5 /app/code/lib/private/Files/Node/Folder.php(361): OC\Files\Node\Node->sendHooks() Jul 23 14:35:20 #6 /app/data/apps/dav/lib/BackgroundJob/UploadCleanup.php(96): OC\Files\Node\Folder->delete() Jul 23 14:35:20 #7 /app/code/lib/public/BackgroundJob/Job.php(78): OCA\DAV\BackgroundJob\UploadCleanup->run() Jul 23 14:35:20 #8 /app/code/lib/public/BackgroundJob/TimedJob.php(103): OCP\BackgroundJob\Job->start() Jul 23 14:35:20 #9 /app/code/lib/public/BackgroundJob/TimedJob.php(93): OCP\BackgroundJob\TimedJob->start() Jul 23 14:35:20 #10 /app/code/cron.php(152): OCP\BackgroundJob\TimedJob->execute() Jul 23 14:35:20 #11 {main}
update 1:
found more error mesg. related to onlyoffice:Jul 23 15:02:30 - - - [23/Jul/2023:08:02:30 +0000] "GET /index.php/login HTTP/1.1" 200 5634 "-" "Mozilla (CloudronHealth)" Jul 23 15:02:36 51.79.xxx.xxx - guenter [23/Jul/2023:08:02:36 +0000] "PROPFIND /remote.php/dav/files/guenter/ HTTP/1.1" 207 252 "-" "Mozilla/5.0 (Linux) mirall/3.6.2 (build 12295) (Nextcloud, debian-6.2.16-4-pve ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jul 23 15:02:37 [Sun Jul 23 08:02:37.801577 2023] [php:notice] [pid 2075] [client 172.18.0.1:36136] {"reqId":"y8tmYtnrzYyPXqZCW1CM","level":3,"time":"2023-07-23T08:02:37+00:00","remoteAddr":"51.79.xxx.xxx","user":"guenter","app":"richdocuments","method":"GET","url":"/ocs/v2.php/apps/notifications/api/v2/notifications?format=json","message":"Failed to fetch the Collabora capabilities endpoint: Client error: `GET https://office.eb8.org/hosting/capabilities` resulted in a `404 Not Found` response:\\n<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n<meta charset=\\"utf-8\\">\\n<title>Error</title>\\n</head>\\n<body>\\n<pre>Cannot GET /host (truncated...)\\n","userAgent":"Mozilla/5.0 (Linux) mirall/3.6.2 (build 12295) (Nextcloud, debian-6.2.16-4-pve ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"26.0.3.2","exception":{"Exception":"GuzzleHttp\\\\Exception\\\\ClientException","Message":"Client error: `GET https://office.eb8.org/hosting/capabilities` resulted in a `404 Not Found` response:\\n<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n<meta charset=\\"utf-8\\">\\n<title>Error</title>\\n</head>\\n<body>\\n<pre>Cannot GET /host (truncated...)\\n","Code":404,"Trace":[{"file":"/app/code/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":69,"function":"create","class":"GuzzleHttp\\\\Exception\\\\RequestException","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":204,"function":"GuzzleHttp\\\\{closure}","class":"GuzzleHttp\\\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":153,"function":"callHandler","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"::"},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/TaskQueue.php","line":48,"function":"GuzzleHttp\\\\Promise\\\\{closure}","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":248,"function":"run","class":"GuzzleHttp\\\\Promise\\\\TaskQueue","type":"->"},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":224,"function":"invokeWaitFn","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"->"},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":269,"function":"waitIfPending","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"->"},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":226,"function":"invokeWaitList","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"->"},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":62,"function":"waitIfPending","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"->"},{"file":"/app/code/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"wait","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"->"},{"file":"/app/code/lib/private/Http/Client/Client.php","line":226,"function":"request","class":"GuzzleHttp\\\\Client","type":"->"},{"file":"/app/data/apps/richdocuments/lib/Service/CapabilitiesService.php","line":135,"function":"get","class":"OC\\\\Http\\\\Client\\\\Client","type":"->"},{"file":"/app/data/apps/richdocuments/lib/Service/CapabilitiesService.php","line":73,"function":"refetch","class":"OCA\\\\Richdocuments\\\\Service\\\\CapabilitiesService","type":"->"},{"file":"/app/data/apps/richdocuments/lib/AppInfo/Application.php","line":80,"function":"getCapabilities","class":"OCA\\\\Richdocuments\\\\Service\\\\CapabilitiesService","type":"->"},{"file":"/app/code/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":66,"function":"OCA\\\\Richdocuments\\\\AppInfo\\\\{closure}","class":"OCA\\\\Richdocuments\\\\AppInfo\\\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/lib/private/AppFramework/Bootstrap/BootContext.php","line":50,"function":"injectFn","class":"OC\\\\AppFramework\\\\Bootstrap\\\\FunctionInjector","type":"->"},{"file":"/app/data/apps/richdocuments/lib/AppInfo/Application.php","line":135,"function":"injectFn","class":"OC\\\\AppFramework\\\\Bootstrap\\\\BootContext","type":"->"},{"file":"/app/code/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\\\Richdocuments\\\\AppInfo\\\\Application","type":"->"},{"file":"/app/code/lib/private/legacy/OC_App.php","line":213,"function":"bootApp","class":"OC\\\\AppFramework\\\\Bootstrap\\\\Coordinator","type":"->"},{"file":"/app/code/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/app/code/ocs/v1.php","line":58,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/app/code/ocs/v2.php","line":23,"args":["/app/code/ocs/v1.php"],"function":"require_once"}],"File":"/app/code/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php","Line":113,"message":"Failed to fetch the Collabora capabilities endpoint: Client error: `GET https://office.eb8.org/hosting/capabilities` resulted in a `404 Not Found` response:\\n<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n<meta charset=\\"utf-8\\">\\n<title>Error</title>\\n</head>\\n<body>\\n<pre>Cannot GET /host (truncated...)\\n","exception":{},"CustomMessage":"Failed to fetch the Collabora capabilities endpoint: Client error: `GET https://office.eb8.org/hosting/capabilities` resulted in a `404 Not Found` response:\\n<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n<meta charset=\\"utf-8\\">\\n<title>Error</title>\\n</head>\\n<body>\\n<pre>Cannot GET /host (truncated...)\\n"}} Jul 23 15:02:37 [Sun Jul 23 08:02:37.809968 2023] [php:notice] [pid 2077] [client 172.18.0.1:36132] {"reqId":"ELKp8KnyyXOwOORaBRLJ","level":3,"time":"2023-07-23T08:02:37+00:00","remoteAddr":"51.79.xxx.xxx","user":"guenter","app":"richdocuments","method":"GET","url":"/ocs/v2.php/apps/user_status/api/v1/user_status?format=json","message":"Failed to fetch the Collabora capabilities endpoint: Client error: `GET https://office.eb8.org/hosting/capabilities` resulted in a `404 Not Found` response:\\n<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n<meta charset=\\"utf-8\\">\\n<title>Error</title>\\n</head>\\n<body>\\n<pre>Cannot GET /host (truncated...)\\n","userAgent":"Mozilla/5.0 (Linux) mirall/3.6.2 (build 12295) (Nextcloud, debian-6.2.16-4-pve ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"26.0.3.2","exception":{"Exception":"GuzzleHttp\\\\Exception\\\\ClientException","Message":"Client error: `GET https://office.eb8.org/hosting/capabilities` resulted in a `404 Not Found` response:\\n<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n<meta charset=\\"utf-8\\">\\n<title>Error</title>\\n</head>\\n<body>\\n<pre>Cannot GET /host (truncated...)\\n","Code":404,"Trace":[{"file":"/app/code/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":69,"function":"create","class":"GuzzleHttp\\\\Exception\\\\RequestException","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":204,"function":"GuzzleHttp\\\\{closure}","class":"GuzzleHttp\\\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":153,"function":"callHandler","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"::"},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/TaskQueue.php","line":48,"function":"GuzzleHttp\\\\Promise\\\\{closure}","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":248,"function":"run","class":"GuzzleHttp\\\\Promise\\\\TaskQueue","type":"->"},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":224,"function":"invokeWaitFn","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"->"},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":269,"function":"waitIfPending","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"->"},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":226,"function":"invokeWaitList","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"->"},{"file":"/app/code/3rdparty/guzzlehttp/promises/src/Promise.php","line":62,"function":"waitIfPending","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"->"},{"file":"/app/code/3rdparty/guzzlehttp/guzzle/src/Client.php","line":187,"function":"wait","class":"GuzzleHttp\\\\Promise\\\\Promise","type":"->"},{"file":"/app/code/lib/private/Http/Client/Client.php","line":226,"function":"request","class":"GuzzleHttp\\\\Client","type":"->"},{"file":"/app/data/apps/richdocuments/lib/Service/CapabilitiesService.php","line":135,"function":"get","class":"OC\\\\Http\\\\Client\\\\Client","type":"->"},{"file":"/app/data/apps/richdocuments/lib/Service/CapabilitiesService.php","line":73,"function":"refetch","class":"OCA\\\\Richdocuments\\\\Service\\\\CapabilitiesService","type":"->"},{"file":"/app/data/apps/richdocuments/lib/AppInfo/Application.php","line":80,"function":"getCapabilities","class":"OCA\\\\Richdocuments\\\\Service\\\\CapabilitiesService","type":"->"},{"file":"/app/code/lib/private/AppFramework/Bootstrap/FunctionInjector.php","line":66,"function":"OCA\\\\Richdocuments\\\\AppInfo\\\\{closure}","class":"OCA\\\\Richdocuments\\\\AppInfo\\\\Application","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/app/code/lib/private/AppFramework/Bootstrap/BootContext.php","line":50,"function":"injectFn","class":"OC\\\\AppFramework\\\\Bootstrap\\\\FunctionInjector","type":"->"},{"file":"/app/data/apps/richdocuments/lib/AppInfo/Application.php","line":135,"function":"injectFn","class":"OC\\\\AppFramework\\\\Bootstrap\\\\BootContext","type":"->"},{"file":"/app/code/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\\\Richdocuments\\\\AppInfo\\\\Application","type":"->"},{"file":"/app/code/lib/private/legacy/OC_App.php","line":213,"function":"bootApp","class":"OC\\\\AppFramework\\\\Bootstrap\\\\Coordinator","type":"->"},{"file":"/app/code/lib/private/legacy/OC_App.php","line":141,"function":"loadApp","class":"OC_App","type":"::"},{"file":"/app/code/ocs/v1.php","line":58,"function":"loadApps","class":"OC_App","type":"::"},{"file":"/app/code/ocs/v2.php","line":23,"args":["/app/code/ocs/v1.php"],"function":"require_once"}],"File":"/app/code/3rdparty/guzzlehttp/guzzle/src/Exception/RequestException.php","Line":113,"message":"Failed to fetch the Collabora capabilities endpoint: Client error: `GET https://office.eb8.org/hosting/capabilities` resulted in a `404 Not Found` response:\\n<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n<meta charset=\\"utf-8\\">\\n<title>Error</title>\\n</head>\\n<body>\\n<pre>Cannot GET /host (truncated...)\\n","exception":{},"CustomMessage":"Failed to fetch the Collabora capabilities endpoint: Client error: `GET https://office.eb8.org/hosting/capabilities` resulted in a `404 Not Found` response:\\n<!DOCTYPE html>\\n<html lang=\\"en\\">\\n<head>\\n<meta charset=\\"utf-8\\">\\n<title>Error</title>\\n</head>\\n<body>\\n<pre>Cannot GET /host (truncated...)\\n"}} Jul 23 15:02:37 51.79.xxx.xxx - guenter [23/Jul/2023:08:02:37 +0000] "GET /ocs/v2.php/apps/user_status/api/v1/user_status?format=json HTTP/1.1" 200 151 "-" "Mozilla/5.0 (Linux) mirall/3.6.2 (build 12295) (Nextcloud, debian-6.2.16-4-pve ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jul 23 15:02:37 51.79.xxx.xxx - guenter [23/Jul/2023:08:02:37 +0000] "GET /ocs/v2.php/apps/notifications/api/v2/notifications?format=json HTTP/1.1" 304 - "-" "Mozilla/5.0 (Linux) mirall/3.6.2 (build 12295) (Nextcloud, debian-6.2.16-4-pve ClientArchitecture: x86_64 OsArchitecture: x86_64)" Jul 23 15:02:38 - - - [23/Jul/2023:08:02:38 +0000] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.52 (Ubuntu) (internal dummy connection)" Jul 23 15:02:40 - - - [23/Jul/2023:08:02:40 +0000] "GET /index.php/login HTTP/1.1" 200 5635 "-" "Mozilla (CloudronHealth)"
-
@chymian Looks like some issue in the files reader app - https://apps.nextcloud.com/apps/files_reader . Please disable that app following instructions at https://docs.cloudron.io/apps/nextcloud/#fixing-a-broken-install
-
There's an error in nc 26 itself as reported upstream - https://github.com/Yetangitu/files_reader/issues/5
-
You should consider not to provide support for Nextcloud instances with apps that are not provided and recommended by Nextcloud itself.
It should ALWAYS be the first step to disable all non-stock apps and restart Nextcloud to check whether any error persists. If it does not, the problem is - as in 99,9 % of all cases - an incompatible app.
-
remarkable behavior:
login via web does not work at the moment.
open the website via the nextcloud-desktop client does work and one is logged in.
but then, password-verification i.e. for module-update does again not work.@nebulon your hint with the incompatible apps was true both problems.
- the login problem. which went away after deleting
dropit
- and the cron pbl. as well, after disabling
Reader (ebook reader)
- and there was a recommended app, which also threw errors: `group-folders'
I leave it here for reference
thanks again
- the login problem. which went away after deleting
-
-