Skip to content

Failed to get repository: invalid character '<' looking for beginning of value #7720

Closed
@gnaghi

Description

@gnaghi
  • Gitea version (or commit ref): 1.9.0
  • Git version:
  • Operating system:
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

I updated gitea from 1.8 to 1.9.0 (Ubuntu 18.04), and I can no longer push or pull anything.
On the ssh client side, I have the following message :
Gitea: Internal error Failed to get repository: Failed to get repository: invalid character '<' looking for beginning of value

Inside gitea.log :
routers/repo/http.go:97:HTTP() [E] GetUserByName: user does not exist [uid: 0, name: api, keyid: 0]

And inside serv.log :
[T] GetRepositoryByOwnerAndName: https://localhost:3000/api/internal/repo/XXXX/YYYY [...io/gitea/cmd/serv.go:195 runServ()] [F] Failed to get repository: Failed to get repository: invalid character '<' looking for beginning of value

Reverting back to 1.8 makes everything work again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/questionIssue needs no code to be fixed, only a description on how to fix it yourself.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions