Skip to content

Wiki pages in subdirectories fail to render

Summary

Following an upgrade to a self-hosted GitLab to 14.10.2-ce, previously accessible wiki pages show "The content for this wiki page failed to load. To fix this error, reload the page."

Steps to reproduce

  • Have a project wiki, with pages under subdirectories.
  • Upgrade the install to Omnibus 14.10.2-ce.
  • Attempt to view wiki page.

Example Project

Cannot reproduce on gitlab.com

What is the current bug behavior?

An error message is displayed: "The content for this wiki page failed to load. To fix this error, reload the page."

Reloading fails.

What is the expected correct behavior?

Wiki content is displayed.

Relevant logs and/or screenshots

Output of checks

Results of GitLab environment info

Expand for output related to GitLab environment info

System information
System:		Debian 9.13
Current User:	git
Using RVM:	no
Ruby Version:	2.7.5p203
Gem Version:	3.1.4
Bundler Version:2.2.33
Rake Version:	13.0.6
Redis Version:	6.2.6
Sidekiq Version:6.4.0
Go Version:	unknown

GitLab information
Version:	15.0.0
Revision:	8a186dedfc1
Directory:	/opt/gitlab/embedded/service/gitlab-rails
DB Adapter:	PostgreSQL
DB Version:	12.10
URL:		https://git.ichec.ie
HTTP Clone URL:	https://git.ichec.ie/some-group/some-project.git
SSH Clone URL:	git@git.ichec.ie:some-group/some-project.git
Using LDAP:	no
Using Omniauth:	yes
Omniauth Providers: shibboleth

GitLab Shell
Version:	14.3.0
Repository storage paths:
- default: 	/var/opt/gitlab/git-data/repositories
GitLab Shell path:		/opt/gitlab/embedded/service/gitlab-shell

The issue happens on this Debian 9 instance, but not on the Debian 11 instance which is due to replace it.

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 >= 14.3.0 ? ... OK (14.3.0) Running /opt/gitlab/embedded/service/gitlab-shell/bin/check Internal API available: OK Redis available via internal API: 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 (cluster/worker) ... 1/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: ... LDAP is disabled in config/gitlab.yml

Checking LDAP ... Finished

Checking GitLab App ...

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 Systemd unit files or init script exist? ... skipped (omnibus-gitlab has neither init script nor systemd units) Systemd unit files or init script up-to-date? ... skipped (omnibus-gitlab has neither init script nor systemd units) Projects have namespace: ... 8/2 ... yes 7/3 ... yes 7/5 ... yes 8/6 ... yes 6/7 ... yes 7/8 ... yes 7/10 ... yes 7/11 ... yes 8/12 ... yes 7/14 ... yes 24/16 ... yes 24/17 ... yes 24/18 ... yes 20/19 ... yes 20/20 ... yes 20/21 ... yes 24/22 ... yes 20/23 ... yes 24/24 ... yes 20/25 ... yes 24/26 ... yes 24/27 ... yes 24/28 ... yes 24/29 ... yes 24/30 ... yes 24/31 ... yes 127/32 ... yes 127/33 ... yes 24/34 ... yes 24/35 ... yes 20/36 ... yes 24/37 ... yes 24/38 ... yes 24/39 ... yes 7/40 ... yes 7/41 ... yes 7/42 ... yes 20/43 ... yes 7/44 ... yes 7/45 ... yes 24/46 ... yes 7/47 ... yes 7/48 ... yes 7/49 ... yes 24/50 ... yes 24/51 ... yes 24/52 ... yes 17/53 ... yes 7/54 ... yes 7/55 ... yes 7/57 ... yes 7/58 ... yes 7/59 ... yes 24/60 ... yes 24/61 ... yes 24/62 ... yes 24/63 ... yes 7/64 ... yes 7/66 ... yes 24/67 ... yes 24/68 ... yes 24/69 ... yes 24/70 ... yes 24/71 ... yes 24/73 ... yes 24/74 ... yes 20/75 ... yes 24/76 ... yes 24/77 ... yes 24/78 ... yes 24/80 ... yes 24/82 ... yes 24/83 ... yes 24/84 ... yes 24/86 ... yes 24/87 ... yes 16/88 ... yes 127/89 ... yes 24/90 ... yes 7/92 ... yes 7/93 ... yes 13/94 ... yes 8/95 ... yes 7/96 ... yes 34/98 ... yes 9/100 ... yes 2/101 ... yes 7/102 ... yes 72/105 ... yes 20/107 ... yes 14/109 ... yes 16/110 ... yes 7/111 ... yes 77/112 ... yes 14/113 ... yes 8/114 ... yes 25/115 ... yes 87/117 ... yes 87/118 ... yes 7/119 ... yes 15/120 ... yes 15/121 ... yes 8/124 ... yes 15/125 ... yes 7/126 ... yes 17/127 ... yes 2/128 ... yes 7/129 ... yes 97/130 ... yes 98/131 ... yes 7/132 ... yes 7/133 ... yes 7/134 ... yes 130/135 ... yes 14/136 ... yes 116/137 ... yes 14/138 ... yes 7/139 ... yes 127/140 ... yes 117/141 ... yes 7/142 ... yes 117/143 ... yes 86/144 ... yes 126/145 ... yes 130/146 ... yes 129/147 ... yes 8/149 ... yes 86/151 ... yes 135/153 ... yes 126/154 ... yes 126/155 ... yes 7/156 ... yes 117/157 ... yes 138/158 ... yes 70/159 ... yes 98/160 ... yes 117/161 ... yes 142/162 ... yes 14/163 ... yes 142/164 ... yes 82/166 ... yes 129/167 ... yes 2/170 ... yes 161/185 ... yes 157/186 ... yes 138/187 ... yes 138/189 ... yes 160/190 ... yes 117/191 ... yes 138/192 ... yes 138/193 ... yes 158/194 ... yes 133/195 ... yes 132/197 ... yes 158/198 ... yes 117/199 ... yes 132/200 ... yes 181/201 ... yes 117/202 ... yes 142/203 ... yes 162/205 ... yes 162/206 ... yes 163/207 ... yes 138/208 ... yes 131/209 ... yes 162/210 ... yes 14/211 ... yes 158/212 ... yes 126/213 ... yes 158/214 ... yes 131/215 ... yes 164/216 ... yes 117/217 ... yes 203/218 ... yes 203/219 ... yes 133/220 ... yes 167/221 ... yes 162/224 ... yes 206/225 ... yes 161/226 ... yes 129/227 ... yes 181/230 ... yes 82/231 ... yes 169/232 ... yes 161/233 ... yes 172/234 ... yes 161/235 ... yes 82/236 ... yes 98/237 ... yes 98/238 ... yes 98/239 ... yes 82/241 ... yes 98/242 ... yes 98/243 ... yes 82/244 ... yes 98/245 ... yes 162/249 ... yes 132/250 ... yes 98/251 ... yes 167/252 ... yes 181/253 ... yes 142/254 ... yes 183/255 ... yes 76/256 ... yes 13/257 ... yes 158/258 ... yes 181/259 ... yes 157/260 ... yes 158/261 ... yes 188/262 ... yes 132/263 ... yes 203/264 ... yes 25/265 ... yes 129/266 ... yes 140/267 ... yes 140/268 ... yes 140/269 ... yes 140/270 ... yes 142/271 ... yes 126/272 ... yes 167/273 ... yes 167/274 ... yes 188/275 ... yes 167/277 ... yes 86/278 ... yes 82/279 ... yes 198/280 ... yes 202/281 ... yes 131/282 ... yes 158/283 ... yes 16/284 ... yes 158/285 ... yes 7/286 ... yes 7/287 ... yes 209/289 ... yes 208/290 ... yes 208/291 ... yes 158/292 ... yes 140/293 ... yes 216/294 ... yes 132/295 ... yes 129/296 ... yes 167/297 ... yes 99/298 ... yes 161/300 ... yes 169/301 ... yes 169/302 ... yes 169/303 ... yes 117/304 ... yes 219/305 ... yes 219/306 ... yes 98/307 ... yes 7/308 ... yes 135/309 ... yes 167/310 ... yes 167/311 ... yes 129/312 ... yes 219/313 ... yes 219/314 ... yes 158/315 ... yes 158/316 ... yes 158/317 ... yes 99/318 ... yes 234/323 ... yes 133/325 ... yes 247/326 ... yes 158/327 ... yes 167/328 ... yes 117/329 ... yes 202/331 ... yes 247/332 ... yes 99/333 ... yes 169/334 ... yes 117/335 ... yes 219/336 ... yes 247/337 ... yes 247/338 ... yes 234/341 ... yes 234/342 ... yes 234/343 ... yes 234/344 ... yes 234/345 ... yes 198/346 ... yes 198/347 ... yes 240/349 ... yes 240/350 ... yes 240/351 ... yes 234/352 ... yes 198/353 ... yes 247/354 ... yes 70/355 ... yes 242/356 ... yes 99/357 ... yes 99/358 ... yes 133/359 ... yes 135/360 ... yes 131/361 ... yes 99/363 ... yes 161/366 ... yes 243/367 ... yes 232/368 ... yes 117/369 ... yes 232/370 ... yes 169/371 ... yes 240/372 ... yes 249/373 ... yes 7/374 ... yes 202/375 ... yes 198/376 ... yes 188/377 ... yes 202/378 ... yes 167/379 ... yes 256/380 ... yes 7/381 ... yes 13/382 ... yes 161/383 ... yes 258/385 ... yes 21/387 ... yes 261/388 ... yes 169/389 ... yes 234/396 ... yes 198/397 ... yes 275/398 ... yes 161/399 ... yes 198/400 ... yes 142/401 ... yes 198/402 ... yes 169/403 ... yes 257/404 ... yes 280/405 ... yes 284/410 ... yes 284/411 ... yes 20/412 ... yes 198/413 ... yes 198/414 ... yes 198/415 ... yes 198/416 ... yes 169/417 ... yes 256/418 ... yes 284/419 ... yes 216/420 ... yes Redis version >= 5.0.0? ... yes Ruby version >= 2.7.2 ? ... yes (2.7.5) Git user has default SSH configuration? ... yes Active users: ... 132 Is authorized keys file accessible? ... yes GitLab configured to store new projects in hashed storage? ... yes All projects are in hashed storage? ... yes

Checking GitLab App ... Finished

Checking GitLab subtasks ... Finished

Possible fixes