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