2024-07-23 14:48:37 +08:00
ErrInvalidParams : "Request parameter error: {{ .detail }}"
ErrInternalServer : "Service internal error: {{ .detail }}"
ErrRecordExist : "Record already exists"
ErrRecordNotFound : "Records not found"
ErrStructTransform : "Type conversion failure: {{ .detail }}"
ErrNotSupportType : "The system does not support the current type: {{ .detail }}"
#common
ErrNameIsExist : "Name is already exist"
ErrDemoEnvironment : "Demo server, prohibit this operation!"
ErrCmdTimeout : "Command execution timed out! "
ErrCmdIllegal : "The command contains illegal characters. Please modify and try again!"
2024-09-27 14:33:32 +08:00
ErrPortExist : "{{ .port }} port is already occupied by {{ .type }} [{{ .name }}]"
2024-07-23 14:48:37 +08:00
TYPE_APP : "Application"
TYPE_RUNTIME : "Runtime environment"
TYPE_DOMAIN : "Domain name"
2024-09-27 14:33:32 +08:00
ErrTypePort : "Port {{ .name }} format error"
2024-07-23 14:48:37 +08:00
Success : "Success"
Failed : "Failed"
SystemRestart : "System restart causes task interruption"
#app
ErrPortInUsed : "{{ .detail }} port already in use"
ErrAppLimit : "App exceeds install limit"
ErrAppRequired : "{{ .detail }} app is required"
ErrNotInstall : "App not installed"
ErrPortInOtherApp : "{{ .port }} port already in use by app {{ .apps }}"
ErrDbUserNotValid : "Stock database, username and password do not match! "
ErrDockerComposeNotValid : "docker-compose file format error!"
2024-09-27 14:33:32 +08:00
ErrUpdateBuWebsite : "The application was updated successfully, but the modification of the website configuration file failed, please check the configuration!"
Err1PanelNetworkFailed : "Default container network creation failed! {{ .detail }}"
ErrFileParse : "Application docker-compose file parsing failed!"
ErrInstallDirNotFound : "installation directory does not exist"
AppStoreIsUpToDate : "The app store is already up to date! "
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"
2024-07-23 14:48:37 +08:00
LocalAppErr : "App {{.name}} sync failed! {{.err}}"
ErrContainerName : "ContainerName is already exist"
ErrAppSystemRestart : "1Panel restart causes the task to terminate"
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"
2024-09-27 14:33:32 +08:00
ErrImagePullTimeOut : "Image pull timeout"
ErrContainerNotFound : "{{ .name }} container does not exist"
ErrContainerMsg : "{{ .name }} container is abnormal, please check the log on the container page for details"
ErrAppBackup : "{{ .name }} application backup failed err {{.err}}"
ErrImagePull : "{{ .name }} image pull failed err {{.err}}"
ErrVersionTooLow : "The current 1Panel version is too low to update the app store, please upgrade the version"
ErrAppNameExist : "App name is already exist"
AppStoreIsSyncing : "The App Store is syncing, please try again later"
2024-07-23 14:48:37 +08:00
ErrGetCompose : "Failed to obtain docker-compose.yml file! {{ .detail }}"
ErrAppWarn : "Abnormal status, please check the log"
ErrAppParamKey : "Parameter {{ .name }} field exception"
ErrAppUpgrade : "Failed to upgrade application {{ .name }} {{ .err }}"
AppRecover : "App {{ .name }} rolled back "
PullImageStart : "Start pulling image {{ .name }}"
PullImageSuccess : "Image pulled successfully"
UpgradeAppStart : "Start upgrading application {{ .name }}"
UpgradeAppSuccess : "App {{ .name }} upgraded successfully"
2024-08-22 18:48:55 +08:00
AppStoreIsLastVersion : "The app store is up to date"
AppStoreSyncSuccess : "App store synchronized successfully"
SyncAppDetail : "Synchronize app configuration"
2024-08-27 14:39:24 +08:00
AppVersionNotMatch : "{{ .name }} app requires an update to 1Panel, skipping synchronization"
2024-08-28 17:48:16 +08:00
MoveSiteDir : "The current upgrade requires migrating the OpenResty website directory"
MoveSiteToDir : "Migrate the website directory to {{ .name }}"
ErrMoveSiteDir : "Failed to migrate the website directory"
MoveSiteDirSuccess : "Successfully migrated the website directory"
2024-10-14 10:37:34 +08:00
DeleteRuntimePHP : "Delete PHP runtime environment" ,
CustomAppStoreNotConfig : "Please configure the offline package address in the app store settings" ,
CustomAppStoreNotFound : "Failed to retrieve app store package, please check if it exists" ,
CustomAppStoreFileValid : "App store package must be in .tar.gz format"
2024-07-23 14:48:37 +08:00
#file
ErrFileCanNotRead : "File can not read"
ErrFileToLarge : "file is too large"
ErrPathNotFound : "Path is not found"
ErrMovePathFailed : "The target path cannot contain the original path!"
ErrLinkPathNotFound : "Target path does not exist!"
ErrFileIsExist : "File or directory already exists!"
ErrFileUpload : "Failed to upload file {{.name}} {{.detail}}"
ErrFileDownloadDir : "Download folder not supported"
ErrCmdNotFound : "{{ .name}} command does not exist, please install this command on the host first"
ErrSourcePathNotFound : "Source directory does not exist"
ErrFavoriteExist : "This path has been collected"
ErrInvalidChar : "Illegal characters are prohibited"
#website
ErrDomainIsExist : "Domain is already exist"
ErrAliasIsExist : "Alias is already exist"
2024-09-27 14:33:32 +08:00
ErrAppDelete : "Other Website use this App"
ErrGroupIsUsed : "The group is in use and cannot be deleted"
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}}"
ErrPHPResource : "The local runtime does not support switching! "
ErrPathPermission : "A folder with non-1000:1000 permissions was detected in the index directory, which may cause an Access denied error when accessing the website. Please click the save button above"
2024-07-23 14:48:37 +08:00
ErrDomainIsUsed : "Domain is already used by website {{ .name }}"
ErrDomainFormat : "{{ .name }} domain format error"
ErrDefaultAlias : "default is a reserved code name, please use another code name"
2024-08-12 17:08:52 +08:00
ErrParentWebsite : "You need to delete the subsite(s) {{ .name }} first"
2024-09-20 17:24:57 +08:00
ErrBuildDirNotFound : "Build directory does not exist"
2024-07-23 14:48:37 +08:00
#ssl
ErrSSLCannotDelete : "The certificate {{ .name }} is being used by the website and cannot be removed"
ErrAccountCannotDelete : "The certificate associated with the account cannot be deleted"
ErrSSLApply : "The certificate continues to be signed successfully, but openresty reload fails, please check the configuration! "
2024-09-27 14:33:32 +08:00
ErrEmailIsExist : "Email is already exist"
ErrSSLKeyNotFound : "The private key file does not exist"
ErrSSLCertificateNotFound : "The certificate file does not exist"
ErrSSLKeyFormat : "Private key file verification error"
ErrSSLCertificateFormat : "Certificate file format error, please use pem format"
ErrEabKidOrEabHmacKeyCannotBlank : "EabKid or EabHmacKey cannot be empty"
ErrOpenrestyNotFound : "Http mode requires Openresty to be installed first"
ApplySSLStart : "Start applying for certificate, domain name [{{ .domain }}] application method [{{ .type }}] "
2024-07-23 14:48:37 +08:00
dnsAccount : "DNS Automatic"
dnsManual : "DNS Manual"
http : "HTTP"
2024-09-27 14:33:32 +08:00
ApplySSLFailed : "Application for [{{ .domain }}] certificate failed, {{.detail}} "
ApplySSLSuccess : "Application for [{{ .domain }}] certificate successful! ! "
DNSAccountName : "DNS account [{{ .name }}] manufacturer [{{.type}}]"
PushDirLog : "Certificate pushed to directory [{{ .path }}] {{ .status }}"
2024-07-23 14:48:37 +08:00
ErrDeleteCAWithSSL : "There is an issued certificate under the current organization and cannot be deleted"
ErrDeleteWithPanelSSL : "Panel SSL configuration uses this certificate and cannot be deleted"
ErrDefaultCA : "The default organization cannot be deleted"
ApplyWebSiteSSLLog : "Start updating {{ .name }} website certificate"
ErrUpdateWebsiteSSL : "{{ .name }} website failed to update certificate: {{ .err }}"
ApplyWebSiteSSLSuccess : "Update website certificate successfully"
#mysql
ErrUserIsExist : "The current user already exists. Please enter a new user"
ErrDatabaseIsExist : "The current database already exists. Please enter a new database"
ErrExecTimeOut : "SQL execution timed out, please check the database"
ErrRemoteExist : "The remote database already exists with that name, please modify it and try again"
ErrLocalExist : "The local database already exists with that name, please modify it and try again"
#redis
ErrTypeOfRedis : "The recovery file type does not match the current persistence mode. Modify the file type and try again"
#container
ErrInUsed : "{{ .detail }} is in use and cannot be deleted"
ErrObjectInUsed : "This object is in use and cannot be deleted"
ErrPortRules : "The number of ports does not match, please re-enter!"
ErrPgImagePull : "Image pull timeout. Please configure image acceleration or manually pull the postgres:16.0-alpine image and try again"
#runtime
ErrDirNotFound : "The build folder does not exist! Please check file integrity! "
ErrFileNotExist : "{{ .detail }} file does not exist! Please check source file integrity! "
ErrImageBuildErr : "Image build failed"
ErrImageExist : "Image is already exist! "
ErrDelWithWebsite : "The operating environment has been associated with a website and cannot be deleted"
ErrRuntimeStart : "Failed to start"
ErrPackageJsonNotFound : "package.json file does not exist"
ErrScriptsNotFound : "No scripts configuration item was found in package.json"
ErrContainerNameNotFound : "Unable to get container name, please check .env file"
ErrNodeModulesNotFound : "The node_modules folder does not exist! Please edit the running environment or wait for the running environment to start successfully"
2024-09-03 21:45:41 +08:00
ErrContainerNameIsNull : "Container name cannot be empty"
2024-07-23 14:48:37 +08:00
#setting
ErrBackupInUsed : "The backup account is already being used in a cronjob and cannot be deleted."
ErrBackupCheck : "Backup account test connection failed {{ .err}}"
ErrOSSConn : "Unable to retrieve the latest version, please check if the server can connect to the external network."
ErrEntrance : "Security entrance information error. Please check and try again!"
#tool
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 }}"
#ssh
ErrFirewall : "No firewalld or ufw service is detected. Please check and try again!"
#cronjob
ErrCutWebsiteLog : "{{ .name }} website log cutting failed, error {{ .err }}"
CutWebsiteLogSuccess : "{{ .name }} website log cut successfully, backup path {{ .path }}"
#toolbox
ErrNotExistUser : "The current user does not exist. Please modify and retry!"
ErrBanAction : "Setting failed, the current {{ .name }} service is unavailable, please check and try again!"
ErrClamdscanNotFound : "The clamdscan command was not detected, please refer to the documentation to install it!"
#waf
ErrScope : "Modification of this configuration is not supported"
ErrStateChange : "State modification failed"
ErrRuleExist : "Rule is Exist"
ErrRuleNotExist : "Rule is not Exist"
ErrParseIP : "IP format error"
ErrDefaultIP : "default is a reserved name, please change it to another name"
ErrGroupInUse : "The IP group is used by the black/white list and cannot be deleted"
ErrGroupExist : "IP group name already exists"
ErrIPRange : "Wrong IP range"
ErrIPExist : "IP is exit"
2024-11-15 16:06:01 +08:00
urlDefense : 'URL Rules'
urlHelper : 'Forbidden Access URLs'
dirFilter : 'Directory Filtering'
xss : 'XSS'
phpExec : 'PHP Script Execution'
oneWordTrojan : 'One-Liner Trojan'
appFilter : 'Application Dangerous Directory Filtering'
webshell : 'Webshell'
args : 'Parameter Rules'
protocolFilter : 'Protocol Filtering'
javaFileter : 'Java Dangerous File Filtering'
scannerFilter : 'Scanner Filtering'
escapeFilter : 'Escape Filtering'
customRule : 'Custom Rules'
httpMethod : 'HTTP Method Filtering'
fileExt : 'File Upload Restrictions'
defaultIpBlack : 'Malicious IP Group'
cookie : 'Cookie Rules'
urlBlack : 'URL Blacklist'
uaBlack : 'User-Agent Blacklist'
attackCount : 'Attack Frequency Limit'
fileExtCheck : 'File Upload Restrictions'
geoRestrict : 'Geographical Access Restrictions'
unknownWebsite : 'Unauthorized Domain Access'
notFoundLimit : '404 Frequency Limit'
headerDefense : 'Header Rules'
defaultUaBlack : 'User-Agent Rules'
methodWhite : 'HTTP Rules'
captcha : 'Captcha'
fiveSeconds : '5 Seconds Verification'
vulnCheck : 'Supplementary Rules'
acl : 'Custom Rules'
sql : 'SQL Injection'
cc : 'Access Frequency Limit'
defaultUrlBlack : 'URL Rules'
sqlInject : 'SQL Injection'
2024-07-23 14:48:37 +08:00
#license
ErrLicense : "License format error, please check and try again!"
ErrLicenseCheck : "License verification failed, please check and try again!"
ErrLicenseSave : "Failed to save license information, error {{ .err }}, please try again!"
ErrLicenseSync : "Failed to sync license information, no license information detected in the database!"
ErrXpackNotFound : "This section is a professional edition feature, please import the license first in Panel Settings-License interface"
ErrXpackNotActive : "This section is a professional edition feature, please synchronize the license status first in Panel Settings-License interface"
ErrXpackOutOfDate : "The current license has expired, please re-import the license in Panel Settings-License interface"
#task
2024-07-29 18:09:57 +08:00
TaskStart : "{{.name}} Start [START]"
TaskEnd : "{{.name}} End [COMPLETED]"
TaskFailed : "{{.name}} Failed"
TaskTimeout : "{{.name}} Timeout"
TaskSuccess : "{{.name}} Success"
TaskRetry : "Starting {{.name}} Retry"
SubTaskSuccess : "{{ .name }} Success"
SubTaskFailed : "{{ .name }} Failed: {{ .err }}"
TaskInstall : "Install"
TaskUninstall : "Uninstall"
TaskCreate : "Create"
TaskDelete : "Delete"
TaskUpgrade : "Upgrade"
TaskUpdate : "Update"
TaskRestart : "Restart"
2024-09-25 21:59:29 +08:00
TaskRollback : "Rollback"
2024-09-27 14:33:32 +08:00
TaskPull : "Pull"
TaskBuild : "Build"
TaskPush : "Push"
2024-10-15 16:05:21 +08:00
TaskHandle : "Execute"
2024-07-29 18:09:57 +08:00
Website : "Website"
App : "App"
Runtime : "Runtime"
Database : "Database"
ConfigFTP : "Create FTP User {{ .name }}"
ConfigOpenresty : "Create Openresty Configuration File"
InstallAppSuccess : "App {{ .name }} Installed Successfully"
ConfigRuntime : "Configure Runtime"
ConfigApp : "Configure App"
SuccessStatus : "{{ .name }} Success"
FailedStatus : "{{ .name }} Failed {{.err}}"
HandleLink : "Handle App Link"
HandleDatabaseApp : "Handle App Parameters"
ExecShell : "Execute {{ .name }} Script"
PullImage : "Pull Image"
Start : "Start"
Run : "Run"
2024-09-27 14:33:32 +08:00
Stop : "Stop"
Image : "Image"
Container : "Container"
Compose : "Compose"
AppLink : "Associated Application"
2024-08-07 16:40:35 +08:00
EnableSSL : "Enable HTTPS"
2024-08-22 18:48:55 +08:00
AppStore : "App Store"
TaskSync : "Sync"
2024-08-23 17:22:05 +08:00
LocalApp : "Local App"
2024-08-23 17:38:58 +08:00
SubTask : "Subtask"
2024-09-06 18:37:51 +08:00
RuntimeExtension : "Runtime Extension"
2024-07-29 18:09:57 +08:00
2024-09-25 21:59:29 +08:00
# task - snapshot
Snapshot : "Snapshot"
SnapDBInfo : "Write 1Panel database information"
SnapCopy : "Copy files & directories {{ .name }} "
SnapNewDB : "Initialize database {{ .name }} connection "
SnapDeleteOperationLog : "Delete operation log"
SnapDeleteLoginLog : "Delete access log"
SnapDeleteMonitor : "Delete monitoring data"
SnapRemoveSystemIP : "Remove system IP"
SnapBaseInfo : "Write 1Panel basic information"
SnapInstallApp : "Backup installed applications in 1Panel"
SnapDockerSave : "Compress installed applications"
SnapLocalBackup : "Backup 1Panel local backup directory"
SnapCompressBackup : "Compress local backup directory"
SnapPanelData : "Backup 1Panel data directory"
SnapCompressPanel : "Compress data directory"
SnapCloseDBConn : "Close database connection"
SnapCompress : "Create snapshot file"
SnapCompressFile : "Compress snapshot file"
SnapCheckCompress : "Check snapshot compressed file"
SnapCompressSize : "Snapshot file size {{ .name }}"
SnapUpload : "Upload snapshot file"
SnapLoadBackup : "Get backup account information"
SnapUploadTo : "Upload snapshot file to {{ .name }}"
2024-09-27 14:33:32 +08:00
SnapUploadRes : "Upload snapshot file to {{ .name }}"
# task - container
ContainerNewCliet : "Initialize Docker Client"
ContainerImagePull : "Pull container image {{ .name }}"
ContainerImageCheck : "Check if the image is pulled successfully"
ContainerLoadInfo : "Get basic information of the container"
ContainerCreate : "Create new container {{ .name }}"
ContainerCreateFailed : "Container creation failed, delete the failed container"
ContainerStartCheck : "Check if the container has started"
# task - image
ImageBuild : "Image build"
ImageBuildStdoutCheck : "Parse image output"
ImaegBuildRes : "Image build output: {{ .name }}"
ImagePull : "Pull image"
ImageRepoAuthFromDB : "Get repository authentication information from database"
ImaegPullRes : "Image pull output: {{ .name }}"
ImagePush : "Push image"
ImageRenameTag : "Rename image tag"
ImageNewTag : "New image tag {{ .name }}"
ImaegPushRes : "Image push output: {{ .name }}"
ComposeCreate : "Create compose"
2024-09-27 22:23:38 +08:00
ComposeCreateRes : "Compose creation output: {{ .name }}"
# task - website
BackupNginxConfig : "Backup website OpenResty configuration file"
CompressFileSuccess : "Directory compression successful, compressed as {{.name}}"
CompressDir : "Compress directory"
DeCompressFile : "Decompress file {{ .name }}"
ErrCheckValid : "Failed to validate backup file, {{ .name }}"
Rollback : "Rollback"
2024-09-29 16:00:00 +08:00
websiteDir : "Website directory"
RecoverFailedStartRollBack : "Recovery failed, starting rollback"
AppBackupFileIncomplete : "Backup file is incomplete; missing app.json or app.tar.gz file"
AppAttributesNotMatch : "Application type or name does not match"