core icon indicating copy to clipboard operation
core copied to clipboard

WebDAV access fails with notice after 4.5.3 upgrade

Open Pazu opened this issue 14 years ago • 9 comments

After upgrading to v4.5.3, attempts to access my OC WebDAV share in a web browser returns only the following notice.

Notice: ob_end_clean() [ref.outcontrol]: failed to delete buffer. No buffer to delete in /apps/files/appinfo/remote.php on line 29 Sabre_DAV_Exception_NotAuthenticated No basic authentication headers were found 1.6.4

Pazu avatar Nov 29 '12 10:11 Pazu

@icewind1991 Can you please have a look? THX

DeepDiver1975 avatar Nov 29 '12 12:11 DeepDiver1975

i got the same problem like Pazu.

has anybody a solution for this problem? i need WebDAV sync to work very urgent...

abstractmodel avatar Nov 29 '12 19:11 abstractmodel

ok, i tried the solutions in this thread: https://github.com/owncloud/core/pull/635

1: https://github.com/owncloud/core/commit/bcb27c81d479c49613094fe6c147af5bdea3ea3c

i did the changes --> still got the WebDAV error... i have to say, that in my "lib/files.php" the line "@ob_end_clean();" was no. 185, not 198.

ok, so, the solution # 1 above didn't work, i tried the second advise:

2: https://github.com/owncloud/core/commit/59d5aa2cb74b605700c6a142409937fa65e8af72

this was not possible, because in my "lib/util.php" there are NOT these highlighted lines...

ok, i'm back at the "point of no idea"... it's a pity, all i want is to sync like before... :(

abstractmodel avatar Nov 29 '12 20:11 abstractmodel

it's annoying... i need WebDAV... :(

abstractmodel avatar Nov 30 '12 06:11 abstractmodel

Note also the returned HTML is, in fact, a malformed XML file:

<br /> <b>Notice</b>: ob_end_clean() [<a href='ref.outcontrol'>ref.outcontrol</a>]: failed to delete buffer. No buffer to delete in <b>/apps/files/appinfo/remote.php</b> on line <b>29</b><br /> <?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <s:exception>Sabre_DAV_Exception_NotAuthenticated</s:exception> <s:message>No basic authentication headers were found</s:message> <s:sabredav-version>1.6.4</s:sabredav-version> </d:error>

I'm sure there are better ways to write OC's notice along with SabreDAV's XML response in a way that's at least well-formed. I filed #645 about this.

Pazu avatar Nov 30 '12 10:11 Pazu

@abstractmodel the commits you are referring to are for git master not for 4.5 You can try this: https://github.com/owncloud/core/pull/635#issuecomment-10869021

DeepDiver1975 avatar Nov 30 '12 12:11 DeepDiver1975

@DeepDiver1975 i DID these solutions you are reffering to... please have a look at my posting above...

it would be really cool, if somebody can deliver a working solution for this problem... :)

abstractmodel avatar Nov 30 '12 16:11 abstractmodel

still no solution?

abstractmodel avatar Dec 01 '12 09:12 abstractmodel

This will be fixed in a bugfix release this Monday. In the meantime I recommend to try the daily snapshot where the problem should be fixed. http://owncloud.org/releases/owncloud-daily-stable45.tar.bz2

karlitschek avatar Dec 01 '12 10:12 karlitschek