Skip to content

Decoding failed when running gitea manager commands #24836

@brechtvl

Description

@brechtvl
Contributor

Description

This command successfully restarts but prints an error message:

$ ./gitea manager restart
Internal Server Response Decoding Failed
unable to decode response "POST http://localhost:3000/api/internal/manager/restart": readObjectStart: expect { or n, but found s, error found in #1 byte of ...|success|..., bigger context ...|success|...

This command prints an error as well:

$ ./gitea manager processes
Internal Server Response Decoding Failed
unable to decode response "GET http://localhost:3000/api/internal/manager/processes?flat=false&no-system=false&stacktraces=false&json=false&cancel-pid=": func(*http.Response, *private.ResponseExtra) is unsupported type

I guess this was caused by #23687.

Gitea Version

64f6a5d (main)

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Own build, default configuration.

Database

SQLite

Activity

wxiaoguang

wxiaoguang commented on May 21, 2023

@wxiaoguang
Contributor

Yes, it's a regression. Working on it.

self-assigned this
on May 21, 2023
added this to the 1.20.0 milestone on May 21, 2023
wxiaoguang

wxiaoguang commented on May 21, 2023

@wxiaoguang
Contributor

Fix regression: access log template, gitea manager cli command #24838

added a commit that references this issue on May 22, 2023
ec2a01d
locked as resolved and limited conversation to collaborators on Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    Participants

    @brechtvl@wxiaoguang

    Issue actions

      Decoding failed when running gitea manager commands · Issue #24836 · go-gitea/gitea