Skip to content

Snap-package broken MySQL TLS, HTTPS repo-migration #12388

@WereCatf

Description

@WereCatf
  • Gitea version (or commit ref): 1.12.3
  • Git version:
  • Operating system: Ubuntu 20.04 Focal Fossa
  • 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

TLS-connection to MySQL-server only works with skip-verify option because Gitea is unable to verify certificate-authority. The server uses a Let's Encrypt - certificate, so no idea if that is relevant or not. TLS-connection works fine with the non-snap version.

Trying to migrate a repo from Gogs or Github with an HTTPS URL fails with Gitea-log complaining about "warning: templates not found /usr/share/git-core/templates" and "fatal: Unable to find remote helper for 'https'"

This is with a fresh install of Gitea; no previous settings, database or anything else used.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions