Skip to content

404 when trying to stop the timer which has been started before binary upgrade #22878

Closed
@bagasme

Description

@bagasme

Description

I was curious about using timer/stopwatch feature of Gitea. I enabled the timer when the deployed binary version was about 7ae10cb.

Today I build Gitea from version e460b6e and deployed it. When I tried to stop the timer,
Gitea returned 404 on https://%(DOMAIN)s/times/stopwatch/toggle, thus the timer cannot be stopped.

I guessed that commit 90cf07a touched the subsystem in question.

Gitea Version

main (commit e460b6e)

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

https://gist.github.com/bagasme/335d722c4f87f552176b352d2e466f84

Screenshots

Stopping timer 404

Git Version

2.39.1

Operating System

Ubuntu 22.04

How are you running Gitea?

I built Gitea from source using Go 1.20, Node v18.13.0 (installed via nvm) on Debian 11.

The Gitea instance is hosted on a LXD container on my computer.

Database

PostgreSQL

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