-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Unable to open database file: The system cannot find the path specified #28300
Comments
After I created |
It was something about this earlier.... |
@lunny |
Why call |
Maybe this is not related. This issue start/come from v1.20.1 |
This is caused by #25944. When we call |
Even if there is no #25944, if you set Path to a new one but not the default "data", I think you will still see the same error. So I do not think it's a regression, but it indeed is a bad design of directory handling in Gitea. |
The fix should be this: Fix incorrect directory path handling for SQLite3 database file #28374 |
…gitea#28374) (go-gitea#28378) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Fix go-gitea#28300 (cherry picked from commit 5eaf91e)
Description
On windows:

Gitea Version
1.21.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
gitea-1.21.0-windows-4.0-amd64.exe
Database
None
The text was updated successfully, but these errors were encountered: