-
Notifications
You must be signed in to change notification settings - Fork 5k
No wiki for migrated repo #3792
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
Comments
I have the same problem and it appears that the migrated wiki repositories do not have a master branch. (located next to the original repository in the gogs repositories folder) When I run a Since I only have empty wiki's my workaround was to delete the existing/migrated wiki repository and copy the one from the locally created test project which does have a master branch. |
+1 thank you for serve awesome project 'gogs'. i do gitlab to gogs migrate. created project, code, issue, pull requrests, commits, releases all successfully migrated. but just wiki is response 500 error, not opened. |
@512gbyte I had the same issue, you need to update your server's git version. I think it needs to run I was running Hope this helps |
git version is 2.7.4. this is running on aws (ubuntu-server-16.04).. |
@512gbyte that's strange..I had the exact same error and problem as you and updating fixed it. Can you try upgrading it more? I'm currently running
I doubt No.2 will work but doesn't hurt to try ¯_(ツ)_/¯ |
thanks for reply! |
@ghost so it worked? |
Ok, I got an easy workaround for the 500 Error. |
@cracker0dks where did you migrate from? Gogs tries to clone related wiki repository if exists, see https://github.com/gogits/gogs/blob/master/models/repo.go#L640-L650 |
Same issue, migrated from gitlab.com |
Failed from gitlab.com because I think it always requires a password? I can migrate any public repo with wiki from GitHub without any problem. |
I mean that even tho no wiki got migrated (btw. I had no wiki), you don't get the page to create a new wiki entry, but instead a 500 error page. |
@jxsl13 can you create an example on demo site? (500 on wiki after migration) |
@jxsl13 Thanks! What is the source URL so I can perform clone on my machine? |
was actually a private project on gitlab: made it public https://gitlab.com/jxsl13/Informatik-A |
I might know the problem: Gogs detected that there is a wiki, but failed to clone and didn't clean up the directory. Will check on that, thanks for the info! |
Patch has pushed to fix this issue, please test on Note the already broken ones still won't work, but newly migrate ones should work. |
…a page that fits into the viewport (gogs#3792) Signed-off-by: Liam Cottam <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Hey,
I use the latest Dockerversion of Gogs and migrated a lot of repos successfully. But all of them have no wiki and are showing error 500 when I want to visit the wiki.
The Server log shows:
2016/10/21 03:02:24 [...routers/repo/wiki.go:54 renderWikiPage()] [E] GetBranchCommit: object does not exist [id: refs/heads/master, rel_path: ]
If I make a new test repo iside the gogs page, I can add a wiki as intended.
Is this my fault? How can I add a wiki to a migrated repo?
Thanks :)
PS: I dont want to migrate the wiki... I just want to be able to add a new one after code migration.
The text was updated successfully, but these errors were encountered: