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: "失败"
|
2023-12-07 07:08:06 +00:00
|
|
|
|
SystemRestart: "系统重启导致任务中断"
|
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 }}"
|
2024-02-19 05:55:27 +00:00
|
|
|
|
ErrAppWarn: "状态异常,请查看日志"
|
2024-03-04 03:53:03 +00:00
|
|
|
|
ErrAppParamKey: "参数 {{ .name }} 字段异常"
|
2024-04-24 09:34:10 +00:00
|
|
|
|
ErrAppUpgrade: "应用 {{ .name }} 升级失败 {{ .err }}"
|
|
|
|
|
AppRecover: "应用 {{ .name }} 回滚 "
|
|
|
|
|
PullImageStart: "开始拉取镜像 {{ .name }}"
|
|
|
|
|
PullImageSuccess: "镜像拉取成功"
|
|
|
|
|
UpgradeAppStart: "开始升级应用 {{ .name }}"
|
|
|
|
|
UpgradeAppSuccess: "应用 {{ .name }} 升级成功"
|
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: "目标路径不存在!"
|
2024-07-13 13:58:02 +00:00
|
|
|
|
ErrFileIsExist: "文件或文件夹已存在!"
|
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: "已收藏此路径"
|
2024-04-11 10:32:11 +00:00
|
|
|
|
ErrInvalidChar: "禁止使用非法字符"
|
2024-11-13 06:52:02 +00:00
|
|
|
|
ErrPathNotDelete: "所选目录不可删除"
|
|
|
|
|
|
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: '分组正在使用中,无法删除'
|
2024-05-09 03:32:23 +00:00
|
|
|
|
ErrBackupMatch: '该备份文件与当前网站部分数据不匹配 {{ .detail}}'
|
|
|
|
|
ErrBackupExist: '该备份文件对应部分源数据不存在 {{ .detail}}'
|
2023-07-25 09:20:25 +00:00
|
|
|
|
ErrPHPResource: '本地运行环境不支持切换!'
|
2024-04-26 10:20:09 +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 }} 域名格式不正确"
|
2024-05-06 05:53:56 +00:00
|
|
|
|
ErrDefaultAlias: "default 为保留代号,请使用其他代号"
|
2024-08-23 09:37:00 +00:00
|
|
|
|
ErrImageNotExist: "运行环境 {{.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: "更新网站证书成功"
|
2024-06-20 14:18:07 +00:00
|
|
|
|
ErrExecShell: "执行脚本失败 {{ .err }}"
|
|
|
|
|
ExecShellStart: "开始执行脚本"
|
|
|
|
|
ExecShellSuccess: "脚本执行成功"
|
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: "恢复文件类型与当前持久化方式不符,请修改后重试"
|
|
|
|
|
|
2024-07-02 14:43:24 +00:00
|
|
|
|
#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: "端口数目不匹配,请重新输入!"
|
2024-01-09 07:53:33 +00:00
|
|
|
|
ErrPgImagePull: "镜像拉取超时,请配置镜像加速或手动拉取 postgres:16.0-alpine 镜像后重试"
|
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}}"
|
2024-04-08 06:44:07 +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
|
2024-11-06 08:31:19 +00:00
|
|
|
|
ErrFirewallNone: "未检测到系统 firewalld 或 ufw 服务,请检查后重试!"
|
|
|
|
|
ErrFirewallBoth: "检测到系统同时存在 firewalld 或 ufw 服务,为避免冲突,请卸载后重试!"
|
|
|
|
|
ErrNFTables: "端口转发功能依赖于 iptables 服务,暂不兼容 nftables 操作!"
|
2023-10-23 03:28:33 +00:00
|
|
|
|
|
|
|
|
|
#cronjob
|
2023-10-23 06:03:19 +00:00
|
|
|
|
ErrBashExecute: "脚本执行错误,请在任务输出文本域中查看具体信息。"
|
2023-12-29 10:39:39 +00:00
|
|
|
|
ErrCutWebsiteLog: "{{ .name }} 网站日志切割失败,错误 {{ .err }}"
|
|
|
|
|
CutWebsiteLogSuccess: "{{ .name }} 网站日志切割成功,备份路径 {{ .path }}"
|
2023-12-05 02:46:10 +00:00
|
|
|
|
|
|
|
|
|
#toolbox
|
2023-12-08 07:40:07 +00:00
|
|
|
|
ErrNotExistUser: "当前用户不存在,请修改后重试!"
|
2024-03-06 10:16:08 +00:00
|
|
|
|
ErrBanAction: "设置失败,当前 {{ .name }} 服务不可用,请检查后重试!"
|
2024-07-12 06:11:25 +00:00
|
|
|
|
ErrClamdscanNotFound: "未检测到 clamdscan 命令,请参考文档安装!"
|
2024-03-06 10:16:08 +00:00
|
|
|
|
|
|
|
|
|
#waf
|
|
|
|
|
ErrScope: "不支持修改此配置"
|
2024-03-11 12:34:08 +00:00
|
|
|
|
ErrStateChange: "状态修改失败"
|
2024-04-26 10:20:09 +00:00
|
|
|
|
ErrRuleExist: "规则已存在"
|
2024-03-25 04:20:07 +00:00
|
|
|
|
ErrRuleNotExist: "规则不存在"
|
2024-04-01 07:52:07 +00:00
|
|
|
|
ErrParseIP: "IP 格式错误"
|
|
|
|
|
ErrDefaultIP: "default 为保留名称,请更换其他名称"
|
|
|
|
|
ErrGroupInUse: "IP 组被黑/白名单使用,无法删除"
|
2024-04-08 09:06:08 +00:00
|
|
|
|
ErrGroupExist: "IP 组名称已存在"
|
|
|
|
|
ErrIPRange: "IP 范围错误"
|
2024-04-26 10:20:09 +00:00
|
|
|
|
ErrIPExist: "IP 已存在"
|
2024-03-25 04:20:07 +00:00
|
|
|
|
|
|
|
|
|
#license
|
2024-04-01 08:28:07 +00:00
|
|
|
|
ErrLicense: "许可证格式错误,请检查后重试!"
|
2024-04-08 09:06:08 +00:00
|
|
|
|
ErrLicenseCheck: "许可证校验失败,请检查后重试!"
|
|
|
|
|
ErrLicenseSave: "许可证信息保存失败,错误 {{ .err }},请重试!"
|
2024-04-01 08:28:07 +00:00
|
|
|
|
ErrLicenseSync: "许可证信息同步失败,数据库中未检测到许可证信息!"
|
|
|
|
|
ErrXpackNotFound: "该部分为专业版功能,请先在 面板设置-许可证 界面导入许可证"
|
|
|
|
|
ErrXpackNotActive: "该部分为专业版功能,请先在 面板设置-许可证 界面同步许可证状态"
|
|
|
|
|
ErrXpackOutOfDate: "当前许可证已过期,请重新在 面板设置-许可证 界面导入许可证"
|
2024-03-25 04:20:07 +00:00
|
|
|
|
|
2024-08-20 14:11:13 +00:00
|
|
|
|
#license
|
|
|
|
|
ErrAlert: "告警信息格式错误,请检查后重试!"
|
|
|
|
|
ErrAlertPush: "告警信息推送错误,请检查后重试!"
|
|
|
|
|
ErrAlertSave: "告警信息保存错误,请检查后重试!"
|
|
|
|
|
ErrAlertSync: "告警信息同步错误,请检查后重试!"
|
|
|
|
|
ErrAlertRemote: "告警信息远端错误,请检查后重试!"
|
|
|
|
|
|