-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Closed
gogs/git-module
#134Labels
💊 bugSomething isn't workingSomething isn't working
Description
Gogs version
14.1
Git version
- Server: Debian 12 (git 2.39.5)
- Client: Debian 12 (git 2.39.5)
Operating system
Debian 12
Database
default
Describe the bug
Cannot upload / edit files via GOGS web interface. This happens "95%" of the time - very occasionally, it works, but almost always it fails.
To reproduce
Attempt to upload a file via the GOGS web interface, or edit an existing file (eg editing a README.md) the browser displays the error such as "Failed to update/create file 'ReadMe.md' with error: internal server error"
And the gogs.log file shows [ERROR] [...gs/internal/route/repo/editor.go:511 UploadFilePost()] Failed to upload files: discard local r branch[master] changes: reset [revision: origin/master]: exit status 128 - fatal: option '--end-of-options' must come before non-option arguments
Expected behavior
In versions previous to GOGS 14, uploading files and editing files worked fine.
Additional context
No response
Code of Conduct
- I agree to follow this project's Code of Conduct
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
💊 bugSomething isn't workingSomething isn't working