Skip to content
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 add ssh key into repo #3178

Closed
2 of 7 tasks
CircleCurve opened this issue Dec 13, 2017 · 6 comments
Closed
2 of 7 tasks

Failed to add ssh key into repo #3178

CircleCurve opened this issue Dec 13, 2017 · 6 comments
Labels
Milestone

Comments

@CircleCurve
Copy link

CircleCurve commented Dec 13, 2017

  • Gitea version (or commit ref):
  • 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 have created a git repo and try to adopt ssh key for authentication. After added ssh key into Deploy keys, it redirect to the error page that only contain

template: repo/settings/deploy_keys:34:65: executing "repo/settings/deploy_keys" at <.CreatedUnix.FormatS...>: can't evaluate field FormatShort in type int64

This issue appear both my local docker environment (latest) and https://try.gitea.io
...

Screenshots

screen shot 2017-12-13 at 4 56 05 pm

screen shot 2017-12-13 at 4 56 52 pm

screen shot 2017-12-13 at 4 57 07 pm

@lafriks
Copy link
Member

lafriks commented Dec 13, 2017

What version are you using?

@lafriks lafriks added this to the 1.4.0 milestone Dec 13, 2017
@lafriks
Copy link
Member

lafriks commented Dec 13, 2017

seems to be also related to #3142

@lunny
Copy link
Member

lunny commented Dec 13, 2017

should be fixed by #3146.

@CircleCurve
Copy link
Author

I'm using the most latest version of gitea in docker
default

@lunny
Copy link
Member

lunny commented Dec 13, 2017

@CircleCurve #3146 has not been reviewed and merged.

@CircleCurve
Copy link
Author

@lunny Ok. Thanks you to solve my problem. I will go to use http instead of ssh at this time for development.

@lafriks lafriks closed this as completed Jan 20, 2018
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants