Unable to create mail queue #12163

Closed
opened 2025-11-02 10:00:46 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @soxft on GitHub (Dec 7, 2023).

Description

When I use ./gitea web to run Gitea

The following is the log:

2023/12/08 01:48:10 cmd/web.go:242:runWeb() [I] Starting Gitea on PID: 14657
2023/12/08 01:48:10 cmd/web.go:111:showWebStartupMessage() [I] Gitea version: 1.21.1 built with GNU Make 4.3, go1.21.4 : bindata, sqlite, sqlite_unlock_notify
2023/12/08 01:48:10 cmd/web.go:112:showWebStartupMessage() [I] * RunMode: prod
2023/12/08 01:48:10 cmd/web.go:113:showWebStartupMessage() [I] * AppPath: /home/git/gitea/gitea
2023/12/08 01:48:10 cmd/web.go:114:showWebStartupMessage() [I] * WorkPath: /home/git/gitea
2023/12/08 01:48:10 cmd/web.go:115:showWebStartupMessage() [I] * CustomPath: /home/git/gitea/custom
2023/12/08 01:48:10 cmd/web.go:116:showWebStartupMessage() [I] * ConfigFile: /home/git/gitea/custom/conf/app.ini
2023/12/08 01:48:10 cmd/web.go:117:showWebStartupMessage() [I] Prepare to run web server
2023/12/08 01:48:10 routers/init.go:112:InitWebInstalled() [I] Git version: 2.34.1, Wire Protocol Version 2 Enabled (home: /home/git/gitea/data/home)
2023/12/08 01:48:20 ...les/queue/manager.go:108:]() [E] Failed to create queue "mail": unable to lock level db at /home/git/gitea/data/queues/common: resource temporarily unavailable
2023/12/08 01:48:20 ...ces/mailer/mailer.go:424:NewContext() [F] Unable to create mail queue

Gitea Version

Gitea version 1.21.1 built with GNU Make 4.3, go1.21.4 : bindata, sqlite, sqlite_unlock_notify

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?

prod

Database

MySQL/MariaDB

Originally created by @soxft on GitHub (Dec 7, 2023). ### Description When I use ./gitea web to run Gitea The following is the log: ``` 2023/12/08 01:48:10 cmd/web.go:242:runWeb() [I] Starting Gitea on PID: 14657 2023/12/08 01:48:10 cmd/web.go:111:showWebStartupMessage() [I] Gitea version: 1.21.1 built with GNU Make 4.3, go1.21.4 : bindata, sqlite, sqlite_unlock_notify 2023/12/08 01:48:10 cmd/web.go:112:showWebStartupMessage() [I] * RunMode: prod 2023/12/08 01:48:10 cmd/web.go:113:showWebStartupMessage() [I] * AppPath: /home/git/gitea/gitea 2023/12/08 01:48:10 cmd/web.go:114:showWebStartupMessage() [I] * WorkPath: /home/git/gitea 2023/12/08 01:48:10 cmd/web.go:115:showWebStartupMessage() [I] * CustomPath: /home/git/gitea/custom 2023/12/08 01:48:10 cmd/web.go:116:showWebStartupMessage() [I] * ConfigFile: /home/git/gitea/custom/conf/app.ini 2023/12/08 01:48:10 cmd/web.go:117:showWebStartupMessage() [I] Prepare to run web server 2023/12/08 01:48:10 routers/init.go:112:InitWebInstalled() [I] Git version: 2.34.1, Wire Protocol Version 2 Enabled (home: /home/git/gitea/data/home) 2023/12/08 01:48:20 ...les/queue/manager.go:108:]() [E] Failed to create queue "mail": unable to lock level db at /home/git/gitea/data/queues/common: resource temporarily unavailable 2023/12/08 01:48:20 ...ces/mailer/mailer.go:424:NewContext() [F] Unable to create mail queue ``` ### Gitea Version Gitea version 1.21.1 built with GNU Make 4.3, go1.21.4 : bindata, sqlite, sqlite_unlock_notify ### 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? prod ### Database MySQL/MariaDB
GiteaMirror added the type/bug label 2025-11-02 10:00:46 -06:00
Author
Owner

@soxft commented on GitHub (Dec 7, 2023):

fix: rm -rf /home/git/gitea/data/queues/common/LOCK

@soxft commented on GitHub (Dec 7, 2023): fix: rm -rf /home/git/gitea/data/queues/common/LOCK
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#12163