2022-08-16 15:30:23 +00:00
|
|
|
|
ErrInvalidParams: "请求参数错误: {{ .detail }}"
|
|
|
|
|
ErrTokenParse: "Token 生成错误: {{ .detail }}"
|
2022-12-02 10:52:43 +00:00
|
|
|
|
ErrInitialPassword: "原密码错误"
|
2022-08-16 15:30:23 +00:00
|
|
|
|
ErrInternalServer: "服务内部错误: {{ .detail }}"
|
2022-12-21 04:21:27 +00:00
|
|
|
|
ErrRecordExist: "记录已存在"
|
|
|
|
|
ErrRecordNotFound: "记录未能找到"
|
2022-08-17 03:47:56 +00:00
|
|
|
|
ErrStructTransform: "类型转换失败: {{ .detail }}"
|
2022-09-15 09:15:03 +00:00
|
|
|
|
ErrNotLogin: "用户未登录: {{ .detail }}"
|
2022-09-29 08:15:59 +00:00
|
|
|
|
ErrPasswordExpired: "当前密码已过期: {{ .detail }}"
|
2022-12-01 07:48:40 +00:00
|
|
|
|
ErrNotSupportType: "系统暂不支持当前类型: {{ .detail }}"
|
|
|
|
|
|
2022-12-02 02:31:07 +00:00
|
|
|
|
#common
|
|
|
|
|
ErrNameIsExist: "名称已存在"
|
2023-02-21 07:19:12 +00:00
|
|
|
|
ErrDemoEnvironment: "演示服务器,禁止此操作!"
|
2023-04-12 06:16:29 +00:00
|
|
|
|
ErrCmdTimeout: "命令执行超时!"
|
2023-07-17 08:34:29 +00:00
|
|
|
|
ErrCmdIllegal: "执行命令中存在不合法字符,请修改后重试!"
|
2022-12-02 02:31:07 +00:00
|
|
|
|
|
2022-12-01 07:48:40 +00:00
|
|
|
|
#app
|
2022-12-02 07:49:58 +00:00
|
|
|
|
ErrPortInUsed: "{{ .detail }} 端口已被占用!"
|
2022-12-01 08:45:00 +00:00
|
|
|
|
ErrAppLimit: "应用超出安装数量限制"
|
2022-12-02 10:17:16 +00:00
|
|
|
|
ErrAppRequired: "请先安装 {{ .detail }} 应用"
|
2022-12-04 09:45:54 +00:00
|
|
|
|
ErrNotInstall: "应用未安装"
|
2023-02-07 08:29:54 +00:00
|
|
|
|
ErrPortInOtherApp: "{{ .port }} 端口已被 {{ .apps }}占用!"
|
2023-03-06 09:24:00 +00:00
|
|
|
|
ErrDbUserNotValid: "存量数据库,用户名密码不匹配!"
|
2023-03-06 10:12:31 +00:00
|
|
|
|
ErrDockerComposeNotValid: "docker-compose 文件格式错误"
|
2023-03-08 15:58:42 +00:00
|
|
|
|
ErrUpdateBuWebsite: '应用更新成功,但是网站配置文件修改失败,请检查配置!'
|
2023-03-22 10:22:29 +00:00
|
|
|
|
Err1PanelNetworkFailed: '默认容器网络创建失败!{{ .detail }}'
|
2023-05-15 14:40:05 +00:00
|
|
|
|
ErrFileParse: '应用 docker-compose 文件解析失败!'
|
|
|
|
|
ErrInstallDirNotFound: '安装目录不存在'
|
2023-05-22 09:10:51 +00:00
|
|
|
|
AppStoreIsUpToDate: '应用商店已经是最新版本'
|
2023-05-31 06:51:01 +00:00
|
|
|
|
LocalAppVersionNull: '{{.name}} 应用未同步到版本!无法添加到应用列表'
|
|
|
|
|
LocalAppVersionErr: '{{.name}} 同步版本 {{.version}} 失败!{{.err}}'
|
|
|
|
|
ErrFileNotFound: '{{.name}} 文件不存在'
|
|
|
|
|
ErrFileParseApp: '{{.name}} 文件解析失败 {{.err}}'
|
|
|
|
|
ErrAppDirNull: '版本文件夹不存在'
|
|
|
|
|
LocalAppErr: "应用 {{.name}} 同步失败!{{.err}}"
|
2023-05-31 07:39:04 +00:00
|
|
|
|
ErrContainerName: "容器名称已存在"
|
2023-06-01 06:47:13 +00:00
|
|
|
|
ErrAppSystemRestart: "1Panel 重启导致任务终止"
|
2023-06-01 09:05:14 +00:00
|
|
|
|
ErrCreateHttpClient: "创建HTTP请求失败 {{.err}}"
|
|
|
|
|
ErrHttpReqTimeOut: "请求超时 {{.err}}"
|
|
|
|
|
ErrHttpReqFailed: "请求失败 {{.err}}"
|
|
|
|
|
ErrHttpReqNotFound: "文件不存在"
|
|
|
|
|
ErrNoSuchHost: "网络连接失败"
|
2023-07-03 13:56:14 +00:00
|
|
|
|
ErrImagePullTimeOut: '镜像拉取超时'
|
2023-07-06 08:30:22 +00:00
|
|
|
|
ErrContainerNotFound: '{{ .name }} 容器不存在'
|
|
|
|
|
ErrContainerMsg: '{{ .name }} 容器异常,具体请在容器页面查看日志'
|
2023-07-25 09:22:20 +00:00
|
|
|
|
ErrAppBackup: '{{ .name }} 应用备份失败 err {{.err}}'
|
2022-12-02 10:17:16 +00:00
|
|
|
|
|
|
|
|
|
#file
|
2022-12-09 02:35:58 +00:00
|
|
|
|
ErrFileCanNotRead: "此文件不支持预览"
|
2022-12-04 08:10:48 +00:00
|
|
|
|
ErrFileToLarge: "文件超过10M,无法打开"
|
2023-02-09 06:31:05 +00:00
|
|
|
|
ErrPathNotFound: "目录不存在"
|
2023-03-10 03:44:58 +00:00
|
|
|
|
ErrMovePathFailed: "目标路径不能包含原路径!"
|
2023-03-10 08:01:36 +00:00
|
|
|
|
ErrLinkPathNotFound: "目标路径不存在!"
|
|
|
|
|
ErrFileIsExit: "文件已存在!"
|
2023-05-27 15:15:30 +00:00
|
|
|
|
ErrFileUpload: "{{ .name }} 上传文件失败 {{ .detail}}"
|
2023-05-29 16:00:56 +00:00
|
|
|
|
ErrFileDownloadDir: "不支持下载文件夹"
|
2022-12-04 08:10:48 +00:00
|
|
|
|
|
|
|
|
|
#website
|
|
|
|
|
ErrDomainIsExist: "域名已存在"
|
2022-12-05 07:50:53 +00:00
|
|
|
|
ErrAliasIsExist: "代号已存在"
|
2023-03-02 06:33:38 +00:00
|
|
|
|
ErrAppDelete: '其他网站使用此应用,无法删除'
|
2023-03-07 08:44:16 +00:00
|
|
|
|
ErrGroupIsUsed: '分组正在使用中,无法删除'
|
2023-07-13 11:51:17 +00:00
|
|
|
|
ErrBackupMatch: '该备份文件与当前网站部分数据不匹配 {{ .detail}}"'
|
|
|
|
|
ErrBackupExist: '该备份文件对应部分源数据不存在 {{ .detail}}"'
|
2023-07-25 09:20:25 +00:00
|
|
|
|
ErrPHPResource: '本地运行环境不支持切换!'
|
2022-12-05 07:50:53 +00:00
|
|
|
|
|
|
|
|
|
#ssl
|
|
|
|
|
ErrSSLCannotDelete: "证书正在被网站使用,无法删除"
|
2023-01-04 03:44:43 +00:00
|
|
|
|
ErrAccountCannotDelete: "账号关联证书,无法删除"
|
2023-02-20 09:04:59 +00:00
|
|
|
|
ErrSSLApply: "证书续签成功,openresty reload失败,请检查配置!"
|
2023-03-07 08:44:16 +00:00
|
|
|
|
ErrEmailIsExist: '邮箱已存在'
|
2023-07-05 08:24:19 +00:00
|
|
|
|
ErrSSLKeyNotFound: '私钥文件不存在'
|
|
|
|
|
ErrSSLCertificateNotFound: '证书文件不存在'
|
2023-07-11 10:21:10 +00:00
|
|
|
|
ErrSSLKeyFormat: '私钥文件校验失败'
|
2023-07-05 08:24:19 +00:00
|
|
|
|
ErrSSLCertificateFormat: '证书文件格式错误,请使用 pem 格式'
|
2023-03-07 08:44:16 +00:00
|
|
|
|
|
|
|
|
|
#mysql
|
|
|
|
|
ErrUserIsExist: "当前用户已存在,请重新输入"
|
2023-03-08 09:02:06 +00:00
|
|
|
|
ErrDatabaseIsExist: "当前数据库已存在,请重新输入"
|
2023-07-19 08:25:41 +00:00
|
|
|
|
ErrExecTimeOut: "SQL 执行超时,请检查数据库"
|
2023-03-08 09:02:06 +00:00
|
|
|
|
|
|
|
|
|
#redis
|
2023-03-15 08:48:26 +00:00
|
|
|
|
ErrTypeOfRedis: "恢复文件类型与当前持久化方式不符,请修改后重试"
|
|
|
|
|
|
|
|
|
|
#container
|
2023-03-16 07:03:44 +00:00
|
|
|
|
ErrInUsed: "{{ .detail }} 正被使用,无法删除"
|
2023-03-30 08:47:47 +00:00
|
|
|
|
ErrObjectInUsed: "该对象正被使用,无法删除"
|
2023-07-13 06:09:23 +00:00
|
|
|
|
ErrPortRules: "端口数目不匹配,请重新输入!"
|
2023-03-30 08:47:47 +00:00
|
|
|
|
|
|
|
|
|
#runtime
|
|
|
|
|
ErrDirNotFound: "build 文件夹不存在!请检查文件完整性!"
|
2023-03-31 06:02:28 +00:00
|
|
|
|
ErrFileNotExist: "{{ .detail }} 文件不存在!请检查源文件完整性!"
|
2023-04-02 08:54:00 +00:00
|
|
|
|
ErrImageBuildErr: "镜像 build 失败"
|
2023-04-05 16:09:58 +00:00
|
|
|
|
ErrImageExist: "镜像已存在!"
|
2023-04-17 08:06:28 +00:00
|
|
|
|
ErrDelWithWebsite: "运行环境已经关联网站,无法删除"
|
|
|
|
|
|
|
|
|
|
#setting
|
|
|
|
|
ErrBackupInUsed: "该备份账号已在计划任务中使用,无法删除"
|
2023-06-07 06:53:24 +00:00
|
|
|
|
ErrOSSConn: "无法成功请求最新版本,请检查服务器是否能够连接到外部网络环境。"
|
2023-07-31 03:28:41 +00:00
|
|
|
|
|
|
|
|
|
#tool
|
|
|
|
|
ErrConfigNotFound: "配置文件不存在"
|
2023-08-01 09:31:42 +00:00
|
|
|
|
ErrConfigParse: "配置文件格式有误"
|
|
|
|
|
ErrConfigIsNull: "配置文件不允许为空"
|
|
|
|
|
ErrConfigDirNotFound: "运行目录不存在"
|
|
|
|
|
ErrConfigAlreadyExist: "已存在同名配置文件"
|
|
|
|
|
ErrUserFindErr: "用户 {{ .name }} 查找失败 {{ .err }}"
|