更新后出现 panic: fail to set message file(sk-SK): open conf/locale/locale_sk-SK.ini: no such file or directory


#1

之前通过 Docker 装的 Gogs,运行一切正常。今天重新 Pull 了一下 Image 以后再开的时候得到以下报错:

https://pastebin.com/raw/WQPpBGcB
(因为 Forum 设置新用户不允许发超过 2 个 Link,报错中多次出现 github。com,因此贴到了 Pastebin 上。)

除了重新 Pull Image 以外没有做其他任何事情,搜索到类似报错 github.com/gogits/gogs/issues/1713 ,未能修复。
以下是 app.ini

APP_NAME = *********
RUN_USER = git
RUN_MODE = prod

[database]
DB_TYPE = mysql
HOST = *********
NAME = *********
USER = *********
PASSWD = *********
SSL_MODE = disable
PATH = data/gogs.db

[repository]
ROOT = /data/git/gogs-repositories

[server]
DOMAIN = *********
HTTP_PORT = 3000
ROOT_URL = *********
DISABLE_SSH = true
OFFLINE_MODE = false

[mailer]
ENABLED = true
HOST = *********
FROM = *********
USER = *********
PASSWD = *********

[service]
REGISTER_EMAIL_CONFIRM = true
ENABLE_NOTIFY_MAIL = true
DISABLE_REGISTRATION = false
ENABLE_CAPTCHA = true
REQUIRE_SIGNIN_VIEW = false

[picture]
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = true

[session]
PROVIDER = file

[log]
MODE = file
LEVEL = Info
ROOT_PATH = /app/gogs/log

[security]
INSTALL_LOCK = true
SECRET_KEY = *********

希望能帮忙看一下是哪里出了问题,谢谢~


#2

hi 你是拉取的 master吗?还有用的是官方的 docker 镜像吗?


#3

官方 docker, gogs/gogs:latest


#4

找到问题了。稍等 10 分钟等新的 Docker 镜像构建好之后就可以啦