CoreELEC 21-omega CURL bug/regression breakes WebDAV remote storage

Curl has been updated in coreelec 21 to version 8.6.0 which introduced this regression and as a result the CCurlFile() function called by kodi on library scan and scraping almost always returns an error when called on DAV(s) remote storage like the following:

CCurlFile::Exists - <davs://server/path/> Failed: Weird server reply(8)
Process directory 'davs://server/path/' does not exist - skipping scan.

making impossible to use webdav as a remote storage on 21-omega as reported here:

https://github.com/xbmc/xbmc/issues/25305

https://www.kodinerds.net/thread/78544-nach-update-auf-libreelec-omega-beta-webdav-failed-weird-server-reply-8

https://forum.libreelec.tv/thread/28684-le-12-0-pi-4b-2gb-unable-to-update-library-compressing-db-0/#post193311

Sorry for the links like this but discourse won’t let me post with more links in messages.

Curl needs to be bumped at least to version 8.7.1 which should solve the issue (I confirm from testing different curl versions outside coreelec on my webdav storage that on 8.7.1 libcurl at least doesn’t return any error on GETs, couldn’t try on kodi yet to see the CCurlFile() response) but I don’t know if packages version on coreelec are simply pulled from libreelec or can be bumped indipendently.

The former being the case, should this issue be reported directly to libreelec?

Yes, if this is not specific CoreELEC issue.

Well, I’m not sure, if corelec does not manges packages versions then this isn’t corelec specific I guess…

I checked the git commits on coreelec packgages and they are in fact just mirrored from libreelec.

I ended up opening an issue on their git repo.

This (https://github.com/LibreELEC/LibreELEC.tv/pull/9178) fixes the regression, at least on my setup.
I built coreelec 21.0 with the patch and library scanning and management seem to work without issues.
Also, I can’t seem to find any error from CCurlFile() related to webdav in logs.

This commit fixes the issue and should be included in 21.1 release.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.