Skip to content

Commit

Permalink
5.0.6-0 to 5.0.9.0 Configuration Backup file upload fails #2846
Browse files Browse the repository at this point in the history
Thanks to Hooverdan96 for diagnosing this issue. Our last major
Djando update assumed a `default` STORAGES index that appears
to not default to existing. Provide the `default` STORAGES config
entry to appease Django and fix the consequently broken config
backup file upload function.
  • Loading branch information
phillxnet committed Jun 17, 2024
1 parent 5cdc84a commit 296532b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rockstor/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,11 @@
"huey.contrib.djhuey",
)

# STATICFILES_STORAGE = "pipeline.storage.PipelineManifestStorage"
# https://docs.djangoproject.com/en/4.2/ref/settings/#std-setting-STORAGES
STORAGES = {
"default": {
"BACKEND": "django.core.files.storage.FileSystemStorage",
},
"staticfiles": {
"BACKEND": "pipeline.storage.PipelineManifestStorage",
},
Expand Down

0 comments on commit 296532b

Please sign in to comment.