Gitea: Migration of a repo ends in 504 Gateway Time-out by nginx/1.14.2

Created on 20 Sep 2019  路  12Comments  路  Source: go-gitea/gitea

  • Gitea version (or commit ref): Most current
  • Git version: Most current
  • Operating system: Debian 10 "Buster"
  • Database (use [x]):

    • [ ] PostgreSQL

    • [ x] MySQL

    • [ ] MSSQL

    • [ ] SQLite

  • Can you reproduce the bug at https://try.gitea.io:

    • [ ] Yes (provide example URL)

    • [ ] No

    • [ x] Not relevant

  • Log gist:

Description

Migration of a repo ends in 504 Gateway Time-out by nginx/1.14.2, that's all what i can say...

Screenshots

dfwefef

...and when i try to delete the failed (on migration/mirroring) repo, i get a 500-error. And that will cause that i can't delete the failed repo anymore!!!!!

Screenshot here:

werter

WTF??

All 12 comments

Now it suddenly works - migration with option "mirror" was successful with the same (!!!!!) remote repo!

And: The failed repos was delete automatically.

Gitea seems to have tons of inconsistencies...

How to get the logs to debug what happened and why?

The only one difference between the 1st (not successful with 504 and 500 errors) and the 2nd (successful!!) try is:

1st try: Initial commit on remote repo had comment: "initial commit"
2nd try: Initial commit on remote repo had comment "..."

?????????????????????????????

Maybe there was a background process which caused that problem, i don't really believe that the inital commit's comment on the remote repo makes issues like that. That would be really strange...

The remote git server for mirroring can't be the problem - we use it since years with "SourceTree" - successfully and we never had such problems.

So it must be on Gitea level..

I have sent a PR #6200 to try to fix this.

ok thx

How can i see on what release version that fix is integrated? Thank you for your feedbacks.

last stable release is 1.9.3 as https://github.com/go-gitea/gitea/releases tells you ...
and if I understand lunny right he like to have implemented the "background-migration" in v1.10.x ...

Issue #6200 was recently moved from milestone 1.10.0 to 1.11.0. It doesn't mean that it couldn't be added to some 1.10.x along the way.

I moved #6200 because I found we could also migrate repos from github even if we have not background migrating implementation. To move forward v1.10, so I move it to v1.10.

@martijintro is your question/issue solfed

@lunny you mean 1.11.?

yes

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thehowl picture thehowl  路  3Comments

kolargol picture kolargol  路  3Comments

thehowl picture thehowl  路  3Comments

jorise7 picture jorise7  路  3Comments

internalfx picture internalfx  路  3Comments