Upload links doesn't work anymore
Summary
If a uploaded image link is copied fron another project, to new one, the image is not showing anymore in the new project.
Steps to reproduce
- Create an issue in repository
X
and attach an image to this issue. - Copy the image link (e.g.
![image](/uploads/c889ab0212c204dd4a7511ffa042809b/image.png)
) - Create an issue in repository
Y
and paste the copied link.
What is the current bug behavior?
In the repository Y
the image is not shown.
What is the expected correct behavior?
Before version 12.1.2-ee
(docker), the image in repository Y
was shown / rendered.
Relevant logs and/or screenshots
- Origin issue with image in
X
repository - Origin issue (edit mode) in
X
repository - Issue in
Y
repository - Issue (edit mode) in
Y
repository
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
System information System: Proxy: no Current User: git Using RVM: no Ruby Version: 2.6.3p62 Gem Version: 2.7.9 Bundler Version:1.17.3 Rake Version: 12.3.2 Redis Version: 3.2.12 Git Version: 2.21.0 Sidekiq Version:5.2.7 Go Version: unknown
GitLab information Version: 12.1.2-ee Revision: d7aa668babd Directory: /opt/gitlab/embedded/service/gitlab-rails DB Adapter: PostgreSQL DB Version: 9.6.11 URL: https://git.DOMAIN.com HTTP Clone URL: https://git.DOMAIN.com/some-group/some-project.git SSH Clone URL: git@git.DOMAIN.com:some-group/some-project.git Elasticsearch: no Geo: no Using LDAP: yes Using Omniauth: yes Omniauth Providers:
GitLab Shell Version: 9.3.0 Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell Git: /opt/gitlab/embedded/bin/git
Results of GitLab application Check
Expand for output related to the GitLab application check
Checking GitLab subtasks ...
Checking GitLab Shell ...
GitLab Shell: ... GitLab Shell version >= 9.3.0 ? ... OK (9.3.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Check GitLab API access: OK Redis available via internal API: OK
Access to /var/opt/gitlab/.ssh/authorized_keys: OK gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Gitaly ...
Gitaly: ... default ... OK
Checking Gitaly ... Finished
Checking Sidekiq ...
Sidekiq: ... Running? ... yes Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking Incoming Email ...
Incoming Email: ... Reply by email is disabled in config/gitlab.yml
Checking Incoming Email ... Finished
Checking LDAP ...
LDAP: ... Server: ldapmain LDAP authentication... Success LDAP users with access to your GitLab server (only showing the first 100 results) User output sanitized. Found 100 users of 100 limit.
Checking LDAP ... Finished
Checking GitLab App ...
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? ... no Try fixing it: sudo chown -R git /var/opt/gitlab/gitlab-rails/uploads sudo find /var/opt/gitlab/gitlab-rails/uploads -type f -exec chmod 0644 {} ; sudo find /var/opt/gitlab/gitlab-rails/uploads -type d -not -path /var/opt/gitlab/gitlab-rails/uploads -exec chmod 0700 {} ; For more information see: doc/install/installation.md in section "GitLab" Please fix the error above and rerun the checks. 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: ... 4/1 ... yes 5/2 ... yes 28/3 ... yes 29/4 ... yes 3/5 ... yes 5/6 ... yes 11/7 ... yes 29/8 ... yes 10/9 ... yes 28/10 ... yes 29/11 ... yes 11/12 ... yes 14/13 ... yes 28/16 ... yes 11/18 ... yes 26/19 ... yes 11/20 ... yes 14/21 ... yes 26/22 ... yes 5/23 ... yes 27/24 ... yes 26/26 ... yes 30/27 ... yes 30/28 ... yes 30/29 ... yes 30/30 ... yes 28/33 ... yes 28/34 ... yes 28/35 ... yes 28/36 ... yes 30/38 ... yes 26/40 ... yes 26/41 ... yes 30/42 ... yes 26/43 ... yes 26/44 ... yes 30/45 ... yes 36/46 ... yes 28/48 ... yes 28/49 ... yes 26/50 ... yes 26/51 ... yes 26/52 ... yes 26/53 ... yes 18/54 ... yes 26/55 ... yes 26/56 ... yes 26/57 ... yes 26/58 ... yes 26/59 ... yes 26/60 ... yes 26/61 ... yes 9/63 ... yes 38/64 ... yes 26/65 ... yes 37/66 ... yes 38/67 ... yes 29/69 ... yes 2/70 ... yes 2/71 ... yes 2/72 ... yes 4/74 ... yes 4/75 ... yes 30/76 ... yes 26/77 ... yes 9/78 ... yes 36/79 ... yes 74/80 ... yes 74/81 ... yes 9/82 ... yes 37/83 ... yes 37/84 ... yes 26/85 ... yes 37/86 ... yes 74/88 ... yes 75/89 ... yes 36/90 ... yes 33/91 ... yes 9/92 ... yes 37/94 ... yes 9/95 ... yes 29/96 ... yes 28/97 ... yes 76/98 ... yes 36/99 ... yes 74/100 ... yes 37/101 ... yes 37/102 ... yes 5/103 ... yes 26/104 ... yes 79/105 ... yes 37/106 ... yes 26/108 ... yes 26/109 ... yes 29/110 ... yes 26/111 ... yes 5/112 ... yes 26/113 ... yes 82/118 ... yes 36/119 ... yes 38/121 ... yes 38/122 ... yes 27/123 ... yes 37/124 ... yes 26/125 ... yes 75/126 ... yes 75/127 ... yes 29/128 ... yes 89/129 ... yes 81/130 ... yes 81/132 ... yes 36/138 ... yes 37/139 ... yes 37/140 ... yes 2/142 ... yes 27/143 ... yes 5/144 ... yes 91/146 ... yes 26/149 ... yes 81/150 ... yes 5/155 ... yes 2/158 ... yes 16/159 ... yes 37/162 ... yes 76/163 ... yes 37/164 ... yes 105/166 ... yes 104/167 ... yes 28/168 ... yes 26/169 ... yes 119/170 ... yes 119/171 ... yes 119/172 ... yes 29/173 ... yes 29/174 ... yes 29/175 ... yes 114/176 ... yes 36/177 ... yes 36/178 ... yes 36/179 ... yes 28/180 ... yes 2/184 ... yes 2/185 ... yes 27/186 ... yes 119/189 ... yes 119/190 ... yes 119/191 ... yes 78/192 ... yes 2/193 ... yes 26/195 ... yes 119/196 ... yes 37/197 ... yes 78/198 ... yes 123/199 ... yes 127/200 ... yes 23/201 ... yes 128/202 ... yes 119/203 ... yes 2/204 ... yes 78/205 ... yes 135/206 ... yes 27/207 ... yes 119/208 ... yes 119/209 ... yes 127/210 ... yes 26/211 ... yes Redis version >= 2.8.0? ... yes Ruby version >= 2.5.3 ? ... yes (2.6.3) Git version >= 2.21.0 ? ... yes (2.21.0) Git user has default SSH configuration? ... yes Active users: ... 75 Elasticsearch version 5.6 - 6.x? ... skipped (elasticsearch is disabled)
Checking GitLab App ... Finished
Checking GitLab subtasks ... Finished