You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An unavailable external storage is whenever a storage has already been mounted once, the mount point exists, but one of the following occurred:
Remote credentials/password changed
Temporary network failure, remote not reachable
So far, not all the backends properly support this and some can have weird behaviors.
The only one that seems to work correctly is the "ownCloud" backend (and server to server sharing).
Here are the backends to verify and/or raise tickets for:
Note: it is the responsibility of the Storage class to decide whenever the remote error needs to lead to StorageNotAvailableException or another exception.
Goal is that when an ext storage isn't available WebDAV and Web UI still work instead of throwing 500.
Making the ext storages all raise \OCP\Files\StorageNotAvailableException when appropriate should make it work.
Note that #11992#11992 needs to be merged first for it to work with WebDAV.
WebDAV should throw the correct exceptions already
FTP I dont think is doable with the current backend (based on the builtin stream wrapper)
SMB might be doable with the currently backend but probably a lot of work, the new SMB backend will make it easy.
SFT, Amazon, Swift, Google Drive and Dropbox should be doable as long as their libraries expose the correct exceptions
Thanks for the info.
If needed we can split the task in separate tickets and do this progressively.
From what I saw with Dropbox, if I simulate a missing "api.dropbox.com" it will throw a "NotFound" exception which might or might not be the same as a file not found exception. This means potentially extra logic to properly detect such cases.
Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
Hey, this issue has been closed because the label status/STALE is set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.
Activity
PVince81 commentedon Oct 27, 2014
The sync client also needs to be able to react to 503, this was raised here: owncloud/client#1923
PVince81 commentedon Nov 6, 2014
Note: it is the responsibility of the
Storageclass to decide whenever the remote error needs to lead toStorageNotAvailableExceptionor another exception.PVince81 commentedon Nov 7, 2014
@icewind1991 can you help with this ?
PVince81 commentedon Nov 7, 2014
Goal is that when an ext storage isn't available WebDAV and Web UI still work instead of throwing 500.
Making the ext storages all raise
\OCP\Files\StorageNotAvailableExceptionwhen appropriate should make it work.Note that #11992 #11992 needs to be merged first for it to work with WebDAV.
icewind1991 commentedon Nov 7, 2014
WebDAV should throw the correct exceptions already
FTP I dont think is doable with the current backend (based on the builtin stream wrapper)
SMB might be doable with the currently backend but probably a lot of work, the new SMB backend will make it easy.
SFT, Amazon, Swift, Google Drive and Dropbox should be doable as long as their libraries expose the correct exceptions
PVince81 commentedon Nov 7, 2014
Thanks for the info.
If needed we can split the task in separate tickets and do this progressively.
From what I saw with Dropbox, if I simulate a missing "api.dropbox.com" it will throw a "NotFound" exception which might or might not be the same as a file not found exception. This means potentially extra logic to properly detect such cases.
24 remaining items
ownclouders commentedon Jan 13, 2018
Hey, this issue has been closed because the label
status/STALEis set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.(This is an automated comment from GitMate.io.)
ownclouders commentedon Feb 23, 2018
Hey, this issue has been closed because the label
status/STALEis set and there were no updates for 7 days. Feel free to reopen this issue if you deem it appropriate.(This is an automated comment from GitMate.io.)