Skip to content

After update to version 1.20.0 Gitea refused to start  #25995

Closed
@veita

Description

@veita

Description

  • Update from Gitea 1.19.4 to 1.20.0
  • Gitea deployed as a Systemd service on Debian 12

Start with systemctl start gitea fails.

The log configured in app.ini does not give any hint about the cause of the error (neither did journalctl).

Starting Gitea interactively from the terminal revealed the cause:

$ GITEA_WORK_DIR=/var/lib/gitea/ /usr/local/bin/gitea web -c /etc/gitea/app.ini
2023/07/19 19:48:36 ...g/config_provider.go:327:deprecatedSettingFatal() [F] Deprecated fallback `[server]` `LFS_CONTENT_PATH` present. Use `[lfs]` `PATH` instead. This fallback will be/has been removed in v1.19.0

This information should probably also be written to configured log file. Also "v1.19.0" in the error message does not seem to be correct. And it may be added to the list of breaking changes (https://github.com/go-gitea/gitea/releases/tag/v1.20.0).

Gitea Version

1.20.0

Can you reproduce the bug on the Gitea demo site?

No

How are you running Gitea?

Download from GitHub; run as a Systemd service.

Database

PostgreSQL

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue/not-a-bugThe reported issue is the intended behavior or the problem is not inside Gitea

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions