Skip to content

Log spamming getFileid() after update to NextCloud 31.0.1 #625

@Dennis1993

Description

@Dennis1993

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Update to latest version (App and NextCloud)
  2. Open logs
  3. tons of log entries

Expected behaviour

No errors

Actual behaviour

every minute the log is spammed by this message:
{"reqId":"q8Pm2NllqAygCYZlI0Bm","level":3,"time":"2025-03-16T08:48:25+00:00","remoteAddr":"10.10.2.10","user":false,"app":"index","method":"GET","url":"/index.php/apps/officeonline/wopi/files/3612455_oc9f2e8f0a5d?access_token=8LlutK4Ng0eixDWyaIN8D3y7o51daH5f&access_token_ttl=0","message":"Call to a member function getFileid() on null in file '/var/www/apps/officeonline/lib/Middleware/WOPIMiddleware.php' line 59","userAgent":"MSWAC","version":"31.0.1.2","exception":{"Exception":"Exception","Message":"Call to a member function getFileid() on null in file '/var/www/apps/officeonline/lib/Middleware/WOPIMiddleware.php' line 59","Code":0,"Trace":[{"file":"/var/www/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/lib/private/Route/Router.php","line":307,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/lib/base.php","line":1022,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/lib/private/AppFramework/Http/Dispatcher.php","Line":146,"Previous":{"Exception":"Error","Message":"Call to a member function getFileid() on null","Code":0,"Trace":[{"file":"/var/www/lib/private/AppFramework/Middleware/MiddlewareDispatcher.php","line":73,"function":"beforeController","class":"OCA\\Officeonline\\Middleware\\WOPIMiddleware","type":"->"},{"file":"/var/www/lib/private/AppFramework/Http/Dispatcher.php","line":106,"function":"beforeController","class":"OC\\AppFramework\\Middleware\\MiddlewareDispatcher","type":"->"},{"file":"/var/www/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/lib/private/Route/Router.php","line":307,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/lib/base.php","line":1022,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/apps/officeonline/lib/Middleware/WOPIMiddleware.php","Line":59},"message":"Call to a member function getFileid() on null in file '/var/www/apps/officeonline/lib/Middleware/WOPIMiddleware.php' line 59","exception":[],"CustomMessage":"Call to a member function getFileid() on null in file '/var/www/apps/officeonline/lib/Middleware/WOPIMiddleware.php' line 59"},"id":"67d6905dda06e"}

Image

Server configuration

Web server: Apache

Database: Maria

PHP version: 8.3

Nextcloud version: 31.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions