Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getFileid() failing in WOPIMiddleware.php on line 77 #450

Open
snowtr opened this issue Jun 2, 2023 · 7 comments
Open

getFileid() failing in WOPIMiddleware.php on line 77 #450

snowtr opened this issue Jun 2, 2023 · 7 comments

Comments

@snowtr
Copy link

snowtr commented Jun 2, 2023

Describe the bug
I'm unable to open any OOS files through the Nextcloud Offline Online configuration. When testing, the Nextcloud error continually seems to be with getFileid() failing in WOPIMiddleware.php online 77.

To Reproduce
Steps to reproduce the behavior:

  1. Setup Nextcloud
  2. Setup MS Offline Online Server
  3. Setup integration
  4. Try to open any file that OOS can launch
  5. Check Nextcloud logs

Expected behavior
I expect that when the file is selected, it passes that file over to the OOS, which them streams the OWA back to Nextcloud to present it to me.

Screenshots
As seen from the Nextcloud server and the OOS when launching directly.
image

Client details:

  • OS: Ubuntu Server 20.04 LTS for Nextcloud / Windows Server 2016 for OOS
  • Browser: IE, Chrome and Edge
  • Version: Nextcloud 26.0.2
  • Device: Desktop

Server details

OS: Ubuntu Server 20.04 LTS

Web Server: Apache 2

Database:
MySQL / MariaDB Server 10.4

PHP version:
PHP 8.1

Nextcloud version:
26.0.2

Version of the officeonline app
2.0.2

Version of Office Online server
2019 16.0.10338.20039

Logs

Nextcloud log (data/nextcloud.log)

{"reqId":"aWnnoG6M8I17m5vm1pfA","level":3,"time":"2023-06-02T17:20:47+00:00","remoteAddr":"x.x.y.2","user":"user1","app":"index","method":"GET","url":"/index.php/apps/officeonline/wopi/files/165088_ocnxb3140cie&title=10%20GB%20SAN%20Upgrade.xlsx&lang=en&closebutton=1&revisionhistory=1","message":"Call to a member function getFileid() on null in file '/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php' line 77","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36","version":"26.0.2.1","exception":{"Exception":"Exception","Message":"Call to a member function getFileid() on null in file '/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php' line 77","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"disuser3ch","class":"OC\\AppFramework\\Http\\Disuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Disuser3cher.php","Line":169,"Previous":{"Exception":"Error","Message":"Call to a member function getFileid() on null","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDisuser3cher.php","line":96,"function":"beforeController","class":"OCA\\Officeonline\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Disuser3cher.php","line":129,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDisuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"disuser3ch","class":"OC\\AppFramework\\Http\\Disuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php","Line":77},"CustomMessage":"--"}}
{"reqId":"h7fxNxkloXdQ2Z9q0QTY","level":3,"time":"2023-06-02T17:22:02+00:00","remoteAddr":"x.x.y.2","user":"user1","app":"drawio","method":"DELETE","url":"/remote.php/dav/files/user1/Documents/confCons.xml.20230530-2224441984.backup","message":"Can't delete preview for file: /user1/files/Documents/confCons.xml.20230530-2224441984.backup","userAgent":"Mozilla/5.0 (Windows) mirall/3.4.1stable-Win64 (build 20211221) (Nextcloud, windows-10.0.22621 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"26.0.2.1","exception":{"Exception":"OCP\\Files\\NotFoundException","Message":"/appdata_ocnxb3140cie/drawio/previews","Code":0,"Trace":[{"function":"get","class":"OC\\Files\\Node\\Root","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/Node/LazyFolder.php","line":72,"function":"call_user_func_array"},{"file":"/var/www/html/nextcloud/lib/private/Files/Node/LazyFolder.php","line":149,"function":"__call","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/AppData/AppData.php","line":132,"function":"get","class":"OC\\Files\\Node\\LazyFolder","type":"->"},{"file":"/var/www/html/nextcloud/apps2/drawio/lib/Listeners/FileDeleteListener.php","line":39,"function":"getFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/EventDisuser3cher/ServiceEventListener.php","line":86,"function":"handle","class":"OCA\\Drawio\\Listeners\\FileDeleteListener","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-disuser3cher/EventDisuser3cher.php","line":251,"function":"__invoke","class":"OC\\EventDisuser3cher\\ServiceEventListener","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/symfony/event-disuser3cher/EventDisuser3cher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDisuser3cher\\EventDisuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/EventDisuser3cher/EventDisuser3cher.php","line":87,"function":"disuser3ch","class":"Symfony\\Component\\EventDisuser3cher\\EventDisuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/EventDisuser3cher/EventDisuser3cher.php","line":99,"function":"disuser3ch","class":"OC\\EventDisuser3cher\\EventDisuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/Node/HookConnector.php","line":159,"function":"disuser3chTyped","class":"OC\\EventDisuser3cher\\EventDisuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/legacy/OC_Hook.php","line":105,"function":"postDelete","class":"OC\\Files\\Node\\HookConnector","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/View.php","line":1295,"function":"emit","class":"OC_Hook","type":"::"},{"file":"/var/www/html/nextcloud/lib/private/Files/View.php","line":1223,"function":"runHooks","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Files/View.php","line":729,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/File.php","line":536,"function":"unlink","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Tree.php","line":179,"function":"delete","class":"OCA\\DAV\\Connector\\Sabre\\File","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":281,"function":"delete","class":"Sabre\\DAV\\Tree","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpDelete","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/html/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/html/nextcloud/apps/dav/lib/Server.php","line":366,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/html/nextcloud/remote.php","line":172,"args":["/var/www/html/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/nextcloud/lib/private/Files/Node/Root.php","Line":209,"message":"Can't delete preview for file: /user1/files/Documents/confCons.xml.20230530-2224441984.backup","CustomMessage":"Can't delete preview for file: /user1/files/Documents/confCons.xml.20230530-2224441984.backup"}}
{"reqId":"5Xmj3PZkxk9QaVwQUfV9","level":3,"time":"2023-06-02T17:22:38+00:00","remoteAddr":"x.x.y.2","user":"user1","app":"index","method":"GET","url":"/index.php/apps/officeonline/wopi/files/165088_ocnxb3140cie&title=10%20GB%20SAN%20Upgrade.xlsx&lang=en&closebutton=1&revisionhistory=1","message":"Call to a member function getFileid() on null in file '/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php' line 77","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36","version":"26.0.2.1","exception":{"Exception":"Exception","Message":"Call to a member function getFileid() on null in file '/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php' line 77","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"disuser3ch","class":"OC\\AppFramework\\Http\\Disuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Disuser3cher.php","Line":169,"Previous":{"Exception":"Error","Message":"Call to a member function getFileid() on null","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDisuser3cher.php","line":96,"function":"beforeController","class":"OCA\\Officeonline\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Disuser3cher.php","line":129,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDisuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"disuser3ch","class":"OC\\AppFramework\\Http\\Disuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php","Line":77},"CustomMessage":"--"}}
{"reqId":"zybncTZXwB5lkXSDdBwJ","level":3,"time":"2023-06-02T17:25:05+00:00","remoteAddr":"x.x.y.50","user":"--","app":"index","method":"GET","url":"/index.php/apps/officeonline/wopi/files/165088_ocnxb3140cie&title=10%20GB%20SAN%20Upgrade.xlsx&lang=en&closebutton=1&revisionhistory=1","message":"Call to a member function getFileid() on null in file '/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php' line 77","userAgent":"Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko","version":"26.0.2.1","exception":{"Exception":"Exception","Message":"Call to a member function getFileid() on null in file '/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php' line 77","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"disuser3ch","class":"OC\\AppFramework\\Http\\Disuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Disuser3cher.php","Line":169,"Previous":{"Exception":"Error","Message":"Call to a member function getFileid() on null","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDisuser3cher.php","line":96,"function":"beforeController","class":"OCA\\Officeonline\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Disuser3cher.php","line":129,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDisuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"disuser3ch","class":"OC\\AppFramework\\Http\\Disuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php","Line":77},"CustomMessage":"--"}}
{"reqId":"bX3UWclFxs5nVPfcsah6","level":3,"time":"2023-06-02T17:25:26+00:00","remoteAddr":"x.x.y.50","user":"--","app":"index","method":"GET","url":"/index.php/apps/officeonline/wopi/files/165088_ocnxb3140cie","message":"Call to a member function getFileid() on null in file '/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php' line 77","userAgent":"MSWAC","version":"26.0.2.1","exception":{"Exception":"Exception","Message":"Call to a member function getFileid() on null in file '/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php' line 77","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"disuser3ch","class":"OC\\AppFramework\\Http\\Disuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Disuser3cher.php","Line":169,"Previous":{"Exception":"Error","Message":"Call to a member function getFileid() on null","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Middleware/MiddlewareDisuser3cher.php","line":96,"function":"beforeController","class":"OCA\\Officeonline\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Disuser3cher.php","line":129,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDisuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"disuser3ch","class":"OC\\AppFramework\\Http\\Disuser3cher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1058,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/apps2/officeonline/lib/Middleware/WOPIMiddleware.php","Line":77},"CustomMessage":"--"}}

Browser log

DevTools failed to load source map: Could not load content for https://nextcloud.mydomain.com/apps2/breezedark/css/server.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
165088_ocnxb3140cie&title=10%20GB%20SAN%20Upgrade.xlsx&lang=en&closebutton=1&revisionhistory=1:1     GET https://nextcloud.mydomain.com/index.php/apps/officeonline/wopi/files/165088_ocnxb3140cie&title=10%20GB%20SAN%20Upgrade.xlsx&lang=en&closebutton=1&revisionhistory=1 500 (Internal Server Error)
DevTools failed to load source map: Could not load content for chrome-extension://gegfpbhjnhegdnjdkghhnneaocdbbhjp/firefox/browser-polyfill.min.js.map: System error: net::ERR_BLOCKED_BY_CLIENT
DevTools failed to load source map: Could not load content for https://nextcloud.mydomain.com/apps2/breezedark/css/server.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
guest.css:1     GET https://nextcloud.mydomain.com/core/img/background.png 404 (Not Found)
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 3.4.0
session-heartbeat.js:103 session heartbeat polling started
guest.css:1     GET https://nextcloud.mydomain.com/index.php/apps/theming/image/background 404 (Not Found)
DevTools failed to load source map: Could not load content for chrome-extension://bmnlcjabgnpnenekpadlanbbkooimhnj/browser-polyfill.js.map: System error: net::ERR_BLOCKED_BY_CLIENT
DevTools failed to load source map: Could not load content for chrome-extension://eakacpaijcpapndcfffdgphdiccmpknp/scripts/content_page.map: System error: net::ERR_BLOCKED_BY_CLIENT
globals.js:59 Backbone is deprecated: please ship your own, this will be removed in Nextcloud 20
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 Backbone is deprecated: please ship your own, this will be removed in Nextcloud 20
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 moment is deprecated: please ship your own, this will be removed in Nextcloud 20
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 moment is deprecated: please ship your own, this will be removed in Nextcloud 20
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 oc_config is deprecated: use OC.config instead, this will be removed in Nextcloud 20
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
globals.js:59 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
In @ globals.js:59
get @ globals.js:90
(anonymous) @ js.js:23
(anonymous) @ js.js:18
(anonymous) @ js.js:15
onMessage @ js.js:14
postMessage (async)
script.onload @ content.js:25
load (async)
(anonymous) @ content.js:10
inject @ content.js:6
getJs @ content.js:37
onGetTechnologies @ content.js:461
init @ content.js:356
await in init (async)
(anonymous) @ content.js:475
@snowtr snowtr changed the title getFileid() failing in WOPIMiddleware.php online 77 getFileid() failing in WOPIMiddleware.php on line 77 Jun 6, 2023
@kvmalakhov
Copy link

kvmalakhov commented Jun 6, 2023

Some issues
NC version 26.0.1
OOS version 16.0.10362.20000

@kvmalakhov
Copy link

Any update?

@snowtr
Copy link
Author

snowtr commented Jul 7, 2023

Any ideas?

@bragin45
Copy link

bragin45 commented Jul 7, 2023

I have a similar config
NC 27.0.0
OOS 16.0.10399.20000

Online editor works, but in the logs every 30 seconds the same error
20230707_1

@patschi
Copy link
Member

patschi commented Jul 21, 2023

The error shown on the first screenshot is very typical for IIS, used by OOS. I'd suspect there being issues and errors on OOS side, maybe causing exceptions on the Nextcloud-end. Are there any OOS-sided logs which might give any clue on what's causing the issue?

@Dennis1993
Copy link
Contributor

Same problem here with NextCloud 27.1.4 on Ubuntu 20.04 with PHP 8.2.
App version: 2.0.3

Our log is spammed with this message every 5 minutes, the log file is ever day over 40 MB big just with the error:

Exception: Call to a member function getFileid() on null in file '/var/www/html/apps/officeonline/lib/Middleware/WOPIMiddleware.php' line 77
/var/www/html/lib/private/AppFramework/App.php - line 183:

OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/html/lib/private/Route/Router.php - line 315:
OC\AppFramework\App::main()
/var/www/html/lib/base.php - line 1068:
OC\Route\Router->match()
/var/www/html/index.php - line 36:
OC::handleRequest()

Verursacht durch Error: Call to a member function getFileid() on null
/var/www/html/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php - line 96:
OCA\Officeonline\Middleware\WOPIMiddleware->beforeController()
/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 129:
OC\AppFramework\Middleware\MiddlewareDispatcher->beforeController()
/var/www/html/lib/private/AppFramework/App.php - line 183:
OC\AppFramework\Http\Dispatcher->dispatch()
/var/www/html/lib/private/Route/Router.php - line 315:
OC\AppFramework\App::main()
/var/www/html/lib/base.php - line 1068:
OC\Route\Router->match()
/var/www/html/index.php - line 36:
OC::handleRequest()

@kvmalakhov
Copy link

Some error after upgrade to 27.1.6
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants