Skip to content

Commit 2227446

Browse files
ravenscroftjlafriks
authored andcommitted
Add LFS timeout issue to troubleshooting doc (#5129)
1 parent dea3d84 commit 2227446

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

docs/content/doc/help/troubleshooting.en-us.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,17 @@ To migrate an repository *with* all tags you need to do two things
8080
```
8181
gitea admin repo-sync-releases
8282
```
83+
84+
## LFS Issues
85+
86+
For issues concerning LFS data upload
87+
88+
```
89+
batch response: Authentication required: Authorization error: <GITEA_LFS_URL>/info/lfs/objects/batch
90+
Check that you have proper access to the repository
91+
error: failed to push some refs to '<GIT_REPO_URL>'
92+
```
93+
Have you checked the value of `LFS_HTTP_AUTH_EXPIRY` in your `app.ini` file? By default your LFS token will expire after 20 minutes. If you have a slow connection or a large file (or both) it may not finish uploading within the time limit.
94+
95+
You may want to set this value to `60m` or `120m`.
96+

0 commit comments

Comments
 (0)