• Kirill Smelkov's avatar
    gitlab-backup/restore: Gitlab wants uploads/ to be 0750 and dirs inside uploads/ to be 0755 · 48062989
    Kirill Smelkov authored
    As with repositories (see patch "gitlab-backup/restore: GitLab wants
    repositories to be drwxrws---") Gitlab wants proper permissions for
    uploads/ - else the following check fail
    
        Uploads directory setup correctly? ... no
          Try fixing it:
          sudo chmod 0750 .../var/gitlab/uploads
          For more information see:
          doc/install/installation.md in section "GitLab"
          Please fix the error above and rerun the checks.
    
        Uploads directory setup correctly? ... no
          Try fixing it:
          sudo chown -R slapuser14 .../var/gitlab/uploads
          sudo find .../var/gitlab/uploads -type f -exec chmod 0644 {} \;
          sudo find .../var/gitlab/uploads -type d -not -path .../var/gitlab/uploads -exec chmod 0755 {} \;
    
    and files are not served back from uploads - e.g. there is no uploaded icons shown.
    
    /cc @kazuhiko
    48062989
gitlab-backup 10.8 KB