#33445Handle unavailable storages
Description
We need an error handling for “Storage is not reachable”
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
History 14
-
Andreas Wolf commented 02/02/12, 16:30
-
Andreas Wolf commented and changed tracker
TaskFeature subjectFilelist: Error handling for Storage is not reachableHandle not available statusNewAccepted 04/12/12, 11:59The filelist (and all other parts of the UI) should also react accordingly.
I agreed with Benni to have this in two flavors: If the configuration of a storage is invalid (e.g. it points to a non-existing folder), we will permanently disable the storage and an admin has to reactivate it (could be by saving the TCA record).
If a storage is temporarily unavailable (e.g. because of network errors), we should disable it for some minutes (on a per-user base in the backend) and then automatically check again. For the frontend we want to have as little impact as possible – which means we should e.g. not throw exceptions for inaccessible storages there. -
Andreas Wolf changed subject
Handle not availableHandle unavailable storages 04/13/12, 14:11 -
Ingmar Schlecht changed target version 04/30/12, 16:16
-
Steffen Ritter changed target version 09/03/12, 11:05
-
Alexander Opitz changed target version 01/14/14, 15:53
-
Alexander Opitz changed project id 01/14/14, 15:53
-
Alexander Opitz changed category TYPO3 Version 6.0 01/14/14, 15:54
-
Ingo Schmitt commented and changed status
AcceptedNeeds Feedback 01/18/15, 22:07Hey Tom,
does this issue still exist in 6.2.x
-
Tom Ruether commented 02/09/15, 21:46
yes it still exists
-
Alexander Opitz changed status
Needs FeedbackNew 06/18/15, 10:54 -
Sascha Egerer commented 08/24/16, 09:27
Andreas Wolf wrote:
> The filelist (and all other parts of the UI) should also react accordingly.
>
> I agreed with Benni to have this in two flavors: If the configuration of a storage is invalid (e.g. it points to a non-existing folder), we will permanently disable the storage and an admin has to reactivate it (could be by saving the TCA record).
> If a storage is temporarily unavailable (e.g. because of network errors), we should disable it for some minutes (on a per-user base in the backend) and then automatically check again. For the frontend we want to have as little impact as possible – which means we should e.g. not throw exceptions for inaccessible storages there.IMO if a storage points to a non existing folder that does not mean that the storage is invalid. If the local storage is a mounted folder and that becomes unavailable for a short time that must not mean that the storage is invalid. Thats the same case as for remote storages.
Maybe we should add an option to the storage to automatically reactivate it if its back? -
Susanne Moog commented and changed status
NewNeeds Feedback 03/07/19, 15:34Can someone involved in the topic write a bit more about what needs to be done here and which cases need to be considered? As far as I can see, we currently have the “is Online” check for storages, which is automatically checked and set to false if a storage is offline. What else needs to be done?
-
Susanne Moog commented and changed status
Needs FeedbackClosed 03/24/20, 11:15No feedback and clarification for a long time, closing the issue now.
This is especially important for remote storages, as these might easily become unavailable (network problems, server downtime etc).
The foremost problem is that we have to store this state internally, otherwise we always have to wait for a network timeout on each access (which might be many even within one request). We should mark a storage as unavailable for a certain amount of time in case of a timeout – but this should be handled on a per-driver level.