Nextcloud AIO Internal Error After Upgrade

Hi,

I’m getting following error after upgrading to the latest version.


Internal Server Error

The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.

For more details see the documentation ↗.
Technical details

    Remote Address: 172.105.122.32
    Request ID: PbWp8jhgqnOGYyizuoSc


Log:

{"reqId":"PbWp8jhgqnOGYyizuoSc","level":3,"time":"2025-06-27T09:47:19+00:00","remoteAddr":"172.105.122.32","user":"--","app":"index","method":"GET","url":"/login","message":"Interface \"OCP\\Share\\IShareProviderSupportsAllSharesInFolder\" not found","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0","version":"31.0.6.2","exception":{"Exception":"Error","Message":"Interface \"OCP\\Share\\IShareProviderSupportsAllSharesInFolder\" not found","Code":0,"Trace":[{"file":"/var/www/html/lib/composer/composer/ClassLoader.php","line":576,"function":"include"},{"file":"/var/www/html/lib/composer/composer/ClassLoader.php","line":427,"function":"Composer\\Autoload\\{closure}","args":["*** sensitive parameters replaced ***"]},{"function":"loadClass","class":"Composer\\Autoload\\ClassLoader","type":"->","args":["OCA\\FederatedFileSharing\\FederatedShareProvider"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":104,"function":"__construct","class":"ReflectionClass","type":"->","args":["OCA\\FederatedFileSharing\\FederatedShareProvider"]},{"file":"/var/www/html/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\FederatedFileSharing\\FederatedShareProvider"]},{"file":"/var/www/html/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":440,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->","args":["OCA\\FederatedFileSharing\\FederatedShareProvider"]},{"file":"/var/www/html/lib/private/ServerContainer.php","line":137,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->","args":["OCA\\FederatedFileSharing\\FederatedShareProvider"]},{"file":"/var/www/html/apps/provisioning_api/lib/Capabilities.php","line":39,"function":"query","class":"OC\\ServerContainer","type":"->","args":["OCA\\FederatedFileSharing\\FederatedShareProvider"]},{"file":"/var/www/html/lib/private/CapabilitiesManager.php","line":61,"function":"getCapabilities","class":"OCA\\Provisioning_API\\Capabilities","type":"->","args":[]},{"file":"/var/www/html/lib/private/Template/JSConfigHelper.php","line":137,"function":"getCapabilities","class":"OC\\CapabilitiesManager","type":"->","args":[false,true]},{"file":"/var/www/html/lib/private/TemplateLayout.php","line":233,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->","args":[]},{"file":"/var/www/html/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->","args":["guest","core"]},{"file":"/var/www/html/lib/public/AppFramework/Http/TemplateResponse.php","line":189,"function":"fetchPage","class":"OC_Template","type":"->","args":[{"alt_login":[],"pageTitle":"Login"}]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":159,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\LoginController"},"showLoginForm"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":307,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\LoginController","showLoginForm",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"core.login.showloginform"}]},{"file":"/var/www/html/lib/base.php","line":1040,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/login"]},{"file":"/var/www/html/index.php","line":24,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/apps/federatedfilesharing/lib/FederatedShareProvider.php","Line":37,"message":"Interface \"OCP\\Share\\IShareProviderSupportsAllSharesInFolder\" not found","exception":{},"CustomMessage":"Interface \"OCP\\Share\\IShareProviderSupportsAllSharesInFolder\" not found"}}

What should I do now? It’s been down for more than 5 hours.

Unfortunately, this is often a problem with Nextcloud.
Try to insert the problem in chatgpt.

Do you have shell access into the container? I would go in there and check the files mentioned. It could be a permissions or the file structure may have changed.

1 Like