Online storage failed upload temporary storage #201

Closed
opened 2020-09-28 23:58:35 +00:00 by jamie · 6 comments
jamie commented 2020-09-28 23:58:35 +00:00 (Migrated from git.hazaar.io)

Problem:

If a file is being copied/uploaded to a file backend that stores files in some sort of online storage, such as Dropbox, SharePoint, etc, and that online storage is currently inaccessible, an error is displayed to the user.

Solution:

It would be nice to have the ability to store these files in a temporary directory when the online storage is currently offline. This is a feature that can be activated as needed in the media.json config file for individual filesystems and will stop errors being displayed to users when access to online storage fails.

Further considerations would be, when do the files then get copied to the online storage? We may be able to do this on-the-fly the next time any file is accessed using the file abstraction system. We could also have a function that can be called by the application to trigger this. Files will then only be copied to online storage if the online storage system is accessible again.

**Problem:** If a file is being copied/uploaded to a file backend that stores files in some sort of online storage, such as Dropbox, SharePoint, etc, and that online storage is currently inaccessible, an error is displayed to the user. **Solution:** It would be nice to have the ability to store these files in a temporary directory when the online storage is currently offline. This is a feature that can be activated as needed in the `media.json` config file for individual filesystems and will stop errors being displayed to users when access to online storage fails. Further considerations would be, when do the files then get copied to the online storage? We may be able to do this on-the-fly the next time any file is accessed using the file abstraction system. We could also have a function that can be called by the application to trigger this. Files will then only be copied to online storage if the online storage system is accessible again.
jamie commented 2020-09-29 04:01:34 +00:00 (Migrated from git.hazaar.io)

changed the description

changed the description
jamie commented 2020-10-07 01:58:14 +00:00 (Migrated from git.hazaar.io)

mentioned in issue #204

mentioned in issue #204
jamie commented 2020-10-07 01:59:40 +00:00 (Migrated from git.hazaar.io)

marked this issue as related to #204

marked this issue as related to #204
jamie commented 2020-10-12 03:04:50 +00:00 (Migrated from git.hazaar.io)

mentioned in merge request !104

mentioned in merge request !104
jamie commented 2020-10-12 03:04:51 +00:00 (Migrated from git.hazaar.io)

created merge request !104 to address this issue

created merge request !104 to address this issue
jamie commented 2021-03-13 11:39:48 +00:00 (Migrated from git.hazaar.io)

mentioned in commit b80c1eaf9de7dbe798d663dd22595a0058696bde

mentioned in commit b80c1eaf9de7dbe798d663dd22595a0058696bde
jamie (Migrated from git.hazaar.io) closed this issue 2021-03-13 11:39:48 +00:00
jamie self-assigned this 2025-09-04 01:15:31 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/framework#201
No description provided.