2022-08-16 23:30:23 +08:00
ErrInvalidParams : "Request parameter error: {{ .detail }}"
ErrTokenParse : "Token generation error: {{ .detail }}"
2022-12-02 18:52:43 +08:00
ErrInitialPassword : "Initial password error"
2022-08-16 23:30:23 +08:00
ErrInternalServer : "Service internal error: {{ .detail }}"
2022-12-21 12:21:27 +08:00
ErrRecordExist : "Record already exists"
ErrRecordNotFound : "Records not found"
2022-08-17 11:47:56 +08:00
ErrStructTransform : "Type conversion failure: {{ .detail }}"
2022-09-15 17:15:03 +08:00
ErrNotLogin : "User is not Login: {{ .detail }}"
2022-09-29 16:15:59 +08:00
ErrPasswordExpired : "The current password has expired: {{ .detail }}"
2022-12-01 15:48:40 +08:00
ErrNotSupportType : "The system does not support the current type: {{ .detail }}"
2022-12-02 10:31:07 +08:00
#common
ErrNameIsExist : "Name is already exist"
2023-02-21 15:19:12 +08:00
ErrDemoEnvironment : "Demo server, prohibit this operation!"
2023-04-12 14:16:29 +08:00
ErrCmdTimeout : "Command execution timed out! "
2023-07-17 16:34:29 +08:00
ErrCmdIllegal : "The command contains illegal characters. Please modify and try again!"
2022-12-02 10:31:07 +08:00
2022-12-01 15:48:40 +08:00
#app
2022-12-01 16:45:00 +08:00
ErrPortInUsed : "{{ .detail }} port already in use"
ErrAppLimit : "App exceeds install limit"
2022-12-02 18:17:16 +08:00
ErrAppRequired : "{{ .detail }} app is required"
2022-12-04 17:45:54 +08:00
ErrNotInstall : "App not installed"
2023-08-25 23:40:17 +08:00
ErrPortInOtherApp : "{{ .port }} port already in use by app {{ .apps }}"
2023-03-06 17:24:00 +08:00
ErrDbUserNotValid : "Stock database, username and password do not match! "
2023-03-06 18:12:31 +08:00
ErrDockerComposeNotValid : "docker-compose file format error!"
2023-03-08 23:58:42 +08:00
ErrUpdateBuWebsite : 'The application was updated successfully, but the modification of the website configuration file failed, please check the configuration!'
2023-03-22 18:22:29 +08:00
Err1PanelNetworkFailed : 'Default container network creation failed! {{ .detail }}'
2023-05-15 22:40:05 +08:00
ErrFileParse : 'Application docker-compose file parsing failed!'
ErrInstallDirNotFound : 'installation directory does not exist'
2023-05-22 17:10:51 +08:00
AppStoreIsUpToDate : 'The app store is already up to date! '
2023-05-31 14:51:01 +08:00
LocalAppVersionNull : 'The {{.name}} app is not synced to version! Could not add to application list'
LocalAppVersionErr : '{{.name}} failed to sync version {{.version}}! {{.err}}'
ErrFileNotFound : '{{.name}} file does not exist'
ErrFileParseApp : 'Failed to parse {{.name}} file {{.err}}'
ErrAppDirNull : 'version folder does not exist'
LocalAppErr : "App {{.name}} sync failed! {{.err}}"
2023-05-31 15:39:04 +08:00
ErrContainerName : "ContainerName is already exist"
2023-06-01 14:47:13 +08:00
ErrAppSystemRestart : "1Panel restart causes the task to terminate"
2023-06-01 17:05:14 +08:00
ErrCreateHttpClient : "Failed to create HTTP request {{.err}}"
ErrHttpReqTimeOut : "Request timed out {{.err}}"
ErrHttpReqFailed : "Request failed {{.err}}"
ErrHttpReqNotFound : "The file does not exist"
ErrNoSuchHost : "Network connection failed"
2023-07-03 21:56:14 +08:00
ErrImagePullTimeOut : 'Image pull timeout'
2023-07-06 16:30:22 +08:00
ErrContainerNotFound : '{{ .name }} container does not exist'
ErrContainerMsg : '{{ .name }} container is abnormal, please check the log on the container page for details'
2023-07-25 17:22:20 +08:00
ErrAppBackup : '{{ .name }} application backup failed err {{.err}}'
2023-08-11 15:52:13 +08:00
ErrImagePull : '{{ .name }} image pull failed err {{.err}}'
2023-08-25 18:44:11 +08:00
ErrVersionTooLow : 'The current 1Panel version is too low to update the app store, please upgrade the version'
2022-12-02 18:17:16 +08:00
#file
ErrFileCanNotRead : "File can not read"
2022-12-04 16:10:48 +08:00
ErrFileToLarge : "file is too large"
2023-02-09 14:31:05 +08:00
ErrPathNotFound : "Path is not found"
2023-03-10 11:44:58 +08:00
ErrMovePathFailed : "The target path cannot contain the original path!"
2023-03-10 16:01:36 +08:00
ErrLinkPathNotFound : "Target path does not exist!"
ErrFileIsExit : "File already exists!"
2023-05-27 23:15:30 +08:00
ErrFileUpload : "Failed to upload file {{.name}} {{.detail}}"
2023-05-30 00:00:56 +08:00
ErrFileDownloadDir : "Download folder not supported"
2022-12-04 16:10:48 +08:00
#website
ErrDomainIsExist : "Domain is already exist"
2022-12-05 15:50:53 +08:00
ErrAliasIsExist : "Alias is already exist"
2022-12-12 15:36:45 +08:00
ErrAppDelete : 'Other Website use this App'
2023-03-07 16:44:16 +08:00
ErrGroupIsUsed : 'The group is in use and cannot be deleted'
2023-07-13 19:51:17 +08:00
ErrBackupMatch: 'the backup file does not match the current partial data of the website : {{ .detail}}"'
ErrBackupExist: 'the backup file corresponds to a portion of the original data that does not exist : {{ .detail}}"'
2023-07-25 17:20:25 +08:00
ErrPHPResource : 'The local runtime does not support switching! '
2022-12-05 15:50:53 +08:00
#ssl
ErrSSLCannotDelete : "The certificate is being used by the website and cannot be removed"
2023-01-04 11:44:43 +08:00
ErrAccountCannotDelete : "The certificate associated with the account cannot be deleted"
2023-02-20 17:04:59 +08:00
ErrSSLApply : "The certificate continues to be signed successfully, but openresty reload fails, please check the configuration! "
2023-03-07 16:44:16 +08:00
ErrEmailIsExist : 'Email is already exist'
2023-07-05 16:24:19 +08:00
ErrSSLKeyNotFound : 'The private key file does not exist'
ErrSSLCertificateNotFound : 'The certificate file does not exist'
2023-07-11 18:21:10 +08:00
ErrSSLKeyFormat : 'Private key file verification error'
2023-07-05 16:24:19 +08:00
ErrSSLCertificateFormat : 'Certificate file format error, please use pem format'
2023-08-24 18:20:15 +08:00
ErrOpenrestyPort : 'The default port of openresty is {{ .detail }}, HTTP mode cannot be used!'
2023-03-07 16:44:16 +08:00
#mysql
ErrUserIsExist : "The current user already exists. Please enter a new user"
2023-03-08 17:02:06 +08:00
ErrDatabaseIsExist : "The current database already exists. Please enter a new database"
2023-07-19 16:25:41 +08:00
ErrExecTimeOut : "SQL execution timed out, please check the database"
2023-03-08 17:02:06 +08:00
#redis
2023-03-15 16:48:26 +08:00
ErrTypeOfRedis : "The recovery file type does not match the current persistence mode. Modify the file type and try again"
#container
2023-03-16 15:03:44 +08:00
ErrInUsed : "{{ .detail }} is in use and cannot be deleted"
2023-03-30 16:47:47 +08:00
ErrObjectInUsed : "This object is in use and cannot be deleted"
2023-07-13 14:09:23 +08:00
ErrPortRules : "The number of ports does not match, please re-enter!"
2023-03-30 16:47:47 +08:00
#runtime
ErrDirNotFound : "The build folder does not exist! Please check file integrity! "
2023-03-31 14:02:28 +08:00
ErrFileNotExist : "{{ .detail }} file does not exist! Please check source file integrity! "
2023-04-02 16:54:00 +08:00
ErrImageBuildErr : "Image build failed"
2023-04-06 00:09:58 +08:00
ErrImageExist : "Image is already exist! "
2023-04-17 16:06:28 +08:00
ErrDelWithWebsite : "The operating environment has been associated with a website and cannot be deleted"
#setting
2023-06-07 14:53:24 +08:00
ErrBackupInUsed : "The backup account is already being used in a cronjob and cannot be deleted."
2023-07-31 11:28:41 +08:00
ErrOSSConn : "Unable to successfully request the latest version. Please check if the server can connect to the external network environment."
2023-06-07 14:53:24 +08:00
2023-07-31 11:28:41 +08:00
#tool
2023-08-01 17:31:42 +08:00
ErrConfigNotFound : "Configuration file does not exist"
ErrConfigParse : "Configuration file format error"
ErrConfigIsNull : "The configuration file is not allowed to be empty"
ErrConfigDirNotFound : "The running directory does not exist"
ErrConfigAlreadyExist : "A configuration file with the same name already exists"
ErrUserFindErr : "Failed to find user {{ .name }} {{ .err }}"