Skip to content

Gitea won't start after upgrade #26946

Closed
Closed
@MomentQYC

Description

@MomentQYC

Description

When all data storage methods are set to minio, an error routers/init.go:60:mustInit() [F] code.gitea.io/gitea/modules/storage.Init failed: permission denied is reported at startup.
I've given the appropriate permissions, but the bottom line is that when I start Gitea with the root user by changing the code to bypass the restrictions, it still reports this error.

Gitea Version

1.20.3

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

No response

Git Version

2.25.1

Operating System

Ubuntu 20.04

How are you running Gitea?

I compiled Gitea myself by downloading the source code and following the documentation, and this happens both when running it manually and using systemd.

Database

MySQL/MariaDB

Metadata

Metadata

Assignees

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