ericji
  • Joined on Mar 07, 2024
Loading Heatmap…

ericji opened issue OpenI/octopus#794

mysql和redis数据库跑起来表为什么是空的

1 month ago

ericji commented on issue OpenI/octopus#793

octopus-adminserver 访问提示密码出错

使用版本v.4.3.5

1 month ago

ericji commented on issue OpenI/octopus#793

octopus-adminserver 访问提示密码出错

sftpgo查询log如下 {"level":"info","time":"2024-03-07T11:30:23.246","sender":"service","message":"starting SFTPGo 2.2.2-a7921500-2022-02-06T14:15:00Z +metrics +azblob +gcs +s3 +bolt +mysql +pgsql +sqlite +portable, config dir: ., config file: , log max size: 10 log max backups: 5 log max age: 28 log verbose: true, log compress: false, log utc time: false, load data from: \"\""} {"level":"debug","time":"2024-03-07T11:30:23.294","sender":"config","message":"config file used: '\"/etc/sftpgo/sftpgo.json\"', config loaded: {Common:{IdleTimeout:15 UploadMode:0 Actions:{ExecuteOn:[] ExecuteSync:[] Hook:} SetstatMode:0 TempPath: ProxyProtocol:0 ProxyAllowed:[] StartupHook: PostConnectHook: PostDisconnectHook: DataRetentionHook: MaxTotalConnections:0 MaxPerHostConnections:20 DefenderConfig:{Enabled:false Driver:memory BanTime:30 BanTimeIncrement:50 Threshold:15 ScoreInvalid:2 ScoreValid:1 ScoreLimitExceeded:3 ObservationTime:30 EntriesSoftLimit:100 EntriesHardLimit:150 SafeListFile: BlockListFile:} RateLimitersConfig:[{Average:0 Period:1000 Burst:1 Type:2 Protocols:[SSH FTP DAV HTTP] AllowList:[] GenerateDefenderEvents:false EntriesSoftLimit:100 EntriesHardLimit:150}] idleTimeoutAsDuration:0 idleLoginTimeout:0 defender:<nil>} SFTPD:{Banner:SFTPGo_2.2.2 Bindings:[{Address:0.0.0.0 Port:2022 ApplyProxyConfig:true}] MaxAuthTries:0 Actions:{ExecuteOn:[] ExecuteSync:[] Hook:} HostKeys:[] KexAlgorithms:[] Ciphers:[] MACs:[] TrustedUserCAKeys:[] LoginBannerFile: EnabledSSHCommands:[md5sum sha1sum cd pwd scp] KeyboardInteractiveAuthentication:false KeyboardInteractiveHook: PasswordAuthentication:true FolderPrefix: certChecker:<nil> parsedUserCAKeys:[]} FTPD:{Bindings:[{Address: Port:0 ApplyProxyConfig:true TLSMode:0 ForcePassiveIP: PassiveIPOverrides:[] ClientAuthType:0 TLSCipherSuites:[] PassiveConnectionsSecurity:0 ActiveConnectionsSecurity:0 Debug:false ciphers:[]}] Banner:SFTPGo 2.2.2 ready BannerFile: CertificateFile: CertificateKeyFile: CACertificates:[] CARevocationLists:[] ActiveTransfersPortNon20:true DisableActiveMode:false EnableSite:false HASHSupport:0 CombineSupport:0 PassivePortRange:{Start:50000 End:50100}} WebDAVD:{Bindings:[{Address: Port:0 EnableHTTPS:false ClientAuthType:0 TLSCipherSuites:[] Prefix: ProxyAllowed:[] allowHeadersFrom:[]}] CertificateFile: CertificateKeyFile: CACertificates:[] CARevocationLists:[] Cors:{AllowedOrigins:[] AllowedMethods:[] AllowedHeaders:[] ExposedHeaders:[] AllowCredentials:false Enabled:false MaxAge:0} Cache:{Users:{ExpirationTime:0 MaxSize:50} MimeTypes:{Enabled:true MaxSize:1000}}} ProviderConf:{Driver:sqlite Name:sftpgo.db Host: Port:0 Username: Password:[redacted] SSLMode:0 ConnectionString: SQLTablesPrefix: TrackQuota:1 PoolSize:0 UsersBaseDir: Actions:{ExecuteOn:[] ExecuteFor:[] Hook:} ExternalAuthHook: ExternalAuthScope:0 CredentialsPath:credentials PreLoginHook: PostLoginHook: PostLoginScope:0 CheckPasswordHook: CheckPasswordScope:0 UpdateMode:0 PasswordHashing:{BcryptOptions:{Cost:10} Argon2Options:{Memory:65536 Iterations:1 Parallelism:2} Algo:bcrypt} PreferDatabaseCredentials:false SkipNaturalKeysValidation:false PasswordValidation:{Admins:{MinEntropy:0} Users:{MinEntropy:0}} PasswordCaching:true DelayedQuotaUpdate:0 CreateDefaultAdmin:true IsShared:0} HTTPDConfig:{Bindings:[{Address:0.0.0.0 Port:8080 EnableWebAdmin:true EnableWebClient:true EnableHTTPS:false ClientAuthType:0 TLSCipherSuites:[] ProxyAllowed:[] HideLoginURL:0 RenderOpenAPI:true WebClientIntegrations:[] allowHeadersFrom:[]}] TemplatesPath:/usr/share/sftpgo/templates StaticFilesPath:/usr/share/sftpgo/static BackupsPath:backups OpenAPIPath:/usr/share/sftpgo/openapi WebRoot: CertificateFile: CertificateKeyFile: CACertificates:[] CARevocationLists:[] SigningPassphrase:[redacted] MaxUploadFileSize:1048576000 Cors:{AllowedOrigins:[] AllowedMethods:[] AllowedHeaders:[] ExposedHeaders:[] AllowCredentials:false Enabled:false MaxAge:0}} HTTPConfig:{Timeout:20 RetryWaitMin:2 RetryWaitMax:30 RetryMax:3 CACertificates:[] Certificates:[] SkipTLSVerify:false Headers:[] customTransport:<nil> tlsConfig:<nil>} KMSConfig:{Secrets:{URL: MasterKeyPath: MasterKeyString: masterKey:}} MFAConfig:{TOTP:[]} TelemetryConfig:{BindPort:10000 BindAddress:0.0.0.0 EnableProfiler:false AuthUserFile: CertificateFile: CertificateKeyFile: TLSCipherSuites:[]} PluginsConfig:[] SMTPConfig:{Host: Port:25 From: User: Password:[redacted] AuthType:0 Encryption:0 Domain: TemplatesPath:/usr/share/sftpgo/templates}}"} {"level":"info","time":"2024-03-07T11:30:23.305","sender":"kms","message":"secret provider registered for scheme: \"builtin\", encrypted status: \"AES-256-GCM\""} {"level":"info","time":"2024-03-07T11:30:23.305","sender":"kms","message":"secret provider registered for scheme: \"local\", encrypted status: \"Secretbox\""} {"level":"debug","time":"2024-03-07T11:30:23.310","sender":"plugins","message":"initialize"} {"level":"debug","time":"2024-03-07T11:30:23.310","sender":"smtp","message":"configuration disabled, email capabilities will not be available"} {"level":"debug","time":"2024-03-07T11:30:23.310","sender":"dataprovider_sqlite","message":"sqlite database handle created, connection string: \"file:sftpgo.db?cache=shared&_foreign_keys=1\""} {"level":"debug","time":"2024-03-07T11:30:23.504","sender":"dataprovider_sqlite","message":"sql database is up to date, current version: 15"} {"level":"debug","time":"2024-03-07T11:30:23.608","sender":"dataprovider_sqlite","message":"delayed quota update loop started, wait time: 0s"} {"level":"debug","time":"2024-03-07T11:30:23.608","sender":"dataprovider_sqlite","message":"delayed quota update loop ended, wait time: 0s"} {"level":"info","time":"2024-03-07T11:30:23.618","sender":"service","message":"FTP server not started, disabled in config file"} {"level":"info","time":"2024-03-07T11:30:23.619","sender":"service","message":"WebDAV server not started, disabled in config file"} {"level":"info","time":"2024-03-07T11:30:23.621","sender":"telemetry","message":"initializing telemetry server with config {BindPort:10000 BindAddress:0.0.0.0 EnableProfiler:false AuthUserFile: CertificateFile: CertificateKeyFile: TLSCipherSuites:[]}"} {"level":"info","time":"2024-03-07T11:30:23.628","sender":"telemetry","message":"server listener registered, address: [::]:10000 TLS enabled: false"} {"level":"info","time":"2024-03-07T11:30:23.623","sender":"service","message":"initializing SFTP server with config {Banner:SFTPGo_2.2.2 Bindings:[{Address:0.0.0.0 Port:2022 ApplyProxyConfig:true}] MaxAuthTries:0 Actions:{ExecuteOn:[] ExecuteSync:[] Hook:} HostKeys:[] KexAlgorithms:[] Ciphers:[] MACs:[] TrustedUserCAKeys:[] LoginBannerFile: EnabledSSHCommands:[md5sum sha1sum cd pwd scp] KeyboardInteractiveAuthentication:false KeyboardInteractiveHook: PasswordAuthentication:true FolderPrefix: certChecker:<nil> parsedUserCAKeys:[]}"} {"level":"info","time":"2024-03-07T11:30:23.620","sender":"httpd","message":"initializing HTTP server with config {Bindings:[{Address:0.0.0.0 Port:8080 EnableWebAdmin:true EnableWebClient:true EnableHTTPS:false ClientAuthType:0 TLSCipherSuites:[] ProxyAllowed:[] HideLoginURL:0 RenderOpenAPI:true WebClientIntegrations:[] allowHeadersFrom:[]}] TemplatesPath:/usr/share/sftpgo/templates StaticFilesPath:/usr/share/sftpgo/static BackupsPath:backups OpenAPIPath:/usr/share/sftpgo/openapi WebRoot: CertificateFile: CertificateKeyFile: CACertificates:[] CARevocationLists:[] SigningPassphrase:[redacted] MaxUploadFileSize:1048576000 Cors:{AllowedOrigins:[] AllowedMethods:[] AllowedHeaders:[] ExposedHeaders:[] AllowCredentials:false Enabled:false MaxAge:0}}"} {"level":"info","time":"2024-03-07T11:30:23.651","sender":"sftpd","message":"Loading private host key \"id_rsa\""} {"level":"info","time":"2024-03-07T11:30:23.692","sender":"sftpd","message":"Host key \"id_rsa\" loaded, type \"ssh-rsa\", fingerprint \"SHA256:rqRoXFZOADuTruauWSU5UE8m+G8Vci/+rtJqlkkqO8s\""} {"level":"info","time":"2024-03-07T11:30:23.692","sender":"sftpd","message":"Loading private host key \"id_ecdsa\""} {"level":"info","time":"2024-03-07T11:30:23.702","sender":"sftpd","message":"Host key \"id_ecdsa\" loaded, type \"ecdsa-sha2-nistp256\", fingerprint \"SHA256:uQ2THC0ASLPfWCjHONkqTvr2Lg35HWL5AvnPuwHtqgY\""} {"level":"info","time":"2024-03-07T11:30:23.702","sender":"sftpd","message":"Loading private host key \"id_ed25519\""} {"level":"info","time":"2024-03-07T11:30:23.740","sender":"sftpd","message":"Host key \"id_ed25519\" loaded, type \"ssh-ed25519\", fingerprint \"SHA256:N9sTnG2TABfRjMyQxJeoPv0AuWp8De0yD8kPHFIdFRs\""} {"level":"debug","time":"2024-03-07T11:30:23.740","sender":"sftpd","message":"enabled SSH commands [md5sum sha1sum cd pwd scp]"} {"level":"info","time":"2024-03-07T11:30:23.740","sender":"sftpd","message":"server listener registered, address: [::]:2022"} {"level":"info","time":"2024-03-07T11:30:24.401","sender":"httpd","message":"server listener registered, address: [::]:8080 TLS enabled: false"}

1 month ago

ericji commented on issue OpenI/octopus#793

octopus-adminserver 访问提示密码出错

base server 查询log如下 2024/03/07 06:42:23 Using CRITICAL_FUSE_POD = false 2024/03/07 06:42:23 Using INIT_PORT_CHECK_ENABLED = false panic: proto: (line 1:415): invalid value for string type: 123456 goroutine 1 [running]: main.main() /app/server/base-server/cmd/base-server/main.go:67 +0x34a

1 month ago

ericji opened issue OpenI/octopus#793

octopus-adminserver 访问提示密码出错

1 month ago