sftpgo报错无法启动

重新安装也不行,麻烦看下这是怎么回事
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.576”,“sender”:“service”,“message”:“starting SFTPGo 2.6.0-19e9857f-2024-05-15T16:29:09Z +metrics +azblob +gcs +s3 +bolt +mysql +pgsql +sqlite -unixcrypt +portable, config dir: ., config file: , log max size: 10 log max backups: 5 log max age: 28 log level: debug, log compress: false, log utc time: false, load data from: "", grace time: 0 secs”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.576”,“sender”:“config”,“message”:“unable to read env files from "env.d": open env.d: no such file or directory”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.590”,“sender”:“config”,“message”:“config file used: ‘"/etc/sftpgo/sftpgo.json"’, config loaded: {Common:{IdleTimeout:15 UploadMode:0 Actions:{ExecuteOn:[] ExecuteSync:[] Hook:} SetstatMode:0 RenameMode:0 ResumeMaxSize:0 TempPath: ProxyProtocol:0 ProxyAllowed:[] ProxySkipped:[] StartupHook: PostConnectHook: PostDisconnectHook: DataRetentionHook: MaxTotalConnections:0 MaxPerHostConnections:20 AllowListStatus:0 AllowSelfConnections:0 DefenderConfig:{Enabled:false Driver:memory BanTime:30 BanTimeIncrement:50 Threshold:15 ScoreInvalid:2 ScoreValid:1 ScoreLimitExceeded:3 ScoreNoAuth:0 ObservationTime:30 EntriesSoftLimit:100 EntriesHardLimit:150} RateLimitersConfig:[{Average:0 Period:1000 Burst:1 Type:2 Protocols:[SSH FTP DAV HTTP] GenerateDefenderEvents:false EntriesSoftLimit:100 EntriesHardLimit:150}] Umask: ServerVersion: Metadata:{Read:0} idleTimeoutAsDuration:0 idleLoginTimeout:0 defender: allowList: rateLimitersList: proxyAllowed:[] proxySkipped:[]} ACME:{Email: KeyType:4096 CertsPath:certs CAEndpoint:https://acme-v02.api.letsencrypt.org/directory Domains:[] RenewDays:30 HTTP01Challenge:{Port:80 WebRoot: ProxyHeader:} TLSALPN01Challenge:{Port:0} accountConfigPath: accountKeyPath: lockPath: tempDir:} SFTPD:{Bindings:[{Address: Port:2022 ApplyProxyConfig:true}] MaxAuthTries:0 HostKeys:[] HostCertificates:[] HostKeyAlgorithms:[] KexAlgorithms:[] Ciphers:[] MACs:[] PublicKeyAlgorithms:[] TrustedUserCAKeys:[] RevokedUserCertsFile: LoginBannerFile: EnabledSSHCommands:[md5sum sha1sum sha256sum cd pwd scp] KeyboardInteractiveAuthentication:true KeyboardInteractiveHook: PasswordAuthentication:true certChecker: parsedUserCAKeys:[]} FTPD:{Bindings:[{Address: Port:2121 ApplyProxyConfig:true TLSMode:0 TLSSessionReuse:0 CertificateFile: CertificateKeyFile: MinTLSVersion:12 ForcePassiveIP:www.xcdahai.top PassiveIPOverrides:[] PassiveHost: ClientAuthType:0 TLSCipherSuites:[] PassiveConnectionsSecurity:0 ActiveConnectionsSecurity:0 IgnoreASCIITransferType:0 Debug:false ciphers:[]}] BannerFile: CertificateFile: CertificateKeyFile: CACertificates:[] CARevocationLists:[] ActiveTransfersPortNon20:true DisableActiveMode:false EnableSite:false HASHSupport:0 CombineSupport:0 PassivePortRange:{Start:50000 End:50100} acmeDomain:} WebDAVD:{Bindings:[{Address: Port:10080 EnableHTTPS:false CertificateFile: CertificateKeyFile: MinTLSVersion:12 ClientAuthType:0 TLSCipherSuites:[] Protocols:[] Prefix: ProxyAllowed:[] ClientIPProxyHeader: ClientIPHeaderDepth:0 DisableWWWAuthHeader:false allowHeadersFrom:[]}] CertificateFile: CertificateKeyFile: CACertificates:[] CARevocationLists:[] Cors:{AllowedOrigins:[] AllowedMethods:[] AllowedHeaders:[] ExposedHeaders:[] AllowCredentials:false Enabled:false MaxAge:0 OptionsPassthrough:false OptionsSuccessStatus:0 AllowPrivateNetwork:false} Cache:{Users:{ExpirationTime:0 MaxSize:50} MimeTypes:{Enabled:true MaxSize:1000 CustomMappings:[]}} acmeDomain:} ProviderConf:{Driver:sqlite Name:sftpgo.db Host: Port:0 Username: Password: SSLMode:0 DisableSNI:false TargetSessionAttrs: RootCert: ClientCert: ClientKey: ConnectionString: SQLTablesPrefix: TrackQuota:2 PoolSize:0 UsersBaseDir:/srv/sftpgo/data Actions:{ExecuteOn:[] ExecuteFor:[] Hook:} ExternalAuthHook: ExternalAuthScope:0 PreLoginHook: PostLoginHook: PostLoginScope:0 CheckPasswordHook: CheckPasswordScope:0 UpdateMode:0 PasswordHashing:{BcryptOptions:{Cost:10} Argon2Options:{Memory:65536 Iterations:1 Parallelism:2} Algo:bcrypt} PasswordValidation:{Admins:{MinEntropy:0} Users:{MinEntropy:0}} PasswordCaching:true DelayedQuotaUpdate:0 CreateDefaultAdmin:false NamingRules:5 IsShared:0 Node:{Host: Port:0 Proto:http} BackupsPath:/srv/sftpgo/backups} HTTPDConfig:{Bindings:[{Address: Port:8080 EnableWebAdmin:true EnableWebClient:true EnableRESTAPI:true EnabledLoginMethods:0 EnableHTTPS:false CertificateFile: CertificateKeyFile: MinTLSVersion:12 ClientAuthType:0 TLSCipherSuites:[] Protocols:[] ProxyAllowed:[] ClientIPProxyHeader: ClientIPHeaderDepth:0 HideLoginURL:0 RenderOpenAPI:true OIDC:{ClientID: ClientSecret: ClientSecretFile: ConfigURL: RedirectBaseURL: UsernameField: RoleField: ImplicitRoles:false Scopes:[openid profile email] CustomFields:[] InsecureSkipSignatureCheck:false Debug:false provider: verifier: providerLogoutURL: oauth2Config:} Security:{Enabled:false AllowedHosts:[] AllowedHostsAreRegex:false HostsProxyHeaders:[] HTTPSRedirect:false HTTPSHost: HTTPSProxyHeaders:[] STSSeconds:0 STSIncludeSubdomains:false STSPreload:false ContentTypeNosniff:false ContentSecurityPolicy: PermissionsPolicy: CrossOriginOpenerPolicy: proxyHeaders:[]} Branding:{WebAdmin:{Name: ShortName: LogoPath: LoginImagePath: FaviconPath: DisclaimerName: DisclaimerPath: DefaultCSS:[] ExtraCSS:[]} WebClient:{Name: ShortName: LogoPath: LoginImagePath: FaviconPath: DisclaimerName: DisclaimerPath: DefaultCSS:[] ExtraCSS:[]}} allowHeadersFrom:[]}] TemplatesPath:templates StaticFilesPath:static OpenAPIPath:openapi WebRoot: CertificateFile: CertificateKeyFile: CACertificates:[] CARevocationLists:[] SigningPassphrase: SigningPassphraseFile: TokenValidation:0 MaxUploadFileSize:0 Cors:{AllowedOrigins:[] AllowedMethods:[] AllowedHeaders:[] ExposedHeaders:[] AllowCredentials:false Enabled:false MaxAge:0 OptionsPassthrough:false OptionsSuccessStatus:0 AllowPrivateNetwork:false} Setup:{InstallationCode: InstallationCodeHint:Installation code} HideSupportLink:false acmeDomain:} HTTPConfig:{Timeout:20 RetryWaitMin:2 RetryWaitMax:30 RetryMax:3 CACertificates:[] Certificates:[] SkipTLSVerify:false Headers:[] customTransport:} CommandConfig:{Timeout:30 Env:[] Commands:[]} KMSConfig:{Secrets:{URL: MasterKeyPath: MasterKeyString: masterKey:}} MFAConfig:{TOTP:[{Name:Default Issuer:SFTPGo Algo:sha1 algo:0}]} TelemetryConfig:{BindPort:0 BindAddress:127.0.0.1 EnableProfiler:false AuthUserFile: CertificateFile: CertificateKeyFile: TLSCipherSuites:[] MinTLSVersion:12 Protocols:[]} PluginsConfig:[] SMTPConfig:{Host: Port:587 From: User: Password: AuthType:0 Encryption:0 Domain: TemplatesPath:templates Debug:0 OAuth2:{Provider:0 Tenant: ClientID: ClientSecret: RefreshToken: mu: config: accessToken:}}}”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.591”,“sender”:“kms”,“message”:“secret provider registered for scheme: "builtin", encrypted status: "AES-256-GCM"”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.591”,“sender”:“kms”,“message”:“secret provider registered for scheme: "local", encrypted status: "Secretbox"”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.591”,“sender”:“dataprovider_sqlite”,“message”:“sqlite database handle created, connection string: "file:sftpgo.db?cache=shared&_foreign_keys=1"”}
e[2K1Panel-sftpgo-efKb | {“level”:“error”,“time”:“2024-06-24T09:19:44.593”,“sender”:“dataprovider_sqlite”,“message”:“error preparing database query "SELECT version from schema_version LIMIT 1": no such table: schema_version”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.593”,“sender”:“dataprovider_sqlite”,“message”:“creating initial database schema, version 28”}
e[2K1Panel-sftpgo-efKb | {“level”:“error”,“time”:“2024-06-24T09:19:44.594”,“sender”:“dataprovider_sqlite”,“message”:“error preparing database query "SELECT version from schema_version LIMIT 1": no such table: schema_version”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.635”,“sender”:“dataprovider_sqlite”,“message”:“updating database schema version: 28 → 29”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.640”,“sender”:“dataprovider_sqlite”,“message”:“absolute backup path "/srv/sftpgo/backups"”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.640”,“sender”:“plugins”,“message”:“initialize”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.640”,“sender”:“util”,“message”:“found share data path for name "templates": "/usr/share/sftpgo/templates"”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.640”,“sender”:“smtp”,“message”:“loading templates from "/usr/share/sftpgo/templates/email"”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.640”,“sender”:“dataprovider_sqlite”,“message”:“delayed quota update loop started, wait time: 0s”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.641”,“sender”:“dataprovider_sqlite”,“message”:“delayed quota update loop ended, wait time: 0s”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.642”,“sender”:“smtp”,“message”:“activating initial config”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.642”,“sender”:“smtp”,“message”:“configuration disabled, email capabilities will not be available”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.642”,“sender”:“eventmanager”,“message”:“loading updated rules”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.643”,“sender”:“eventmanager”,“message”:“recently updated event rules loaded: 0”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.643”,“sender”:“eventmanager”,“message”:“event rules updated, fs events: 0, provider events: 0, schedules: 0, ip blocked events: 0, certificate events: 0, IDP login events: 0”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.643”,“sender”:“common”,“message”:“scheduled overquota transfers check, schedule "@every 1m0s"”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.643”,“sender”:“common”,“message”:“scheduled idle connections check, schedule "@every 3m0s"”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.643”,“sender”:“common”,“message”:“using memory transfer checker”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.644”,“sender”:“acme”,“message”:“no domains configured, acme disabled”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.644”,“sender”:“service”,“message”:“telemetry server not started, disabled in config file”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.645”,“sender”:“service”,“message”:“initializing SFTP server with config {Bindings:[{Address: Port:2022 ApplyProxyConfig:true}] MaxAuthTries:0 HostKeys:[] HostCertificates:[] HostKeyAlgorithms:[] KexAlgorithms:[] Ciphers:[] MACs:[] PublicKeyAlgorithms:[] TrustedUserCAKeys:[] RevokedUserCertsFile: LoginBannerFile: EnabledSSHCommands:[md5sum sha1sum sha256sum cd pwd scp] KeyboardInteractiveAuthentication:true KeyboardInteractiveHook: PasswordAuthentication:true certChecker: parsedUserCAKeys:[]}”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.648”,“sender”:“httpd”,“message”:“initializing HTTP server with config {Bindings:[{Address: Port:8080 EnableWebAdmin:true EnableWebClient:true EnableRESTAPI:true EnabledLoginMethods:0 EnableHTTPS:false CertificateFile: CertificateKeyFile: MinTLSVersion:12 ClientAuthType:0 TLSCipherSuites:[] Protocols:[] ProxyAllowed:[] ClientIPProxyHeader: ClientIPHeaderDepth:0 HideLoginURL:0 RenderOpenAPI:true OIDC:{ClientID: ClientSecret: ClientSecretFile: ConfigURL: RedirectBaseURL: UsernameField: RoleField: ImplicitRoles:false Scopes:[openid profile email] CustomFields:[] InsecureSkipSignatureCheck:false Debug:false provider: verifier: providerLogoutURL: oauth2Config:} Security:{Enabled:false AllowedHosts:[] AllowedHostsAreRegex:false HostsProxyHeaders:[] HTTPSRedirect:false HTTPSHost: HTTPSProxyHeaders:[] STSSeconds:0 STSIncludeSubdomains:false STSPreload:false ContentTypeNosniff:false ContentSecurityPolicy: PermissionsPolicy: CrossOriginOpenerPolicy: proxyHeaders:[]} Branding:{WebAdmin:{Name: ShortName: LogoPath: LoginImagePath: FaviconPath: DisclaimerName: DisclaimerPath: DefaultCSS:[] ExtraCSS:[]} WebClient:{Name: ShortName: LogoPath: LoginImagePath: FaviconPath: DisclaimerName: DisclaimerPath: DefaultCSS:[] ExtraCSS:[]}} allowHeadersFrom:[]}] TemplatesPath:templates StaticFilesPath:static OpenAPIPath:openapi WebRoot: CertificateFile: CertificateKeyFile: CACertificates:[] CARevocationLists:[] SigningPassphrase: SigningPassphraseFile: TokenValidation:0 MaxUploadFileSize:0 Cors:{AllowedOrigins:[] AllowedMethods:[] AllowedHeaders:[] ExposedHeaders:[] AllowCredentials:false Enabled:false MaxAge:0 OptionsPassthrough:false OptionsSuccessStatus:0 AllowPrivateNetwork:false} Setup:{InstallationCode: InstallationCodeHint:Installation code} HideSupportLink:false acmeDomain:}”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.648”,“sender”:“httpd”,“message”:“using memory token manager”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.648”,“sender”:“httpd”,“message”:“using memory reset code manager”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.648”,“sender”:“httpd”,“message”:“using memory OIDC manager”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.648”,“sender”:“httpd”,“message”:“using memory OAuth2 manager”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.648”,“sender”:“httpd”,“message”:“using memory task manager”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.648”,“sender”:“util”,“message”:“found share data path for name "static": "/usr/share/sftpgo/static"”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.648”,“sender”:“util”,“message”:“found share data path for name "templates": "/usr/share/sftpgo/templates"”}
e[2K1Panel-sftpgo-efKb | {“level”:“debug”,“time”:“2024-06-24T09:19:44.648”,“sender”:“util”,“message”:“found share data path for name "openapi": "/usr/share/sftpgo/openapi"”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.652”,“sender”:“ftpd”,“message”:“initializing FTP server with config {Bindings:[{Address: Port:2121 ApplyProxyConfig:true TLSMode:0 TLSSessionReuse:0 CertificateFile: CertificateKeyFile: MinTLSVersion:12 ForcePassiveIP:www.xcdahai.top PassiveIPOverrides:[] PassiveHost: ClientAuthType:0 TLSCipherSuites:[] PassiveConnectionsSecurity:0 ActiveConnectionsSecurity:0 IgnoreASCIITransferType:0 Debug:false ciphers:[]}] BannerFile: CertificateFile: CertificateKeyFile: CACertificates:[] CARevocationLists:[] ActiveTransfersPortNon20:true DisableActiveMode:false EnableSite:false HASHSupport:0 CombineSupport:0 PassivePortRange:{Start:50000 End:50100} acmeDomain:}”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.652”,“sender”:“webdavd”,“message”:“initializing WebDAV server with config {Bindings:[{Address: Port:10080 EnableHTTPS:false CertificateFile: CertificateKeyFile: MinTLSVersion:12 ClientAuthType:0 TLSCipherSuites:[] Protocols:[] Prefix: ProxyAllowed:[] ClientIPProxyHeader: ClientIPHeaderDepth:0 DisableWWWAuthHeader:false allowHeadersFrom:[]}] CertificateFile: CertificateKeyFile: CACertificates:[] CARevocationLists:[] Cors:{AllowedOrigins:[] AllowedMethods:[] AllowedHeaders:[] ExposedHeaders:[] AllowCredentials:false Enabled:false MaxAge:0 OptionsPassthrough:false OptionsSuccessStatus:0 AllowPrivateNetwork:false} Cache:{Users:{ExpirationTime:0 MaxSize:50} MimeTypes:{Enabled:true MaxSize:1000 CustomMappings:[]}} acmeDomain:}”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.653”,“sender”:“sftpd”,“message”:“No host keys configured and "id_rsa" does not exist; try to create a new host key”}
e[2K1Panel-sftpgo-efKb | {“level”:“info”,“time”:“2024-06-24T09:19:44.655”,“sender”:“ftpd”,“message”:“starting FTP serving, binding: :2121”}
e[2K1Panel-sftpgo-efKb | {“level”:“error”,“time”:“2024-06-24T09:19:44.655”,“sender”:“service”,“message”:“could not start FTP server: could not load settings: driver error: couldn’t load settings: the provided passive IP "www.xcdahai.top" is not valid”}

这里的问题,安装时使用 IPv4 地址试一下。