Closed
Description
- Gitea version (or commit ref): 1.14.4
- Git version: 2.31.1
- Operating system: Windows Server 2019. Using an official download, installed in
C:\gitea
, run from command prompt (either as an admin or a regular user). - 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'm able to rename empty repositories. However, I get the following error when I try to rename repositories that contain commits:
2021/07/18 11:32:00 ...ters/repo/setting.go:102:SettingsPost() [E] ChangeRepositoryName: rename repository directory: rename D:\gitea\data\gitea-repositories\arcvetkovic\test.git D:\gitea\data\gitea-repositories\arcvetkovic\test1.git: The process cannot access the file because it is being used by another process.
What I've tried so far:
- I wasn't able to identify any processes using the file(s) (e.g., by using Process Explorer or similar solutions).
- After rebooting the server, the error is still there.
- Also checked that my user has modify/write permission (I'm able to rename directories by hand).
- Tried moving Gitea data from
D:
disk toC:
as well. - Finally, did a clean install, not only on the server but on a laptop with Windows 10 -- getting the same behavior.