-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External storage broken after upgrade to 19.0.2 #22485
Comments
I have the same issue. Here is where I learned to do that, this problem has been around for a while : |
@stanelie thanks for your response, but i'm not sure if SMB issue is relevant, as you downgraded the SMB code to workaround. Mine is related to WebDAV storage. @icewind1991 can you please check if the latest files_external app works with some vanilla WebDAV server? |
Workaround works for me but I had to overwrite two folders: |
Is this Issue still valid in NC21.0.2? If not, please close this issue. Thanks! :) |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
External storage app fails to display external share after upgrade to 19.0.2.
This directory is unavailable, please check the logs or contact the administrator
Checking storage configuration works fine, grren check displayed. Password is correct.
Log:
Call stack from cli:
Added additional error_log to exception handler:
Checked credentials - OK.
Checked server logs on the other side - digest authorization OK.
UPDATE. New findings:
Looks like Sabre http client error handling is broken. I have added error_log to error handling block in
3rdparty/sabre/http/lib/Client.php, line 142:
And this is what I got:
When client receives 401 response, it should add auth header and resend the request. As I see on the remote side, it does not happen. According to debug output, $retry is 0, $retryCount is missing. So the request is not being re-sent and the exception is thrown here:
It is definitely a bug.
Steps to reproduce
Operating system:
Centos
Web server:
nginx v1.16.1
Database:
MariaDB v.5.5.65
PHP version:
7.4.7
Nextcloud version: (see Nextcloud admin page)
19.0.2
Updated from an older Nextcloud/ownCloud or fresh install:
18.0.8
Signing status:
Signing status
``` Login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed paste the results here. ``` No errors have been found.List of activated apps:
App list
[root@onmydisk nextcloud]# sudo -u apache php occ app:list
Enabled:
Disabled:
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
WebDAV
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
The text was updated successfully, but these errors were encountered: