Create the uploads_storage_path directory
resolves https://gitlab.com/gitlab-org/release/framework/issues/392
local storage configuration
https://docs.gitlab.com/ee/administration/uploads.html#using-local-storage
we instruct users to set
gitlab_rails['uploads_storage_path'] = "/mnt/storage/"
but this directory is not created by reconfigure.
this is only a problem when it is changed because the default is:
/var/opt/gitlab/gitlab-rails
object storage configuration
Currently, due to https://gitlab.com/gitlab-org/gitlab-ce/issues/47220 we still write to this directory when using object storage. Although in this case you probably would not change it from the default, if you do uploads will not work because the directory will not exist.
Merge request reports
Activity
1 Warning You may want to add ~Distribution label to this MR for gitlab-insights Generated by
DangerEdited by 🤖 GitLab Bot 🤖changed milestone to %12.1
assigned to @jarv
- Resolved by Balasankar 'Balu' C
assigned to @balasankarc
@balasankarc could i get your thoughts on !3396 (diffs, comment 187382765) ? I am afraid this might not be as straightforward as I hope given that we default to the gitlab-rails directory.
- Resolved by John Jarvis
added 1 commit
- 185d2b2e - Fix the default path for uploads_storage_path in gitlab.rb.template
unassigned @balasankarc
added 1 commit
- 9eda04a7 - Create uploads storage directory only if it is not the default
added 1 commit
- 86d33c99 - Create uploads storage directory only if it is not the default
assigned to @balasankarc and unassigned @jarv
added 1 commit
- 5150a80d - Create uploads storage directory only if it is not the default
added 1 commit
- a7168b3d - Create uploads storage directory only if it is not the default
added 31 commits
-
a7168b3d...9f2c6c09 - 28 commits from branch
master
- 5399649e - Create the uploads_storage_path directory
- d3a2a4b5 - Fix the default path for uploads_storage_path in gitlab.rb.template
- 3dd27634 - Create uploads storage directory only if it is not the default
Toggle commit list-
a7168b3d...9f2c6c09 - 28 commits from branch
- Resolved by John Jarvis
- Resolved by John Jarvis
@jarv One comment.
assigned to @jarv and unassigned @balasankarc
added 1 commit
- fd47a244 - Create uploads storage directory only if it is not the default
mentioned in commit d73ca7a1
added typefeature label
added teamDelivery label
added workflowstaging-ref label
added workflowproduction label and removed workflowstaging-ref label