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