upgrade from 1.11 to master breaks my git-lfs authentication #5106

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

Originally created by @sanderboer on GitHub (Mar 24, 2020).

  • Gitea version (or commit ref): 1.11.3+5-g602fe4593 upgrade to 1.12.0+dev-33-gc61b90253
  • Git version: 2.24 (server) 2.25 (client)
  • Operating system: ubuntu 18.04 (server) void (client)
  • Database (use [x]):
    • PostgreSQL
    • [ x ] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • [ x ] Not relevant
  • Log gist:
    batch response: Authentication required: Authorization error: https://server/org/repo.git/info/lfs/objects/batch
    Check that you have proper access to the repository

Description

When upgrading to 1.12 from 1.11 git-lfs fails to pull or clone, citing authorization errors.
I do get a legit looking json response when issuing:
ssh gitea@server git-lfs-authenticate org/repo download

,the response looks comparable to the response I get when I issue the same command when 1.11 is running.

Originally created by @sanderboer on GitHub (Mar 24, 2020). - Gitea version (or commit ref): 1.11.3+5-g602fe4593 upgrade to 1.12.0+dev-33-gc61b90253 - Git version: 2.24 (server) 2.25 (client) - Operating system: ubuntu 18.04 (server) void (client) - Database (use `[x]`): - [ ] PostgreSQL - [ x ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [ x ] Not relevant - Log gist: batch response: Authentication required: Authorization error: https://server/org/repo.git/info/lfs/objects/batch Check that you have proper access to the repository ## Description When upgrading to 1.12 from 1.11 git-lfs fails to pull or clone, citing authorization errors. I do get a legit looking json response when issuing: ssh gitea@server git-lfs-authenticate org/repo download ,the response looks comparable to the response I get when I issue the same command when 1.11 is running.
GiteaMirror added the issue/staleissue/needs-feedback labels 2025-11-02 06:14:40 -06:00
Author
Owner

@lunny commented on GitHub (Mar 26, 2020):

Any logs from gitea?

@lunny commented on GitHub (Mar 26, 2020): Any logs from gitea?
Author
Owner

@stale[bot] commented on GitHub (May 30, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (May 30, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@stale[bot] commented on GitHub (Jun 14, 2020):

This issue has been automatically closed because of inactivity. You can re-open it if needed.

@stale[bot] commented on GitHub (Jun 14, 2020): This issue has been automatically closed because of inactivity. You can re-open it if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5106