Skip to content

Gitea Snap update issue #16209

@JensTheCoder

Description

@JensTheCoder

Gitea Snap works without any frictions until it comes to an upgrade. "git push …", and others commands, throw errors.

The reason: This symbolic link is ignored:

/snap/gitea/current

here in these hooks:

/var/snap/gitea/common/data/gitea-repositories/organization/repo/hooks/*

Or, to put into other words: When triggered, a hook calls

/snap/gitea/1234/gitea

and "1234" does no longer exists after an upgrade.

Work-around:

ln -s /snap/gitea/current 1234

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/buildPR changes how Gitea is built, i.e. regarding Docker or the Makefiletype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions