Project Avatar not showing
Summary
After Upload of Project/Group Avatar, it doesn't show up.
Steps to reproduce
Go to (Sub-)Group/Project -> Settings -> General, Upload a JPG/PNG.
What is the current bug behavior?
Page refreshes, but Avatar doesn't show up.
What is the expected correct behavior?
After refresh, Avatar should show up.
Relevant logs and/or screenshots
...
Parameters: {"utf8"=>"✓", "authenticity_token"=>"[FILTERED]", "project"=>{"name"=>"gitlab", "id"=>"1", "description"=>"", "default_branch"=>"master", "repository_size_limit"=>"", "tag_list"=>"", "avatar"=>{".path"=>"/opt/gitlab/embedded/service/gitlab-rails/public/uploads/tmp/multipart-651362087/stacked_wm.jpg", ".name"=>"stacked_wm.jpg"}}, "namespace_id"=>"sys", "id"=>"gitlab"}
Redirected to https://git.DOMAIN.net/sys/gitlab/edit
...
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
gitlab-rake gitlab:env:info
System information System:
Proxy: no Current User: git Using RVM: no Ruby Version: 2.3.5p376 Gem Version: 2.6.13 Bundler Version:1.13.7 Rake Version: 12.3.0 Redis Version: 3.2.11 Git Version: 2.14.3 Sidekiq Version:5.0.4 Go Version: unknownGitLab information Version: 10.3.5-ee Revision: 60e1308 Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: postgresql DB Version: 9.6.5 URL: https://git.DOMAIN.net HTTP Clone URL: https://git.DOMAIN.net/some-group/some-project.git SSH Clone URL: ssh://git@git.DOMAIN.net:2222/some-group/some-project.git Elasticsearch: yes Geo: no Using LDAP: yes Using Omniauth: no
GitLab Shell Version: 5.10.2 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories Hooks: /opt/gitlab/embedded/service/gitlab-shell/hooks Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
GitLab Shell version >= 5.10.2 ? ... OK (5.10.2) Repo base directory exists? default... yes Repo storage directories are symlinks? default... no Repo paths owned by git:root, or git:git? default... yes Repo paths access is drwxrws---? default... yes hooks directories in repos are links: ... 3/1 ... ok 9/2 ... ok 2/4 ... ok 7/5 ... repository is empty 2/6 ... ok 2/7 ... ok 9/8 ... ok 9/9 ... ok 5/10 ... ok Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OKAccess to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Reply by email is disabled in config/gitlab.yml Checking LDAP ...
Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) ...removed....
Checking LDAP ... Finished
Checking GitLab ...
Git configured correctly? ... yes Database config exists? ... yes All migrations up? ... yes Database contains orphaned GroupMembers? ... no GitLab config exists? ... yes GitLab config up to date? ... yes Log directory writable? ... yes Tmp directory writable? ... yes Uploads directory exists? ... yes Uploads directory has correct permissions? ... yes Uploads directory tmp has correct permissions? ... yes Init script exists? ... skipped (omnibus-gitlab has no init script) Init script up-to-date? ... skipped (omnibus-gitlab has no init script) Projects have namespace: ... 3/1 ... yes 9/2 ... yes 2/4 ... yes 7/5 ... yes 2/6 ... yes 2/7 ... yes 9/8 ... yes 9/9 ... yes 5/10 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.3.5 ? ... yes (2.3.5) Git version >= 2.7.3 ? ... yes (2.14.3) Git user has default SSH configuration? ... yes Active users: ... 4 Elasticsearch version 5.1 - 5.5? ... yes (5.5.2)
Checking GitLab ... Finished
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)
regards, Roman