Open piperoc opened 1 year ago
Clearly it's a commit size issue. I reduced the amount of files to commit/push and eventually succeeded. But in most situations (especially at the beginning of the project), it's likely that one would add many files and dependencies at once. It would be nice to know if there is a way to manage that.
I looked around (StackOverflow, etc.) found some information but nothing definitive other than you should use SSH instead, which is not always an option.
Thanks for any info on this.
Maybe you could change the timeout on app.ini [git.timeout]
and have a try again.
Thank you @lunny .
I changed it and will see how it works.
For people who need to change the git.timeout
parameters (the cheat sheet wasn't too clear to me) here's an excerpt of the section I edited on my app.ini
:
...
[service]
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = true
ALLOW_ONLY_EXTERNAL_REGISTRATION = false
ENABLE_CAPTCHA = false
REQUIRE_SIGNIN_VIEW = false
DEFAULT_KEEP_EMAIL_PRIVATE = false
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
DEFAULT_ENABLE_TIMETRACKING = true
NO_REPLY_ADDRESS = noreply.localhost
[picture]
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = true
[git.timeout]
DEFAULT = 600
MIGRATE = 960
MIRROR = 600
CLONE = 600
PULL = 600
GC = 120
...
Did it work later?
@lunny unfortunately it did not. I ended up avoiding large commits for a while. Eventually, I stopped using it so I did not try anything further.
Description
I recently deployed a Gitea server on a self hosted Ubuntu 22.04 server.
Everything has been working great, until I created a new repo (C++ code) yesterday and have been trying to push changes since -- without any success.
Every time I try a push I get these errors in my git client log:
I can't find any large files, although I'm trying to push ~1000 files (should not be a concern anyway).
Here's a relevant excerpt of my app.ini (I am not starting the ssh server, since I did not want to configure it).
Gitea Version
1.17.3
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
2.34.1
Operating System
Ubuntu 22.04 Jammy (server)
How are you running Gitea?
I used your download and the instructions on how to install on Ubuntu.
Database
MySQL