Migration gets stuck and/or fails #603

Open
opened 2 months ago by tacotexmex · 16 comments

I'm migrating from
https://git.minetest.land/MineClone2/MineClone2
👆to👇
https://codeberg.org/tacotexmex/MineClone2

Both Gitea instances, both v1.16.5.

The process has been going on for a couple of hours now, stating

Migrating Issues

When visiting the repo in a logged out state instead Codeberg says

Migrating from https://git.minetest.land/MineClone2/MineClone2 failed.

I'm able to clone what I think is the full repo to my local machine. I'm able to see some repo issues (54 Open, 46 Closed) from the https://codeberg.org/issues view but far from all (539 Open, 1234 Closed). From the former server's logs I can tell that Codeberg is still rapidly hitting the API for content, yet the list of issues on https://codeberg.org/issues doesn't grow.

Should I stand by for some more hours or has it failed? What do I do?

I'm migrating from https://git.minetest.land/MineClone2/MineClone2 👆to👇 https://codeberg.org/tacotexmex/MineClone2 Both Gitea instances, both v1.16.5. The process has been going on for a couple of hours now, stating >Migrating Issues When visiting the repo in a logged out state instead Codeberg says >Migrating from https://git.minetest.land/MineClone2/MineClone2 failed. I'm able to clone what I think is the full repo to my local machine. I'm able to see some repo issues (54 Open, 46 Closed) from the https://codeberg.org/issues view but far from all (539 Open, 1234 Closed). From the former server's logs I can tell that Codeberg is still rapidly hitting the API for content, yet the list of issues on https://codeberg.org/issues doesn't grow. Should I stand by for some more hours or has it failed? What do I do?
Collaborator

Hmm, I suppose if the migration really failed, there is no point in waiting.

But maybe someone else like @6543 can have a look?

Hmm, I suppose if the migration really failed, there is no point in waiting. But maybe someone else like @6543 can have a look?
Collaborator

oh awesome minetest plugins comming to codeberg 🎉

yes sure will look into

oh awesome minetest plugins comming to codeberg 🎉 yes sure will look into
6543 self-assigned this 2 months ago
Collaborator

will need more investigation ...

will need more investigation ...
Poster

Any news? The old server went bust because of the 25GB log file the migrationen generated, but it's up again.

Any news? The old server went bust because of the 25GB log file the migrationen generated, but it's up again.
Collaborator

bare git works, wiki works, ... labels, milestone, releases also

pull-requests: likely...
issues: wip

bare git works, wiki works, ... labels, milestone, releases also pull-requests: likely... issues: wip
Collaborator

ok so the issue si within issues or pull migration - but I did not got any stactrace back jet

ok so the issue si within `issues` or `pull` migration - but I did not got any stactrace back *__jet__*
Poster

Thanks! 🙌 I remember when migrating the issues off Github the migration failed until I edited out all unicode emojis out of the issues. I also get Error 500 on my instance whenever trying to post emojis, if that helps. To be clear, there shouldn't be any emojis in the issues being migrated, and Codeberg seems to handle unicode emojis well regardless. 🤷

Thanks! 🙌 I remember when migrating the issues off Github the migration failed until I edited out all unicode emojis out of the issues. I also get Error 500 on my instance whenever trying to post emojis, if that helps. To be clear, there shouldn't be any emojis in the issues being migrated, and Codeberg seems to handle unicode emojis well regardless. 🤷

Hmm. I tried to migrate repos from https://gitlab.com/interpeer/ and they failed as well. Unfortunately, there's not much to go by other than a message that the migration failed.

Hmm. I tried to migrate repos from https://gitlab.com/interpeer/ and they failed as well. Unfortunately, there's not much to go by other than a message that the migration failed.
Poster

@6543 Any ideas on how to proceed welcome. 😥

@6543 Any ideas on how to proceed welcome. 😥
Collaborator

@jfinkhaeuser I think this was because of enabled wikis that where not initilized on gitlab side - it should be fixed

@jfinkhaeuser I think this was because of enabled wikis that where not initilized on gitlab side - it should be fixed
Collaborator

@tacotexmex I guess you have wrong settings in your db -> https://docs.gitea.io/en-us/faq/#why-are-emoji-broken-on-mysql

@tacotexmex I guess you have wrong settings in your db -> https://docs.gitea.io/en-us/faq/#why-are-emoji-broken-on-mysql

@jfinkhaeuser I think this was because of enabled wikis that where not initilized on gitlab side - it should be fixed

Yes, for me it's fixed @6543 - can't speak about others.

> @jfinkhaeuser I think this was because of enabled wikis that where not initilized on gitlab side - it should be fixed Yes, for me it's fixed @6543 - can't speak about others.
Collaborator

well I fixed some migration bugs - but the bug causing this issue HERE is not

well I fixed some migration bugs - but the bug causing this issue **HERE** is not
Poster

Are there any other routes for imports to Codeberg. I'm root on the server I'm trying to migrate from and wouldn't mind importing the whole instance, users and all. That would actually be really great…

Are there any other routes for imports to Codeberg. I'm root on the server I'm trying to migrate from and wouldn't mind importing the whole instance, users and all. That would actually be really great…
6543 commented 4 days ago
Collaborator

at gitea we work on a dump & offline migration feature ...

but that is in active dev (need time) ...

the pure git data you always can pull & push ... but it's about the issues etc ...

... your insance do have 428 public users - I think it's more fesable if they just create an acount here
... I would migrate step by step (first with smal repos - they should work out...)
... for the mentioned big repo we either have to try to manually dump and import or sort out the current issue

at gitea we work on a dump & offline migration feature ... but that is in active dev (need time) ... the pure git data you always can pull & push ... but it's about the issues etc ... ... your insance do have 428 public users - I think it's more fesable if they just create an acount here ... I would migrate step by step (first with smal repos - they should work out...) ... for the mentioned big repo we either have to try to manually dump and import or sort out the current issue
6543 commented 4 days ago
Collaborator

if you have matrix PM me ...

if you have matrix PM me ...
Sign in to join this conversation.
No Milestone
No Assignees
4 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.