-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to get repository: invalid character '<' looking for beginning of value #7720
Comments
I think you have both gitea-1.8 and gitea-1.9 installed at the same time. If you change the name of the gitea binary you have to run the admin task: "Update the '.ssh/authorized_keys' file with Gitea SSH keys." |
You were right : the service wasn't stopped, but I was able to connect to the web interface, and see the «1.9» version.
Should I open another issue and close this one ? |
Upating from 1.8 to 1.9 failed, the last version working for me is 1.8.3. |
This is a know issue with database sqlite when upgrade from 1.8 to 1.9 |
I saw the commit (#7710), I'll wait for a release. |
same error.. |
This has been fixed by #7765 and released on 1.9.1. Please confirm and if you have a different problem. Please open another issue. |
[x]
):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.
The text was updated successfully, but these errors were encountered: