Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating from gitlab results in 500 when viewing Wiki #903

Closed
1 of 6 tasks
the-holger opened this issue Feb 11, 2017 · 6 comments
Closed
1 of 6 tasks

Migrating from gitlab results in 500 when viewing Wiki #903

the-holger opened this issue Feb 11, 2017 · 6 comments
Labels
Milestone

Comments

@the-holger
Copy link

the-holger commented Feb 11, 2017

  • Gitea version (or commit ref): 6aacf4d
  • Git version: 2.7.4
  • Operating system: Ubuntu 16.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:
[...routers/repo/wiki.go:56 renderWikiPage()] [E] GetBranchCommit: object does not exist [id: refs/heads/master, rel_path: ]

Description

Hi all!
I'm trying to migrate my repositories hosted on my own gitlab-ce instance to a gitea server (due to performance issues and the fact that gitlab is really bloated and appears to have a head of its own).
When creating a repo from scratch I can add and edit wiki pages just fine, however if I migrate a repo from gitlab I get a 500 error, showing the above line in the log.

Could not try on https://try.gitea.io since I didn't receive activation email for account yet.

This might be related to this gogs issue.

@lunny lunny added this to the 1.1.0 milestone Feb 11, 2017
@lunny lunny added the type/bug label Feb 11, 2017
@lunny
Copy link
Member

lunny commented Feb 11, 2017

@tboerger maybe try.gitea.io should disable register confirm email?

@strk
Copy link
Member

strk commented Feb 11, 2017

@lunny I'd keep the confirm email, at least we check if it works or not...

@lunny
Copy link
Member

lunny commented Feb 12, 2017

I think this has been fixed by #544, maybe you could use a newer version to test it.

@the-holger
Copy link
Author

@lunny Thanks! Tried with 1.0.1:

  • Empty wikis are removed, everything works as expected
  • Nonempty wikis are migrated (i.e. no "Welcome to Wiki" page), but the "Pages" page is empty

@lunny
Copy link
Member

lunny commented Feb 12, 2017

So that's another issue. You can change this issue's title or maybe you can fire another.

@lunny
Copy link
Member

lunny commented Feb 15, 2017

I will close this, please feel free to reopen it.

@lunny lunny closed this as completed Feb 15, 2017
@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants