Just installed retool self-host, which was successful. Then unable to start retool self-host.
See terminal session below.
➜ ~/retool/retool-onpremise ./deploy-retool
INFO: `docker` found!
INFO: noticed you have tried Retool before, cleaning up...
[+] Running 5/5
⠿ Container retool-onpremise-jobs-runner-1 Stopped 14.0s
⠿ Container retool-onpremise-api-1 Stopped 15.5s
⠿ Container retool-onpremise-db-ssh-connector-1 Stopped 0.8s
⠿ Container retool-onpremise-postgres-1 Stopped 0.6s
⠿ Container retool-onpremise-db-connector-1 Stopped 0.7s
Going to remove retool-onpremise-api-1, retool-onpremise-jobs-runner-1, retool-onpremise-db-ssh-connector-1, retool-onpremise-postgres-1, retool-onpremise-db-connector-1
[+] Running 5/5
⠿ Container retool-onpremise-jobs-runner-1 Removed 0.1s
⠿ Container retool-onpremise-db-connector-1 Removed 0.1s
⠿ Container retool-onpremise-postgres-1 Removed 0.0s
⠿ Container retool-onpremise-db-ssh-connector-1 Removed 0.1s
⠿ Container retool-onpremise-api-1 Removed 0.2s
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
INFO: updating Retool!
[+] Running 5/5
⠿ jobs-runner Skipped - No image to be pulled 0.0s
⠿ db-connector Skipped - No image to be pulled 0.0s
⠿ db-ssh-connector Skipped - No image to be pulled 0.0s
⠿ api Skipped - No image to be pulled 0.0s
⠿ postgres Pulled 1.4s
INFO: running Retool! This can take up to 5 minutes
[+] Running 5/5
⠿ Container retool-onpremise-db-ssh-connector-1 Started 0.8s
⠿ Container retool-onpremise-db-connector-1 Started 0.8s
⠿ Container retool-onpremise-postgres-1 Started 0.9s
⠿ Container retool-onpremise-jobs-runner-1 Started 1.2s
⠿ Container retool-onpremise-api-1 Started 1.3s
-- !! RETOOL IS BOOTING !! --
Waiting for Retool to start up... <Pressing Ctrl-C may prevent proper start-up>
There was an issue starting the Retool container
You can view the logs by running: docker logs f6b23d6d2e783443dc4b4f5f502bd1c902a05f19aadd2f142b9f4e38528dd911')
Then I tried to run docker logs
. Can't seem to find any error. Below is the docker log:
➜ ~/retool/retool-onpremise docker logs f6b23d6d2e783443dc4b4f5f502bd1c902a05f19aadd2f142b9f4e38528dd911
wait-for-it.sh: waiting 15 seconds for postgres:5432
wait-for-it.sh: postgres:5432 is available after 0 seconds
not untarring the bundle
{"message":"[process service types] MAIN_BACKEND","level":"info","timestamp":"2023-05-03T22:49:16.951Z"}
Database migrations are up to date.
Setting http and https agent maxSockets to 25
{"message":"Not configuring Sentry...","level":"info","timestamp":"2023-05-03T22:49:27.512Z"}
{"message":"Not configuring StatsD...","level":"info","timestamp":"2023-05-03T22:49:27.528Z"}
{"message":"Running node v16.14.2","level":"info","timestamp":"2023-05-03T22:49:27.532Z"}
{"0":"--max-http-header-size=80000","level":"info","message":"ARGV:","timestamp":"2023-05-03T22:49:27.542Z"}
{"message":"Node.js heap size limit: 5168 MiB","level":"info","timestamp":"2023-05-03T22:49:27.548Z"}
{"message":"Initialized general rate limiter: 60 attempts every 60 seconds","level":"info","timestamp":"2023-05-03T22:49:37.256Z"}
{"message":"Initialized invite rate limiter: 50 attempts every 86400 seconds","level":"info","timestamp":"2023-05-03T22:49:37.261Z"}
Wed, 03 May 2023 22:49:37 GMT body-parser deprecated bodyParser: use individual json/urlencoded middlewares at ../snapshot/retool_development/backend/transpiled/server/app.js:null:null
Wed, 03 May 2023 22:49:37 GMT body-parser deprecated undefined extended: provide extended option at ../snapshot/retool_development/node_modules/body-parser/index.js:104:29
main web boot-up: 1:09.971 (m:ss.mmm)
(node:54) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
(Use `retool_backend --trace-deprecation ...` to show where the warning was created)
(node:54) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /snapshot/retool_development/node_modules/@tryretool/common/package.json.
Update this package.json to use a subpath pattern like "./*".
(node:54) [LRU_CACHE_UNBOUNDED] UnboundedCacheWarning: TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.
(node:54) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /node_modules/@tryretool/workflowsBackend/package.json.
Update this package.json to use a subpath pattern like "./*".
(node:54) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /node_modules/@tryretool/common/package.json.
Update this package.json to use a subpath pattern like "./*".
(node:54) [LRU_CACHE_OPTION_maxAge] DeprecationWarning: The maxAge option is deprecated. Please use options.ttl instead.
{"message":"RetoolDB credentials not found, skipping setup...","level":"info","timestamp":"2023-05-03T22:50:39.433Z"}
{"namespace":"memoryUsage","pid":54,"message":{"pid":54,"Memory Stats for process":{"rss":"0 MB","heapTotal":"279.773184 MB","heapUsed":"238.253824 MB","percentageHeapUsed":"85.16%"},"CPU Usage % for process":"66.49%","Memory Stats for container":{"freeSystemMemory":"218.07104 MB","totalSystemMemory":"4380.860416 MB","percentageFreeMemory":"4.97%"}},"level":"info","timestamp":"2023-05-03T22:50:39.536Z"}
Environment variables:
ACCESS_TOKEN_COOKIE_NAME: accessToken
ACTIVE_PAGE_SAVE_PROCESSOR_QUEUE: azure
APPS_FS_SYNC_ON: false
APPS_FS_SYNC_WATCHER: false
AUDIT_INSERT_TIMEOUT_SECONDS: 20
AUDIT_SELECT_TIMEOUT_SECONDS: 20
AUDIT_TRAILS_FILTER_DEFAULT_DAYS: 90
AUDIT_TRAILS_POSTGRES_PORT: 5432
AUTH_REQS_PER_MINUTE: 60
BOOTSTRAP_FROM_SOURCE: false
BUILD_NUMBER: 1193
CLIENT_ID: secret
CODE_EXECUTOR_INGRESS_DOMAIN: http://localhost:3004
COMMIT_HASH: 74783c8
CONTENT_TYPE_PARSING_REST_API_ENABLED: false
CUSTOM_OAUTH2_SSO_ACCESS_TOKEN_LIFESPAN_MINUTES: undefined
CUSTOM_OAUTH2_SSO_ROLE_MAPPING_DISABLED: false
DATABASE_MIGRATIONS_TIMEOUT_SECONDS: 300
DATABASE_SCHEMA_QUERY_LIMIT: 3000
DBCONNECTOR_ASYNC_SERIALIZATION_THRESHOLD_BYTES: 256000
DBCONNECTOR_AWS_ROLE_ASSUMER_WITH_WEB_IDENTITY: false
DBCONNECTOR_AWS_SKIP_DEFAULT_PROVIDER_DYNAMODB: false
DBCONNECTOR_AWS_SKIP_DEFAULT_PROVIDER_LAMBDA: false
DBCONNECTOR_AWS_SKIP_DEFAULT_PROVIDER_S3: false
DBCONNECTOR_CPU_PROFILING_TIME_MS: 60000
DBCONNECTOR_FIREBASE_MEMORY_LIMIT_MB: 0
DBCONNECTOR_FIREBASE_WORKER_ENDURANCE: 1
DBCONNECTOR_HEADERS_TIMEOUT_MS: 0
DBCONNECTOR_HTTP_AGENT_MAX_SOCKETS: 25
DBCONNECTOR_INGRESS_DOMAIN: http://localhost:3002
DBCONNECTOR_INGRESS_DOMAIN_SECONDARY: http://localhost:3002
DBCONNECTOR_KEEPALIVE_TIMEOUT_MS: 0
DBCONNECTOR_NUM_WORKERS: 1
DBCONNECTOR_POSTGRES_POOL_MAX_SIZE: 10
DBCONNECTOR_QUERY_TIMEOUT_MS: 120000
DBCONNECTOR_SHARDING_DOMAIN: http://localhost:3002
DBCONNECTOR_SHARDING_JITTER_THRESHOLD: 500
DBCONNECTOR_SHARDING_MAX_JITTER: 0.4
DBCONNECTOR_SHARDING_MIN_JITTER: 0.05
DBCONNECTOR_SHARDING_OLD_WINDOW_WEIGHT: 3
DBCONNECTOR_SHARDING_TIME_PERIOD_IN_SECONDS: 10
DBCONNECTOR_SHARDING_TTL: 6
DB_CONNECTOR_PORT: 3002
DEBUG: false
DISABLE_DATABASE_MIGRATIONS: false
DISABLE_DATABASE_MIGRATIONS_TIMEOUT: false
DISABLE_FORWARDABLE_COOKIE_DECODING: false
DISABLE_GIT_SYNCING: false
DISABLE_IMAGE_PROXY: false
DISABLE_INTERCOM: false
DISABLE_MEMORY_AND_CPU_USAGE_LOGGING: false
DISABLE_PAGE_USER_HEARTBEAT: false
DISABLE_PROTECTED_APPS_SYNCING: false
DISABLE_PUBLIC_PAGES: false
DISABLE_RATE_LIMIT: false
DISABLE_SOURCE_CONTROL_SYNCING: false
DISABLE_TEST_RESOURCES: false
DISABLE_USER_PASS_LOGIN: false
DO_HIBP_CHECK: true
ENABLE_CLIENT_SIDE_CUSTOM_AUTH_BROWSER_CALLS: false
ENABLE_CUSTOM_PLATFORM_LEVEL_AUTH_STEPS: false
ENABLE_DATABASE_MIGRATIONS_CONCURRENT_INDEX_CREATION: false
ENABLE_DBCONNECTOR_FIREBASE_PROCESS_LIMIT: false
ENABLE_GLOBAL_QUERY_TIMEOUT: false
ENABLE_RUN_QUERY_BY_UUID_METADATA_LOG: false
FAILED_MONTHLY_LOGINS_PER_IP: 10
FAILED_MONTHLY_LOGINS_PER_USER: 100
GITHUB_SYNC_TOKEN: secret
GITLAB_PROJECT_ID: undefined
GPT_HOURLY_TOKEN_LIMIT: 20000
HEADER_BASED_AUTH_ENABLED: false
HEADER_BASED_AUTH_ROLE_MAPPING_DISABLED: false
HIBP_API_KEY: secret
HIDE_ALL_HEADERS_IN_AUDIT_LOG_EVENTS: false
HIDE_PROD_AND_STAGING_TOGGLES: false
HTML_ESCAPE_RETOOL_EXPRESSIONS: false
HTTP_PROXY_STRICT: true
INC_613_GET_RECORD_TRANSIT: false
INVITES_PER_DAY: 50
IS_ADMIN: false
IS_E2E: false
JWT_SECRET: secret
K8S_HOSTED: false
LDAP_ROLE_MAPPING_DISABLED: false
LDAP_SYNC_ALL_GROUPS: false
LDAP_SYNC_GROUP_CLAIMS: false
LICENSE_KEY: secret
LICENSING_STATUS_PROPAGATION_ENABLED: true
LOG_AUDIT_EVENTS: false
LOG_LEVEL: info
NODE_ENV: production
NODE_HTTP_AGENT_MAX_SOCKETS: 25
NODE_METRICS_MONTIOR_ENABLED: false
NODE_METRICS_MONTIOR_MINUTE_INTERVAL: 5
NO_PROXY: localhost
NUM_WORKERS: undefined
OKTA_CLIENT_SECRET: secret
OPEN_API_SPEC_CACHE_TTL_MS: 600000
OTEL_TRACING_ENABLED: false
PORT: undefined
POSTGRES_DB: hammerhead_production
POSTGRES_HOST: postgres
POSTGRES_IDLE_IN_TRANSACTION_SESSION_TIMEOUT: undefined
POSTGRES_PASSWORD: secret
POSTGRES_POOL_SIZE_MAX: 5
POSTGRES_POOL_SIZE_MIN: 0
POSTGRES_PORT: 5432
POSTGRES_SSL_DISABLED: false
POSTGRES_SSL_ENABLED: false
POSTGRES_SSL_REJECT_UNAUTHORIZED: false
POSTGRES_STATEMENT_TIMEOUT: undefined
POSTGRES_USER: retool_internal_user
PRESERVE_PASSWORDS_FIRST_GOOGLE_LOGIN: false
PRESTO_DISABLE_GET_SCHEMA: false
PRESTO_DISABLE_QUERY_TIMEOUT: false
PRESTO_POOL_MAX_CONNECTION_RETRIES: 20
PRESTO_POOL_MAX_SIZE: 10
PRESTO_POOL_MIN_SIZE: 1
PROTECTED_APPS_TREE_TRIMMING: false
PROTECTED_APPS_TREE_TRIMMING_CHUNK_SIZE: 1000
REDIS_TLS: false
REDIS_USER_CACHE_TLS: false
REQUIRE_PASSWORD_TO_DISABLE_MFA: true
REST_API_MIME_TO_EXTENSION_PARSING_ENABLED: false
RETOOLDB_POSTGRES_PORT: 5432
RETOOLDB_POSTGRES_SSL: false
RETOOL_ENV: production
RETOOL_HOSTED: false
RETOOL_MAX_MEMORY_MB: 0
RETOOL_WORKFLOW_IN_SANDBOX: false
SAML_FIRST_NAME_ATTRIBUTE: firstName
SAML_GROUPS_ATTRIBUTE: groups
SAML_LAST_NAME_ATTRIBUTE: lastName
SAML_SYNC_GROUP_CLAIMS: false
SCIM_AUTH_TOKEN: secret
SCIM_ENABLE_GROUP_PUT: false
SCIM_LOG_FULL_REQUESTS: false
SCIM_ONLY_MODE: false
SEQUELIZE_ACQUIRE: 100000
SEQUELIZE_EVICT: 1000000
SEQUELIZE_IDLE: 100000
SNOWFLAKE_POOL_ACQUIRE_TIMEOUT_MS: 10000
SNOWFLAKE_POOL_MAX_SIZE: 10
SNOWFLAKE_POOL_MAX_TRIES: 1
SNOWFLAKE_POOL_MIN_SIZE: 0
SNOWFLAKE_VALIDATION_DISABLE_HEARTBEAT: false
STATSD_PORT: undefined
TRIGGER_OAUTH_2_SSO_LOGIN_AUTOMATICALLY: false
TRIGGER_SAML_LOGIN_AUTOMATICALLY: false
TRUNCATE_LONG_AUDIT_LOG_DATA: false
USE_AUDIT_TRAILS_POSTGRES_DB: false
USE_DBCONNECTOR_INGRESS_FOR_PRIMARY: false
USE_DBCONNECTOR_INGRESS_FOR_SECONDARY: false
USE_GCM_ENCRYPTION: false
USE_REDIS_HEARTBEATS: false
USE_SHORT_SESSIONS: false
USE_STAGING_LICENSING_SERVER: false
VERSION_CONTROL_LOCKED: false
WORKFLOW_BLOCK_STORAGE_LOCATION: postgres
WORKFLOW_BURST_10_SECOND_LIMIT: 200
WORKFLOW_CONCURRENT_WEBHOOKS_LIMIT: 100
WORKFLOW_DEV_FORCE_USE_CLOUD_EXECUTION_PATH: false
WORKFLOW_REDIS_TLS: false
WORKFLOW_SCHEDULING_ENABLED: false
WORKFLOW_TEMPORAL_CLUSTER_FRONTEND_PORT: 7233
WORKFLOW_TEMPORAL_CLUSTER_NAMESPACE: workflows
WORKFLOW_TEMPORAL_CONCURRENT_ACTIVITIES_LIMIT: 10
WORKFLOW_TEMPORAL_CONCURRENT_TASKS_LIMIT: 10
WORKFLOW_TEMPORAL_STICKY_CACHE_SIZE: 200
WORKFLOW_TEMPORAL_WORKER_SHUTDOWN_GRACE_TIME: 11 minute
WORKFLOW_WORKER_HEALTHCHECK_PORT: 3005
{"message":"Rechecking license status...","level":"info","timestamp":"2023-05-03T22:50:39.598Z"}
{"message":"license check http response code: 200","level":"info","timestamp":"2023-05-03T22:50:40.300Z"}
{"message":"License key feature flag overrides: {}","level":"info","timestamp":"2023-05-03T22:50:40.351Z"}
{"message":"Updated license status from licensing server","level":"info","timestamp":"2023-05-03T22:50:40.377Z"}
{"message":"[Master] Detected 4 cpus, starting 3 workers","level":"info","timestamp":"2023-05-03T22:50:40.389Z"}
{"message":"[process service types] MAIN_BACKEND","level":"info","timestamp":"2023-05-03T22:50:57.081Z"}
{"message":"[process service types] MAIN_BACKEND","level":"info","timestamp":"2023-05-03T22:50:57.268Z"}
{"message":"[process service types] MAIN_BACKEND","level":"info","timestamp":"2023-05-03T22:50:57.392Z"}
{"namespace":"memoryUsage","pid":54,"message":{"pid":54,"Memory Stats for process":{"rss":"0 MB","heapTotal":"280.297472 MB","heapUsed":"240.904768 MB","percentageHeapUsed":"85.95%"},"CPU Usage % for process":"6.73%","Memory Stats for container":{"freeSystemMemory":"177.389568 MB","totalSystemMemory":"4380.860416 MB","percentageFreeMemory":"4.04%"}},"level":"info","timestamp":"2023-05-03T22:50:59.655Z"}
Database migrations are up to date.
Database migrations are up to date.
Setting http and https agent maxSockets to 25
Database migrations are up to date.
Setting http and https agent maxSockets to 25
Setting http and https agent maxSockets to 25
{"namespace":"memoryUsage","pid":54,"message":{"pid":54,"Memory Stats for process":{"rss":"0 MB","heapTotal":"280.297472 MB","heapUsed":"240.937512 MB","percentageHeapUsed":"85.96%"},"CPU Usage % for process":"3.74%","Memory Stats for container":{"freeSystemMemory":"14.594048 MB","totalSystemMemory":"4380.860416 MB","percentageFreeMemory":"0.32%"}},"level":"info","timestamp":"2023-05-03T22:51:19.823Z"}
{"message":"Not configuring Sentry...","level":"info","timestamp":"2023-05-03T22:51:27.096Z"}
{"message":"Not configuring StatsD...","level":"info","timestamp":"2023-05-03T22:51:27.322Z"}
{"message":"Running node v16.14.2","level":"info","timestamp":"2023-05-03T22:51:27.394Z"}
{"0":"--max-http-header-size=80000","level":"info","message":"ARGV:","timestamp":"2023-05-03T22:51:27.620Z"}
{"message":"Node.js heap size limit: 5168 MiB","level":"info","timestamp":"2023-05-03T22:51:27.747Z"}
{"message":"Not configuring Sentry...","level":"info","timestamp":"2023-05-03T22:51:27.309Z"}
{"message":"Not configuring StatsD...","level":"info","timestamp":"2023-05-03T22:51:29.125Z"}
{"message":"Running node v16.14.2","level":"info","timestamp":"2023-05-03T22:51:29.205Z"}
{"0":"--max-http-header-size=80000","level":"info","message":"ARGV:","timestamp":"2023-05-03T22:51:29.272Z"}
{"message":"Node.js heap size limit: 5168 MiB","level":"info","timestamp":"2023-05-03T22:51:29.329Z"}
{"message":"Not configuring Sentry...","level":"info","timestamp":"2023-05-03T22:51:29.369Z"}
{"message":"Not configuring StatsD...","level":"info","timestamp":"2023-05-03T22:51:29.480Z"}
{"message":"Running node v16.14.2","level":"info","timestamp":"2023-05-03T22:51:29.517Z"}
{"0":"--max-http-header-size=80000","level":"info","message":"ARGV:","timestamp":"2023-05-03T22:51:29.554Z"}
{"message":"Node.js heap size limit: 5168 MiB","level":"info","timestamp":"2023-05-03T22:51:29.597Z"}
{"namespace":"memoryUsage","pid":54,"message":{"pid":54,"Memory Stats for process":{"rss":"0 MB","heapTotal":"280.297472 MB","heapUsed":"240.970216 MB","percentageHeapUsed":"85.97%"},"CPU Usage % for process":"2.93%","Memory Stats for container":{"freeSystemMemory":"388.083712 MB","totalSystemMemory":"4380.860416 MB","percentageFreeMemory":"8.84%"}},"level":"info","timestamp":"2023-05-03T22:51:39.987Z"}
{"namespace":"memoryUsage","pid":54,"message":{"pid":54,"Memory Stats for process":{"rss":"0 MB","heapTotal":"280.297472 MB","heapUsed":"241.002872 MB","percentageHeapUsed":"85.98%"},"CPU Usage % for process":"2.37%","Memory Stats for container":{"freeSystemMemory":"76.57472 MB","totalSystemMemory":"4380.860416 MB","percentageFreeMemory":"1.75%"}},"level":"info","timestamp":"2023-05-03T22:52:00.185Z"}
{"message":"Initialized general rate limiter: 60 attempts every 60 seconds","level":"info","timestamp":"2023-05-03T22:52:00.676Z"}
{"message":"Initialized invite rate limiter: 50 attempts every 86400 seconds","level":"info","timestamp":"2023-05-03T22:52:00.687Z"}
{"message":"Initialized general rate limiter: 60 attempts every 60 seconds","level":"info","timestamp":"2023-05-03T22:52:00.735Z"}
{"message":"Initialized invite rate limiter: 50 attempts every 86400 seconds","level":"info","timestamp":"2023-05-03T22:52:00.741Z"}
Wed, 03 May 2023 22:52:00 GMT body-parser deprecated bodyParser: use individual json/urlencoded middlewares at ../snapshot/retool_development/backend/transpiled/server/app.js:null:null
Wed, 03 May 2023 22:52:00 GMT body-parser deprecated bodyParser: use individual json/urlencoded middlewares at ../snapshot/retool_development/backend/transpiled/server/app.js:null:null
{"message":"Initialized general rate limiter: 60 attempts every 60 seconds","level":"info","timestamp":"2023-05-03T22:52:00.758Z"}
{"message":"Initialized invite rate limiter: 50 attempts every 86400 seconds","level":"info","timestamp":"2023-05-03T22:52:00.770Z"}
Wed, 03 May 2023 22:52:00 GMT body-parser deprecated bodyParser: use individual json/urlencoded middlewares at ../snapshot/retool_development/backend/transpiled/server/app.js:null:null
Wed, 03 May 2023 22:52:00 GMT body-parser deprecated undefined extended: provide extended option at ../snapshot/retool_development/node_modules/body-parser/index.js:104:29
Wed, 03 May 2023 22:52:00 GMT body-parser deprecated undefined extended: provide extended option at ../snapshot/retool_development/node_modules/body-parser/index.js:104:29
Wed, 03 May 2023 22:52:00 GMT body-parser deprecated undefined extended: provide extended option at ../snapshot/retool_development/node_modules/body-parser/index.js:104:29