-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
Describe the bug
When trying to push some repo to Gogs it throws an error
Gogs version and commit
0.12.1 - 43fc826 (The bug never occurred on 0.11.91)
Git version
git version 2.23.0.windows.1 (Windows Client and Windows Server)
and
git version 2.17.1 (Linux Client)
Operating system
Pushing PC -> Windows 10, Linux
Repo Server -> Windows Server 2016
Database
SQLite3
To Reproduce
Steps to reproduce the behavior:
- Open Gogs Service in services.msc
"C:\gogs\gogs.exe" web --config "C:\gogs\custom\conf\app.ini"
- Push some data (Push completes)
- Let the service run for about 24h
- Try to push some data again (Push throw an error)
git: 'credential-cache' is not a git command. See 'git --help'.
remote: Gogs: Internal error
To https://srvfs01.agst.com.br:3000/AGST/JigaBrise.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://srvfs01.agst.com.br:3000/AGST/JigaBrise.git'
- Restart the service on services.msc
- Try to push again and it works.
Can you reproduce the bug at https://try.gogs.io?
No
Expected behavior
As there is no pre-receive hook on the repo or something wrong in the local repo to finish the push successfully
Actual behavior
When trying to push some repo to Gogs it throws an error
Screenshots
Error:
Ok (After restarting the service):
Additional context
app.ini.txt
gogs.log
hooks/*.log are empty