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: "执行命令中存在不合法字符,请修改后重试!"
|
2023-09-28 07:28:21 +00:00
|
|
|
|
ErrPortExist: '{{ .port }} 端口已被 {{ .type }} [{{ .name }}] 占用'
|
|
|
|
|
TYPE_APP: "应用"
|
|
|
|
|
TYPE_RUNTIME: "运行环境"
|
|
|
|
|
TYPE_DOMAIN: "域名"
|
2023-11-07 06:07:30 +00:00
|
|
|
|
ErrTypePort: '端口 {{ .name }} 格式错误'
|
2023-11-05 13:39:36 +00:00
|
|
|
|
ErrTypePortRange: '端口范围需要在 1-65535 之间'
|
2023-11-27 06:00:09 +00:00
|
|
|
|
Success: "成功"
|
|
|
|
|
Failed: "失败"
|
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-08-25 15:40:17 +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}}'
|
2023-08-11 07:52:13 +00:00
|
|
|
|
ErrImagePull: '镜像拉取失败 {{.err}}'
|
2023-08-25 10:44:11 +00:00
|
|
|
|
ErrVersionTooLow: '当前 1Panel 版本过低,无法更新应用商店,请升级版本之后操作'
|
2023-10-10 11:26:32 +00:00
|
|
|
|
ErrAppNameExist: '应用名称已存在'
|
2023-11-03 10:18:12 +00:00
|
|
|
|
AppStoreIsSyncing: '应用商店正在同步中,请稍后再试'
|
|
|
|
|
ErrGetCompose: "docker-compose.yml 文件获取失败!{{ .detail }}"
|
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: "不支持下载文件夹"
|
2023-10-16 07:48:06 +00:00
|
|
|
|
ErrCmdNotFound: "{{ .name}} 命令不存在,请先在宿主机安装此命令"
|
2023-10-18 09:02:24 +00:00
|
|
|
|
ErrSourcePathNotFound: "源目录不存在"
|
2023-10-20 09:56:46 +00:00
|
|
|
|
ErrFavoriteExist: "已收藏此路径"
|
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: '本地运行环境不支持切换!'
|
2023-09-05 14:28:11 +00:00
|
|
|
|
ErrPathPermission: 'index 目录下检测到非 1000:1000 权限文件夹,可能导致网站访问 Access denied 错误'
|
2023-10-27 07:13:25 +00:00
|
|
|
|
ErrDomainIsUsed: "域名已被网站【{{ .name }}】使用"
|
2023-11-02 10:36:55 +00:00
|
|
|
|
ErrDomainFormat: "{{ .name }} 域名格式不正确"
|
2022-12-05 07:50:53 +00:00
|
|
|
|
|
|
|
|
|
#ssl
|
2023-11-27 09:00:09 +00:00
|
|
|
|
ErrSSLCannotDelete: "{{ .name }} 证书正在被网站使用,无法删除"
|
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-11-14 10:44:09 +00:00
|
|
|
|
ErrEabKidOrEabHmacKeyCannotBlank: 'EabKid 或 EabHmacKey 不能为空'
|
2023-11-20 02:44:10 +00:00
|
|
|
|
ErrOpenrestyNotFound: 'Http 模式需要首先安装 Openresty'
|
2023-11-20 08:16:20 +00:00
|
|
|
|
ApplySSLStart: '开始申请证书,域名 [{{ .domain }}] 申请方式 [{{ .type }}] '
|
|
|
|
|
dnsAccount: "DNS 自动"
|
|
|
|
|
dnsManual: "DNS 手动"
|
|
|
|
|
http: "HTTP"
|
|
|
|
|
ApplySSLFailed: '申请 [{{ .domain }}] 证书失败, {{.detail}} '
|
|
|
|
|
ApplySSLSuccess: '申请 [{{ .domain }}] 证书成功!!'
|
|
|
|
|
DNSAccountName: 'DNS 账号 [{{ .name }}] 厂商 [{{.type}}]'
|
2023-11-27 06:00:09 +00:00
|
|
|
|
PushDirLog: '证书推送到目录 [{{ .path }}] {{ .status }}'
|
2023-11-27 10:36:10 +00:00
|
|
|
|
ErrDeleteCAWithSSL: "当前机构下存在已签发证书,无法删除"
|
|
|
|
|
ErrDeleteWithPanelSSL: "面板 SSL 配置使用此证书,无法删除"
|
2023-11-29 12:24:08 +00:00
|
|
|
|
ErrDefaultCA: "默认机构不能删除"
|
|
|
|
|
ApplyWebSiteSSLLog: "开始更新 {{ .name }} 网站证书"
|
|
|
|
|
ErrUpdateWebsiteSSL: "{{ .name }} 网站更新证书失败: {{ .err }}"
|
|
|
|
|
ApplyWebSiteSSLSuccess: "更新网站证书成功"
|
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-09-16 05:16:15 +00:00
|
|
|
|
ErrRemoteExist: "远程数据库已存在该名称,请修改后重试"
|
|
|
|
|
ErrLocalExist: "本地数据库已存在该名称,请修改后重试"
|
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: "运行环境已经关联网站,无法删除"
|
2023-09-25 09:50:14 +00:00
|
|
|
|
ErrRuntimeStart: "启动失败"
|
|
|
|
|
ErrPackageJsonNotFound: "package.json 文件不存在"
|
|
|
|
|
ErrScriptsNotFound: "没有在 package.json 中找到 scripts 配置项"
|
2023-09-26 14:50:16 +00:00
|
|
|
|
ErrContainerNameNotFound: "无法获取容器名称,请检查 .env 文件"
|
2023-10-09 11:36:32 +00:00
|
|
|
|
ErrNodeModulesNotFound: "node_modules 文件夹不存在!请编辑运行环境或者等待运行环境启动成功"
|
2023-04-17 08:06:28 +00:00
|
|
|
|
|
|
|
|
|
#setting
|
|
|
|
|
ErrBackupInUsed: "该备份账号已在计划任务中使用,无法删除"
|
2023-10-17 09:58:21 +00:00
|
|
|
|
ErrBackupCheck: "备份账号测试连接失败 {{ .err}}"
|
2023-06-07 06:53:24 +00:00
|
|
|
|
ErrOSSConn: "无法成功请求最新版本,请检查服务器是否能够连接到外部网络环境。"
|
2023-09-06 07:00:12 +00:00
|
|
|
|
ErrEntrance: "安全入口信息错误,请检查后重试!"
|
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 }}"
|
2023-09-20 06:18:20 +00:00
|
|
|
|
|
|
|
|
|
#ssh
|
|
|
|
|
ErrFirewall: "当前未检测到系统 firewalld 或 ufw 服务,请检查后重试!"
|
2023-10-23 03:28:33 +00:00
|
|
|
|
|
|
|
|
|
#cronjob
|
2023-10-23 06:03:19 +00:00
|
|
|
|
ErrBashExecute: "脚本执行错误,请在任务输出文本域中查看具体信息。"
|
2023-12-05 02:46:10 +00:00
|
|
|
|
|
|
|
|
|
#toolbox
|
|
|
|
|
ErrNotExistUser: "当前用户不存在,请修改后重试!"
|