Skip to content

Decoding failed when running gitea manager commands #24836

Closed
@brechtvl

Description

@brechtvl

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions