rverchere / gitlab-migrator

Scripts to help migrate gitlab from one instance to another (users, groups and projects)
Apache License 2.0
5 stars 7 forks source link

Import hangs after internal server error #1

Open DavidPost-1 opened 2 years ago

DavidPost-1 commented 2 years ago

Thank you for the helpful scripts.

Whilst using gitlab-import.py I experienced an internal server error that did not raise an exception, but meant that the project did return an import_status of failed. This status isn't handled by the line https://github.com/rverchere/gitlab-migrator/blob/8fd4c8f98ebf79341f71b10e0faf4877cfdaf335/gitlab-import.py#L26 so I hung inside this loop.

I added a quick modification to attempt another import_project with overwrite=True after a failed status. This resulted in an exception breaking me out of the loop, but did not import the project.