求助:gogs系统任务类型的附件都不能上传,可能是什么原因

之前改为配置文件,可以上传任务类型的文件。
之前为docker安装 ,上周由于系统间不足,进行了docker清理,扩了空间
使用了命令docker system prune -a

这周所有附件都传不上去了,请问可能是哪有问题,在那能看到日志吗?

把app.ini 改为原始的只接收图片,图片也传不上去了。

重启了也没有解决,请问大侠们遇到过此类问题吗,怎么才能上传附件呢?

现象界面:

配置文件地址

/var/gogs/gogs/conf/app.ini

配置文件内容
APP_NAME = Gogs
RUN_USER = git
RUN_MODE = prod

[database]
DB_TYPE = sqlite3
HOST = 127.0.0.1:3306
NAME = gogs
USER = root
PASSWD =
SSL_MODE = disable
PATH = data/gogs.db

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

[server]
DOMAIN = 192.168.1.239
HTTP_PORT = 3000
ROOT_URL = http://192.168.1.239:10080/
DISABLE_SSH = false
SSH_PORT = 10022
START_SSH_SERVER = false
OFFLINE_MODE = false

[attachment]
ALLOWED_TYPES = image/jpeg|image/png
MAX_SIZE = 4

[mailer]
ENABLED = false

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

[picture]
DISABLE_GRAVATAR = false
ENABLE_FEDERATED_AVATAR = false

[session]
PROVIDER = file

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

[security]
INSTALL_LOCK = true
SECRET_KEY = WQRoHcbCH7T5kzb

需要配置允许上传类型
[repository.upload]
; Whether to enable repository file uploads.
ENABLED = true
; The path to temporarily store uploads (content under this path gets wiped out on every start).
TEMP_PATH = data/tmp/uploads
; File types that are allowed to be uploaded, e.g. “image/jpeg|image/png”. Leave empty to allow any file type.
ALLOWED_TYPES =
; The maximum size of each file in MB.
FILE_MAX_SIZE = 3
; The maximum number of files per upload.
MAX_FILES = 5

这是一个 master 分支的bug,感谢反馈,已经提交修复,等 CI 和 Docker 构建!过一个小时再 docker pull ... 就可以啦!

重新pull ,果然解决了,高效的工作令人敬佩
非常感谢及时的回复,祝gogs越来越好