Skip to content

Create the uploads_storage_path directory

John Jarvis requested to merge jarv/create-uploads-directory into master

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.

Edited by GitLab Release Tools Bot

Merge request reports