Browse Source

Add LFS timeout issue to troubleshooting doc (#5129)

for-closed-social
James Ravenscroft 6 years ago
committed by Lauris BH
parent
commit
22274464f4
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      docs/content/doc/help/troubleshooting.en-us.md

+ 14
- 0
docs/content/doc/help/troubleshooting.en-us.md View File

@ -80,3 +80,17 @@ To migrate an repository *with* all tags you need to do two things
``` ```
gitea admin repo-sync-releases gitea admin repo-sync-releases
``` ```
## LFS Issues
For issues concerning LFS data upload
```
batch response: Authentication required: Authorization error: <GITEA_LFS_URL>/info/lfs/objects/batch
Check that you have proper access to the repository
error: failed to push some refs to '<GIT_REPO_URL>'
```
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.
You may want to set this value to `60m` or `120m`.

Loading…
Cancel
Save