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

HTTP 500 on new migration. #19585

Closed
radjah opened this issue May 2, 2022 · 1 comment · Fixed by #19588
Closed

HTTP 500 on new migration. #19585

radjah opened this issue May 2, 2022 · 1 comment · Fixed by #19588
Labels

Comments

@radjah
Copy link

radjah commented May 2, 2022

Description

  1. Create new migration with mirrow
  2. Push green button
  3. HTTP 500
    After some time I get working mirror of repo.

Gitea Version

1.17.0+dev-506-gedff571aa

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

https://gist.github.com/radjah/5346e850bd0d7ba0dc2e48da543efb69

Screenshots

изображение

Git Version

2.30.2

Operating System

Debian GNU/Linux 11 (bullseye)

How are you running Gitea?

Run via systemd.

[Unit]
Description=Gitea - Git with a cup of tea
Wants=local-fs.target network-online.target
After=network.target network-online.target

[Service]
WorkingDirectory=/data/gitea
ExecStart=/data/gitea/gitea
User=radjah
Group=share
#CapabilityBoundingSet=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target

Access via nginx with https and direct from LAN without https.

Database

MySQL

@radjah radjah added the type/bug label May 2, 2022
@Gusted
Copy link
Contributor

Gusted commented May 2, 2022

Regression due to #19295

Gusted added a commit to Gusted/gitea that referenced this issue May 2, 2022
- When a repository is still being migrated, don't try to fetch the
Mirror from the database. Instead skip it. This allows to visit
repositories that are still being migrated and were configured to be
mirrored.
- Resolves go-gitea#19585
- Regression: go-gitea#19295
lafriks pushed a commit that referenced this issue May 3, 2022
- When a repository is still being migrated, don't try to fetch the
Mirror from the database. Instead skip it. This allows to visit
repositories that are still being migrated and were configured to be
mirrored.
- Resolves #19585
- Regression: #19295

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
AbdulrhmnGhanem pushed a commit to kitspace/gitea that referenced this issue Aug 24, 2022
- When a repository is still being migrated, don't try to fetch the
Mirror from the database. Instead skip it. This allows to visit
repositories that are still being migrated and were configured to be
mirrored.
- Resolves go-gitea#19585
- Regression: go-gitea#19295

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants