Skip to content

NC33 fails with latest officeonline #724

@tobiasKaminsky

Description

@tobiasKaminsky

Hi,

testing this, it fails with latest officeonline when e.g. open Trashbin:

{
  "reqId": "QFgsnboyY5xhfDi9CUc6",
  "level": 3,
  "time": "2026-01-12T10:10:37+00:00",
  "remoteAddr": "2a02:8071:64e0:7bc0:3ef3:d17f:210f:4af7",
  "user": "tobias",
  "app": "no app in context",
  "method": "PROPFIND",
  "url": "/remote.php/dav/trashbin/tobias/trash/",
  "scriptName": "/remote.php",
  "message": "Uncaught exception",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:146.0) Gecko/20100101 Firefox/146.0",
  "version": "33.0.0.8",
  "exception": {
    "Exception": "Error",
    "Message": "Class \"OC\\Preview\\Provider\" not found",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/server.com/lib/composer/composer/ClassLoader.php",
        "line": 576,
        "function": "include"
      },
      {
        "file": "/var/www/server.com/lib/composer/composer/ClassLoader.php",
        "line": 427,
        "function": "{closure:Composer\\Autoload\\ClassLoader::initializeIncludeClosure():575}",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/server.com/apps/officeonline/lib/Preview/OOXML.php",
        "line": 10,
        "function": "loadClass",
        "class": "Composer\\Autoload\\ClassLoader",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/lib/composer/composer/ClassLoader.php",
        "line": 576,
        "args": [
          "/var/www/server.com/apps/officeonline/lib/Preview/OOXML.php"
        ],
        "function": "include"
      },
      {
        "file": "/var/www/server.com/lib/composer/composer/ClassLoader.php",
        "line": 427,
        "function": "{closure:Composer\\Autoload\\ClassLoader::initializeIncludeClosure():575}",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "function": "loadClass",
        "class": "Composer\\Autoload\\ClassLoader",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 129,
        "function": "__construct",
        "class": "ReflectionClass",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/lib/private/AppFramework/Utility/SimpleContainer.php",
        "line": 157,
        "function": "resolve",
        "class": "OC\\AppFramework\\Utility\\SimpleContainer",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/lib/private/AppFramework/DependencyInjection/DIContainer.php",
        "line": 360,
        "function": "query",
        "class": "OC\\AppFramework\\Utility\\SimpleContainer",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/lib/private/AppFramework/DependencyInjection/DIContainer.php",
        "line": 330,
        "function": "queryNoFallback",
        "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/apps/officeonline/lib/AppInfo/Application.php",
        "line": 96,
        "function": "query",
        "class": "OC\\AppFramework\\DependencyInjection\\DIContainer",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/lib/private/Preview/GeneratorHelper.php",
        "line": 38,
        "function": "{closure:OCA\\Officeonline\\AppInfo\\Application::registerProvider():95}",
        "class": "OCA\\Officeonline\\AppInfo\\Application",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/server.com/lib/private/PreviewManager.php",
        "line": 226,
        "function": "getProvider",
        "class": "OC\\Preview\\GeneratorHelper",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/apps/files_trashbin/lib/Sabre/TrashbinPlugin.php",
        "line": 101,
        "function": "isAvailable",
        "class": "OC\\PreviewManager",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/3rdparty/sabre/dav/lib/DAV/PropFind.php",
        "line": 95,
        "function": "{closure:OCA\\Files_Trashbin\\Sabre\\TrashbinPlugin::propFind():101}",
        "class": "OCA\\Files_Trashbin\\Sabre\\TrashbinPlugin",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/server.com/apps/files_trashbin/lib/Sabre/TrashbinPlugin.php",
        "line": 99,
        "function": "handle",
        "class": "Sabre\\DAV\\PropFind",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
        "line": 89,
        "function": "propFind",
        "class": "OCA\\Files_Trashbin\\Sabre\\TrashbinPlugin",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 1052,
        "function": "emit",
        "class": "Sabre\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 984,
        "function": "getPropertiesByNode",
        "class": "Sabre\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 1664,
        "function": "getPropertiesIteratorForPath",
        "class": "Sabre\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 1649,
        "function": "writeMultiStatus",
        "class": "Sabre\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
        "line": 346,
        "function": "generateMultiStatus",
        "class": "Sabre\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
        "line": 89,
        "function": "httpPropFind",
        "class": "Sabre\\DAV\\CorePlugin",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/3rdparty/sabre/dav/lib/DAV/Server.php",
        "line": 472,
        "function": "emit",
        "class": "Sabre\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/apps/dav/lib/Connector/Sabre/Server.php",
        "line": 211,
        "function": "invokeMethod",
        "class": "Sabre\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/apps/dav/lib/Server.php",
        "line": 426,
        "function": "start",
        "class": "OCA\\DAV\\Connector\\Sabre\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/apps/dav/appinfo/v2/remote.php",
        "line": 25,
        "function": "exec",
        "class": "OCA\\DAV\\Server",
        "type": "->"
      },
      {
        "file": "/var/www/server.com/remote.php",
        "line": 151,
        "args": [
          "/var/www/server.com/apps/dav/appinfo/v2/remote.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/server.com/apps/officeonline/lib/Preview/Office.php",
    "Line": 17,
    "message": "Uncaught exception",
    "exception": "{\"class\":\"Error\",\"message\":\"Class \\\"OC\\Preview\\Provider\\\" not found\",\"code\":0,\"file\":\"/var/www/server.com/apps/officeonline/lib/Preview/Office.php:17\",\"trace\":\"#0 /var/www/server.com/lib/composer/composer/ClassLoader.php(576): include()\\n#1 /var/www/server.com/lib/composer/composer/ClassLoader.php(427): {closure:Composer\\Autoload\\ClassLoader::initializeIncludeClosure():575}()\\n#2 /var/www/server.com/apps/officeonline/lib/Preview/OOXML.php(10): Composer\\Autoload\\ClassLoader->loadClass()\\n#3 /var/www/server.com/lib/composer/composer/ClassLoader.php(576): include('...')\\n#4 /var/www/server.com/lib/composer/composer/ClassLoader.php(427): {closure:Composer\\Autoload\\ClassLoader::initializeIncludeClosure():575}()\\n#5 [internal function]: Composer\\Autoload\\ClassLoader->loadClass()\\n#6 /var/www/server.com/lib/private/AppFramework/Utility/SimpleContainer.php(129): ReflectionClass->__construct()\\n#7 /var/www/server.com/lib/private/AppFramework/Utility/SimpleContainer.php(157): OC\\AppFramework\\Utility\\SimpleContainer->resolve()\\n#8 /var/www/server.com/lib/private/AppFramework/DependencyInjection/DIContainer.php(360): OC\\AppFramework\\Utility\\SimpleContainer->query()\\n#9 /var/www/server.com/lib/private/AppFramework/DependencyInjection/DIContainer.php(330): OC\\AppFramework\\DependencyInjection\\DIContainer->queryNoFallback()\\n#10 /var/www/server.com/apps/officeonline/lib/AppInfo/Application.php(96): OC\\AppFramework\\DependencyInjection\\DIContainer->query()\\n#11 /var/www/server.com/lib/private/Preview/GeneratorHelper.php(38): OCA\\Officeonline\\AppInfo\\Application->{closure:OCA\\Officeonline\\AppInfo\\Application::registerProvider():95}()\\n#12 /var/www/server.com/lib/private/PreviewManager.php(226): OC\\Preview\\GeneratorHelper->getProvider()\\n#13 /var/www/server.com/apps/files_trashbin/lib/Sabre/TrashbinPlugin.php(101): OC\\PreviewManager->isAvailable()\\n#14 /var/www/server.com/3rdparty/sabre/dav/lib/DAV/PropFind.php(95): OCA\\Files_Trashbin\\Sabre\\TrashbinPlugin->{closure:OCA\\Files_Trashbin\\Sabre\\TrashbinPlugin::propFind():101}()\\n#15 /var/www/server.com/apps/files_trashbin/lib/Sabre/TrashbinPlugin.php(99): Sabre\\DAV\\PropFind->handle()\\n#16 /var/www/server.com/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): OCA\\Files_Trashbin\\Sabre\\TrashbinPlugin->propFind()\\n#17 /var/www/server.com/3rdparty/sabre/dav/lib/DAV/Server.php(1052): Sabre\\DAV\\Server->emit()\\n#18 /var/www/server.com/3rdparty/sabre/dav/lib/DAV/Server.php(984): Sabre\\DAV\\Server->getPropertiesByNode()\\n#19 /var/www/server.com/3rdparty/sabre/dav/lib/DAV/Server.php(1664): Sabre\\DAV\\Server->getPropertiesIteratorForPath()\\n#20 /var/www/server.com/3rdparty/sabre/dav/lib/DAV/Server.php(1649): Sabre\\DAV\\Server->writeMultiStatus()\\n#21 /var/www/server.com/3rdparty/sabre/dav/lib/DAV/CorePlugin.php(346): Sabre\\DAV\\Server->generateMultiStatus()\\n#22 /var/www/server.com/3rdparty/sabre/event/lib/WildcardEmitterTrait.php(89): Sabre\\DAV\\CorePlugin->httpPropFind()\\n#23 /var/www/server.com/3rdparty/sabre/dav/lib/DAV/Server.php(472): Sabre\\DAV\\Server->emit()\\n#24 /var/www/server.com/apps/dav/lib/Connector/Sabre/Server.php(211): Sabre\\DAV\\Server->invokeMethod()\\n#25 /var/www/server.com/apps/dav/lib/Server.php(426): OCA\\DAV\\Connector\\Sabre\\Server->start()\\n#26 /var/www/server.com/apps/dav/appinfo/v2/remote.php(25): OCA\\DAV\\Server->exec()\\n#27 /var/www/server.com/remote.php(151): require_once('...')\\n#28 {main}\"}",
    "CustomMessage": "Uncaught exception"
  }
}

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