Skip to content

Renaming repositories does result in 500 error. #16427

@onlygecko

Description

@onlygecko
  • Gitea version (or commit ref): 1.14.4
  • Git version: 2.32.0
  • Operating system: Windows 2019, Downloaded runable file from github, runs as a Windows service
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
  • Log gist:

Description

I want to rename a repository but it isn't possible. I just get a "500" error. The log file contains the following message but not more:

2021/07/14 15:52:30 ...ters/repo/setting.go:102:SettingsPost() [E] ChangeRepositoryName: rename repository directory: rename C:\gitea\gitea-repositories\frohp\frohp-themen.git C:\gitea\gitea-repositories\frohp\frohp-themen-2.git: Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.
2021/07/14 15:52:30 ...s/context/context.go:184:HTML() [D] Template: status/500

In English the message is something like: The process can't access the file. It is open by another process.

Screenshots

Not relevant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions