LFS and deploy key: Authorization error on private repos #3480

Closed
opened 2025-11-02 05:14:17 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @jonas-hagen on GitHub (Jun 17, 2019).

  • Gitea version: 1.8.2
  • Git version: 2.19
  • Operating system: Alpine (Server), Ubuntu (Client)
  • Database: SQLite
  • Setup: nginx as reverse proxy, OpenSSH server

Description

LFS content can't be read from private repos via SSH using a deploy key. On public repos, this works (presumably since pull request #5939 as mentioned in #6127).

gitea.log:
2019/06/17 07:17:07 [D] LFS request - Method: POST, URL: /user/test.git/info/lfs/objects/batch, Status 401

Possibly related: #7219.

Originally created by @jonas-hagen on GitHub (Jun 17, 2019). - Gitea version: 1.8.2 - Git version: 2.19 - Operating system: Alpine (Server), Ubuntu (Client) - Database: SQLite - Setup: nginx as reverse proxy, OpenSSH server ## Description LFS content can't be read from _private_ repos via SSH using a deploy key. On public repos, this works (presumably since pull request #5939 as mentioned in #6127). gitea.log: `2019/06/17 07:17:07 [D] LFS request - Method: POST, URL: /user/test.git/info/lfs/objects/batch, Status 401` Possibly related: #7219.
GiteaMirror added the issue/duplicate label 2025-11-02 05:14:17 -06:00
Author
Owner

@zeripath commented on GitHub (Jun 17, 2019):

This is definitely a duplicate of #5478 and presumably of #7219 - and would definitely be fixed by #7224.

@zeripath commented on GitHub (Jun 17, 2019): This is definitely a duplicate of #5478 and presumably of #7219 - and would definitely be fixed by #7224.
Author
Owner

@zeripath commented on GitHub (Jun 17, 2019):

Fix should be in next release of 1.8 - this was fixed in 1.9 since #6993

@zeripath commented on GitHub (Jun 17, 2019): Fix should be in next release of 1.8 - this was fixed in 1.9 since #6993
Author
Owner

@jonas-hagen commented on GitHub (Jun 19, 2019):

Thanks!

@jonas-hagen commented on GitHub (Jun 19, 2019): Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3480