From 22274464f491984f5ea6cba98c40c4fad30a157c Mon Sep 17 00:00:00 2001 From: James Ravenscroft Date: Sat, 20 Oct 2018 17:49:04 +0100 Subject: [PATCH] Add LFS timeout issue to troubleshooting doc (#5129) --- docs/content/doc/help/troubleshooting.en-us.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/content/doc/help/troubleshooting.en-us.md b/docs/content/doc/help/troubleshooting.en-us.md index 264a20ef52..6eb440c612 100644 --- a/docs/content/doc/help/troubleshooting.en-us.md +++ b/docs/content/doc/help/troubleshooting.en-us.md @@ -80,3 +80,17 @@ To migrate an repository *with* all tags you need to do two things ``` gitea admin repo-sync-releases ``` + +## LFS Issues + +For issues concerning LFS data upload + +``` +batch response: Authentication required: Authorization error: /info/lfs/objects/batch +Check that you have proper access to the repository +error: failed to push some refs to '' +``` +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`. +