Migration: Wiki shows 404 when Site link is not part of wiki #886

Open
opened 2025-11-02 03:40:23 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @ghost on GitHub (Jul 13, 2017).

  • Gitea version (or commit ref): 6a3c037
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

When migrating a repository from GitHub, Sites on the wiki, which link to documents in the main repository, show a 404 Error.

Example:
https://try.gitea.io/Marco/Gadgetbridge-Mirror/tree/master/README.md

Site on GitHub:
https://github.com/Freeyourgadget/Gadgetbridge/blob/master/README.md

Originally created by @ghost on GitHub (Jul 13, 2017). - Gitea version (or commit ref): 6a3c037 - Git version: - Operating system: - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes (provide example URL) - [ ] No - [ ] Not relevant - Log gist: ## Description When migrating a repository from GitHub, Sites on the wiki, which link to documents in the main repository, show a 404 Error. Example: https://try.gitea.io/Marco/Gadgetbridge-Mirror/tree/master/README.md Site on GitHub: https://github.com/Freeyourgadget/Gadgetbridge/blob/master/README.md
GiteaMirror added the type/proposal label 2025-11-02 03:40:23 -06:00
Author
Owner

@lunny commented on GitHub (Jul 14, 2017):

Because it's not a compatible route here.

@lunny commented on GitHub (Jul 14, 2017): Because it's not a compatible route here.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#886