Internal server problem in NC Client, webdav type error

Nextcloud version (eg, 20.0.5): 25.0.1
Operating system and version (eg, Ubuntu 20.04): Raspbian GNU/Linux 11 (bullseye)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.54 (Raspbian)
PHP version (eg, 7.4): PHP 8.0.1 (cli) (built: Jan 12 2021 10:05:21)

The issue you are facing:
Hello everybody, I upgraded from NC 24.0.7 to 25.0.1. During the upgrade process, when I clicked on “Return to Nextcloud instance” on the web-updater in my browser, this did not lead me back to NC but instead I got a plain white screen. I logged on my NC server to finish the update process by command line, which worked and after that I was able to go to my Nextcloud in my browser.
Sadly all my clients stopped working. On my Desktop, the client tells me there is an Internal Server Error.
When logging in on my NC in the browser and go to the logging page, I see the error message pasted below.
I hope somebody can tell me how to fix this issue and get the synchronization going.

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it: Upgraded from 24.0.7 to 25.0.1 and then this happened

The output of your Nextcloud log in Admin > Logging:

[webdav] Error: TypeError: OCA\DAV\Connector\Sabre\FilesPlugin::OCA\DAV\Connector\Sabre\{closure}(): Return value must be of type ?int, float returned at <<closure>>

 0. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php line 95
    OCA\DAV\Connector\Sabre\FilesPlugin->OCA\DAV\Connector\Sabre\{closure}("*** sensitive parameters replaced ***")
 1. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/FilesPlugin.php line 357
    Sabre\DAV\PropFind->handle()
 2. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    OCA\DAV\Connector\Sabre\FilesPlugin->handleGetProperties()
 3. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
    Sabre\DAV\Server->emit()
 4. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 984
    Sabre\DAV\Server->getPropertiesByNode()
 5. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1662
    Sabre\DAV\Server->getPropertiesIteratorForPath()
 6. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1647
    Sabre\DAV\Server->writeMultiStatus()
 7. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
    Sabre\DAV\Server->generateMultiStatus()
 8. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPropFind()
 9. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit()
10. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod()
11. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
12. /var/www/nextcloud/apps/dav/lib/Server.php line 360
    Sabre\DAV\Server->exec()
13. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
14. /var/www/nextcloud/remote.php line 171
    require_once("/var/www/nextcl ... p")

PROPFIND /nextcloud/remote.php/dav/files/user/
from thisismyipaddress by user at 2022-11-19T22:46:10+00:00

Have a look at

1 Like

Thanks @e-raser , after following the advice in the other topic, my sync now works again perfectly.