Skip to content

Gitea --port rewrites app.ini on it's own, breaks SSH access, API not working & no error logged. #13277

Closed
@gsantner

Description

@gsantner
  • Gitea version (or commit ref): g26d6c1530
  • Git version: 2.17.1
  • Operating system: Ubuntu 18.04
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite

Description

I have updated to latest nightly build today and since that I cannot pull over SSH anymore suddenly. Has been working for years however.

I removed all old logs and checked log dir, appareantly NO relevant error is logged at all. Not even a authentication attempt, seemingly that point is not reached in code. Also not shows any error in shell. I tried like 5 times to pull in the meantime log-tail is running, the only thing that comes up is about notifications cron.

The git pull says:

parse "://:9003/api/internal/serv/command/3/ORGNAME/REPONAME?mode=1&verb=git-upload-pack": missing protocol scheme

So gitea somehow tries to connect to http interface, even though I cleary pull over SSH, wut? The port for http listener is 9003.

Screenshot attached.
Build with issue is:

Powered by Gitea Version: 1.14.0+dev-63-g26d6c1530
gitea-master-linux-amd64  10/22/2020 08:47:08 PM +00:00

My old version, nightly build from 19. October has been (no issue / bug not present there):

./gitea-2020-10-19 --version
Gitea version 1.14.0+dev-25-g9fe4b7b69

Screenshots

Screenshot_20201023-055106

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions