URL Links in Wiki are broken

Hello GitLab community,

I am experiencing a bug, that I can not make sense of. I have a project-wiki which was working fine a few weeks ago. I created and tested it myself. Now my colleagues have told me that none of the links work and none of the images are loaded.

The GitLab CE instance is available at something like: http://server01.berlin.company.de/gitlab

This address is set as EXTERNAL_URL in /etc/gitlab/gitlab.rb. Page loads normally, logins, cloning etc. works perfectly fine.

The project wiki is setup with a wiki home that has links to other wiki pages like:

[Installation of example app](installation)

The resulting link however looks like:
http://server01.berlin.company.de/gitlab/gitlab/user/project/-/wikis/installation
and results in a 404 error.

Please note the two gitlab/gitlab after the server URL. The link should only contain one gitlab like:
http://server01.berlin.company.de/gitlab/user/project/-/wikis/installation

Editing the URL in the browser loads the correct page. The same goes for all images inside the Wiki. All the resulting links are broken:
http://server01.berlin.company.de/gitlab/gitlab/user/project/-/wikis/img/ins/wel.png
again correcting the URL in the browser shows the image.

Do you guys have any idea, how that erroneous URL gets generated? I know it was working fine, since I read through my Wiki and checked the text and images.

  • GitLab 13.0.6 (5aa982e01ea)
  • Ubuntu Server 20.04 LTS
  • Using non-bundled nginx

Any help would be greatly appreciated.

Regards,
Milad