powersync-ja / self-host-demo

24 stars 4 forks source link

Self Hosting With Supabase Not Working #25

Closed mcmah309 closed 2 weeks ago

mcmah309 commented 1 month ago

This is related to https://github.com/powersync-ja/self-host-demo/issues/24 . I attempted to get around that issue by self hosting Supabase. Which did help, but I still run into the issue of http://localhost:4170/ serving a black screen.

I followed: https://supabase.com/docs/guides/self-hosting/docker

Here are my steps:

Setup Supabase With Docker For Powersync

https://supabase.com/docs/guides/self-hosting/docker

git clone --filter=blob:none --no-checkout https://github.com/supabase/supabase
cd supabase
git sparse-checkout set --cone docker && git checkout master

# Go to the docker folder
cd docker

# Pull the latest images
docker compose pull

Fix container supabase-vector exited (0) error for rootless and allow setup to continue.

export DOCKER_SOCKET_LOCATION="/run/user/1000/docker.sock"

Start

# Start the services (in detached mode)
docker compose up -d

check it is running (should see all pulled)

docker compose ps

Go to dashboard at http://localhost:8000

Username: supabase

Password: this_password_is_insecure_and_should_be_updated

Run this sql

CREATE PUBLICATION powersync FOR ALL TABLES

Powersync

https://github.com/powersync-ja/self-host-demo/tree/main/demos/supabase

git clone https://github.com/powersync-ja/self-host-demo.git
cd self-host-demo/demos/supabase
cp .env.template .env

Go to dashboard at http://localhost:4170

Make sure powersync .env is correct e.g these need to change

SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyAgCiAgICAicm9sZSI6ICJhbm9uIiwKICAgICJpc3MiOiAic3VwYWJhc2UtZGVtbyIsCiAgICAiaWF0IjogMTY0MTc2OTIwMCwKICAgICJleHAiOiAxNzk5NTM1NjAwCn0.dc_X5iR_VP_qT0zsiyj_I_OZ2T9FtRU2BBNWN8Bu4GE
PG_DATABASE_HOSTNAME=db
PG_DATABASE_PASSWORD=your-super-secret-and-long-postgres-password
PG_DATABASE_PORT=5432

Run

docker compose up

At this point the logs have no errors (even those like in https://github.com/powersync-ja/self-host-demo/issues/24 are gone) and all the other log messages look correct, but http://localhost:4170 still serves a blank screen.

stevensJourney commented 1 month ago

Are there any errors in the Browser dev tool logs when inspecting the blank page?

mcmah309 commented 1 month ago

In the browser:

Error: supabaseKey is required.
    at new RD (index-GDK5liyz.js:45:97845)
    at _D (index-GDK5liyz.js:45:100523)
    at new OD (index-GDK5liyz.js:45:100769)
    at $ee (index-GDK5liyz.js:197:12728)
    at I7 (index-GDK5liyz.js:6:19539)
    at ay (index-GDK5liyz.js:8:44058)
    at ly (index-GDK5liyz.js:8:39790)
    at ZI (index-GDK5liyz.js:8:39718)
    at p5 (index-GDK5liyz.js:8:39570)
    at ec (index-GDK5liyz.js:8:35934)

Here are the full logs, I am noticing this morning that mongo-rs-init-1 may to be failing? I see ECONNREFUSED but the exit code is 0.

``` WARN[0000] The "PS_JWKS_URL" variable is not set. Defaulting to a blank string. WARN[0000] Found orphan containers ([supabase-storage supabase-meta supabase-edge-functions supabase-studio supabase-kong realtime-dev.supabase-realtime supabase-auth supabase-rest supabase-analytics supabase-db supabase-vector supabase-imgproxy]) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. [+] Running 4/0 ✔ Container supabase-mongo-1 Created 0.0s ✔ Container supabase-demo-client-1 Created 0.0s ✔ Container supabase-mongo-rs-init-1 Created 0.0s ✔ Container supabase-powersync-1 Created 0.0s Attaching to demo-client-1, mongo-1, mongo-rs-init-1, powersync-1 mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.523+00:00"},"s":"I", "c":"CONTROL", "id":23285, "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.524+00:00"},"s":"I", "c":"NETWORK", "id":4915701, "ctx":"main","msg":"Initialized wire specification","attr":{"spec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.525+00:00"},"s":"I", "c":"NETWORK", "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.526+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationDonorService","namespace":"config.tenantMigrationDonors"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.526+00:00"},"s":"I", "c":"REPL", "id":5123008, "ctx":"main","msg":"Successfully registered PrimaryOnlyService","attr":{"service":"TenantMigrationRecipientService","namespace":"config.tenantMigrationRecipients"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.526+00:00"},"s":"I", "c":"CONTROL", "id":5945603, "ctx":"main","msg":"Multi threading initialized"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.527+00:00"},"s":"I", "c":"TENANT_M", "id":7091600, "ctx":"main","msg":"Starting TenantMigrationAccessBlockerRegistry"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.527+00:00"},"s":"I", "c":"CONTROL", "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"a0436619e62a"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.527+00:00"},"s":"I", "c":"CONTROL", "id":23403, "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"7.0.12","gitVersion":"b6513ce0781db6818e24619e8a461eae90bc94fc","openSSLVersion":"OpenSSL 3.0.2 15 Mar 2022","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2204","distarch":"x86_64","target_arch":"x86_64"}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.527+00:00"},"s":"I", "c":"CONTROL", "id":51765, "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"22.04"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.527+00:00"},"s":"I", "c":"CONTROL", "id":21951, "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"},"replication":{"replSet":"rs0"},"systemLog":{"quiet":true}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.528+00:00"},"s":"I", "c":"STORAGE", "id":22270, "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/data/db","storageEngine":"wiredTiger"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.528+00:00"},"s":"I", "c":"STORAGE", "id":22297, "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]} mongo-1 | {"t":{"$date":"2024-08-02T13:00:56.528+00:00"},"s":"I", "c":"STORAGE", "id":22315, "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=31584M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,remove=true,path=journal,compressor=snappy),builtin_extension_config=(zstd=(compression_level=6)),file_manager=(close_idle_time=600,close_scan_interval=10,close_handle_minimum=2000),statistics_log=(wait=0),json_output=(error,message),verbose=[recovery_progress:1,checkpoint_progress:1,compact_progress:1,backup:0,checkpoint:0,compact:0,evict:0,history_store:0,recovery:0,rts:0,salvage:0,tiered:0,timestamp:0,transaction:0,verify:0,log:0],"}} demo-client-1 | demo-client-1 | > react-supabase-todolist@0.3.16 preview /powersync-js/demos/react-supabase-todolist demo-client-1 | > vite preview "--host" demo-client-1 | mongo-rs-init-1 | MongoNetworkError: connect ECONNREFUSED 172.18.0.15:27017 demo-client-1 | ➜ Local: http://localhost:4173/ demo-client-1 | ➜ Network: http://172.18.0.14:4173/ mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.220+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":220683,"thread":"1:0x7f5f15ee2c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 43 through 44"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.254+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":254261,"thread":"1:0x7f5f15ee2c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 44 through 44"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.330+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":330823,"thread":"1:0x7f5f15ee2c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Main recovery loop: starting at 43/24192 to 44/256"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.397+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":397955,"thread":"1:0x7f5f15ee2c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 43 through 44"}}} mongo-rs-init-1 exited with code 0 mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.445+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":445754,"thread":"1:0x7f5f15ee2c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Recovering log 44 through 44"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.483+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":483744,"thread":"1:0x7f5f15ee2c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery log replay has successfully finished and ran for 263 milliseconds"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.483+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":483847,"thread":"1:0x7f5f15ee2c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global recovery timestamp: (1722603652, 1)"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.483+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":483867,"thread":"1:0x7f5f15ee2c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"Set global oldest timestamp: (1722603352, 1)"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.485+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":485479,"thread":"1:0x7f5f15ee2c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery rollback to stable has successfully finished and ran for 1 milliseconds"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.491+00:00"},"s":"I", "c":"WTCHKPT", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":490997,"thread":"1:0x7f5f15ee2c80","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (1722603352, 1) , meta checkpoint timestamp: (1722603652, 1) base write gen: 704"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.508+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":508388,"thread":"1:0x7f5f15ee2c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery checkpoint has successfully finished and ran for 22 milliseconds"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.508+00:00"},"s":"I", "c":"WTRECOV", "id":22430, "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603657,"ts_usec":508470,"thread":"1:0x7f5f15ee2c80","session_name":"txn-recover","category":"WT_VERB_RECOVERY_PROGRESS","category_id":30,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"recovery was completed successfully and took 288ms, including 263ms for the log replay, 1ms for the rollback to stable, and 22ms for the checkpoint."}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.510+00:00"},"s":"I", "c":"STORAGE", "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":982}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.510+00:00"},"s":"I", "c":"RECOVERY", "id":23987, "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":1722603652,"i":1}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.510+00:00"},"s":"I", "c":"RECOVERY", "id":5380106, "ctx":"initandlisten","msg":"WiredTiger oldestTimestamp","attr":{"oldestTimestamp":{"$timestamp":{"t":1722603352,"i":1}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.517+00:00"},"s":"I", "c":"STORAGE", "id":7393203, "ctx":"initandlisten","msg":"The size storer reports that the collection contains","attr":{"numRecords":678,"dataSize":185938}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.517+00:00"},"s":"I", "c":"STORAGE", "id":7393212, "ctx":"initandlisten","msg":"Scanning collection to determine where to place markers for truncation","attr":{"namespace":"local.oplog.rs"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.518+00:00"},"s":"I", "c":"STORAGE", "id":22382, "ctx":"initandlisten","msg":"WiredTiger record store oplog processing finished","attr":{"durationMillis":1}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.531+00:00"},"s":"W", "c":"CONTROL", "id":22120, "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.534+00:00"},"s":"I", "c":"NETWORK", "id":4915702, "ctx":"initandlisten","msg":"Updated wire specification","attr":{"oldSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":0,"maxWireVersion":21},"outgoing":{"minWireVersion":6,"maxWireVersion":21},"isInternalClient":true},"newSpec":{"incomingExternalClient":{"minWireVersion":0,"maxWireVersion":21},"incomingInternalClient":{"minWireVersion":21,"maxWireVersion":21},"outgoing":{"minWireVersion":21,"maxWireVersion":21},"isInternalClient":true}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.534+00:00"},"s":"I", "c":"REPL", "id":5853300, "ctx":"initandlisten","msg":"current featureCompatibilityVersion value","attr":{"featureCompatibilityVersion":"7.0","context":"startup"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.534+00:00"},"s":"I", "c":"STORAGE", "id":5071100, "ctx":"initandlisten","msg":"Clearing temp directory"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.551+00:00"},"s":"I", "c":"CONTROL", "id":20536, "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.551+00:00"},"s":"I", "c":"STORAGE", "id":5380103, "ctx":"initandlisten","msg":"Unpin oldest timestamp request","attr":{"service":"_wt_startup","requestedTs":{"$timestamp":{"t":1722603352,"i":1}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.551+00:00"},"s":"I", "c":"FTDC", "id":20625, "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.553+00:00"},"s":"I", "c":"REPL", "id":40440, "ctx":"initandlisten","msg":"Starting the TopologyVersionObserver"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.553+00:00"},"s":"I", "c":"REPL", "id":40445, "ctx":"TopologyVersionObserver","msg":"Started TopologyVersionObserver"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.556+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigStartingUp","oldState":"ConfigPreStart"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.556+00:00"},"s":"I", "c":"REPL", "id":6005300, "ctx":"initandlisten","msg":"Starting up replica set aware services"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.557+00:00"},"s":"I", "c":"REPL", "id":4280500, "ctx":"initandlisten","msg":"Attempting to create internal replication collections"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.557+00:00"},"s":"I", "c":"-", "id":4939300, "ctx":"monitoring-keys-for-HMAC","msg":"Failed to refresh key cache","attr":{"error":"ReadConcernMajorityNotAvailableYet: Read concern majority reads are currently not possible.","nextWakeupMillis":200}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.559+00:00"},"s":"I", "c":"REPL", "id":4280501, "ctx":"initandlisten","msg":"Attempting to load local voted for document"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.559+00:00"},"s":"I", "c":"REPL", "id":4280502, "ctx":"initandlisten","msg":"Searching for local Rollback ID document"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.560+00:00"},"s":"I", "c":"REPL", "id":21529, "ctx":"initandlisten","msg":"Initializing rollback ID","attr":{"rbid":2}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.560+00:00"},"s":"I", "c":"REPL", "id":4280504, "ctx":"initandlisten","msg":"Cleaning up any partially applied oplog batches & reading last op from oplog"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.562+00:00"},"s":"I", "c":"CONTROL", "id":6608200, "ctx":"initandlisten","msg":"Initializing cluster server parameters from disk"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.562+00:00"},"s":"I", "c":"REPL", "id":21544, "ctx":"initandlisten","msg":"Recovering from stable timestamp","attr":{"stableTimestamp":{"$timestamp":{"t":1722603652,"i":1}},"topOfOplog":{"ts":{"$timestamp":{"t":1722603652,"i":1}},"t":43},"appliedThrough":{"ts":{"$timestamp":{"t":0,"i":0}},"t":-1}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.562+00:00"},"s":"I", "c":"REPL", "id":21545, "ctx":"initandlisten","msg":"Starting recovery oplog application at the stable timestamp","attr":{"stableTimestamp":{"$timestamp":{"t":1722603652,"i":1}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.562+00:00"},"s":"I", "c":"REPL", "id":5466604, "ctx":"initandlisten","msg":"Start point for recovery oplog application exists in oplog. No adjustment necessary","attr":{"startPoint":{"$timestamp":{"t":1722603652,"i":1}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.562+00:00"},"s":"I", "c":"REPL", "id":21549, "ctx":"initandlisten","msg":"No oplog entries to apply for recovery. Start point is at the top of the oplog"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.562+00:00"},"s":"I", "c":"REPL", "id":4280505, "ctx":"initandlisten","msg":"Creating any necessary TenantMigrationAccessBlockers for unfinished migrations"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.563+00:00"},"s":"I", "c":"TENANT_M", "id":6531504, "ctx":"initandlisten","msg":"Clearing serverless operation lock registry on shutdown","attr":{"ns":null}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.564+00:00"},"s":"I", "c":"REPL", "id":4280506, "ctx":"initandlisten","msg":"Reconstructing prepared transactions"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.565+00:00"},"s":"I", "c":"REPL", "id":4280507, "ctx":"initandlisten","msg":"Loaded replica set config, scheduled callback to set local config"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.565+00:00"},"s":"I", "c":"REPL", "id":4280508, "ctx":"ReplCoord-0","msg":"Attempting to set local replica set config; validating config for startup"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.565+00:00"},"s":"I", "c":"STORAGE", "id":22262, "ctx":"initandlisten","msg":"Timestamp monitor starting"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"REPL", "id":4280509, "ctx":"ReplCoord-0","msg":"Local configuration validated for startup"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"ReplCoord-0","msg":"Setting new configuration state","attr":{"newState":"ConfigSteady","oldState":"ConfigStartingUp"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"SHARDING", "id":7063400, "ctx":"ReplCoord-0","msg":"Updating implicit default writeConcern majority","attr":{"newImplicitDefaultWCMajority":true}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"REPL", "id":21392, "ctx":"ReplCoord-0","msg":"New replica set config in use","attr":{"config":{"_id":"rs0","version":1,"term":43,"members":[{"_id":0,"host":"mongo:27017","arbiterOnly":false,"buildIndexes":true,"hidden":false,"priority":1,"tags":{},"secondaryDelaySecs":0,"votes":1}],"protocolVersion":1,"writeConcernMajorityJournalDefault":true,"settings":{"chainingAllowed":true,"heartbeatIntervalMillis":2000,"heartbeatTimeoutSecs":10,"electionTimeoutMillis":10000,"catchUpTimeoutMillis":-1,"catchUpTakeoverDelayMillis":30000,"getLastErrorModes":{},"getLastErrorDefaults":{"w":1,"wtimeout":0},"replicaSetId":{"$oid":"66abcb8fc6d290a5f1c53797"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"REPL", "id":21393, "ctx":"ReplCoord-0","msg":"Found self in config","attr":{"hostAndPort":"mongo:27017"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"REPL", "id":21358, "ctx":"ReplCoord-0","msg":"Replica set state transition","attr":{"newState":"STARTUP2","oldState":"STARTUP"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"REPL", "id":21827, "ctx":"ReplCoord-0","msg":"Updating term","attr":{"oldTerm":0,"newTerm":43}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"REPL", "id":21320, "ctx":"ReplCoord-0","msg":"Updated term","attr":{"term":43}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"REPL", "id":21306, "ctx":"ReplCoord-0","msg":"Starting replication storage threads"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"QUERY", "id":7080100, "ctx":"ChangeStreamExpiredPreImagesRemover","msg":"Starting Change Stream Expired Pre-images Remover thread"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"REPL", "id":4280512, "ctx":"ReplCoord-0","msg":"No initial sync required. Attempting to begin steady replication"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"REPL", "id":21358, "ctx":"ReplCoord-0","msg":"Replica set state transition","attr":{"newState":"RECOVERING","oldState":"STARTUP2"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"NETWORK", "id":4603701, "ctx":"LogicalSessionCacheRefresh","msg":"Starting Replica Set Monitor","attr":{"protocol":"streamable","uri":"rs0/mongo:27017"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"-", "id":4333223, "ctx":"LogicalSessionCacheRefresh","msg":"RSM now monitoring replica set","attr":{"replicaSet":"rs0","nReplicaSetMembers":1}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.566+00:00"},"s":"I", "c":"-", "id":4333226, "ctx":"LogicalSessionCacheRefresh","msg":"RSM host was added to the topology","attr":{"replicaSet":"rs0","host":"mongo:27017"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.567+00:00"},"s":"I", "c":"-", "id":4333218, "ctx":"LogicalSessionCacheRefresh","msg":"Rescheduling the next replica set monitoring request","attr":{"replicaSet":"rs0","host":"mongo:27017","delayMillis":0}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.567+00:00"},"s":"I", "c":"CONNPOOL", "id":22576, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Connecting","attr":{"hostAndPort":"mongo:27017"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.567+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.567+00:00"},"s":"I", "c":"NETWORK", "id":23015, "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.567+00:00"},"s":"I", "c":"NETWORK", "id":23016, "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.567+00:00"},"s":"I", "c":"CONTROL", "id":8423403, "ctx":"initandlisten","msg":"mongod startup complete","attr":{"Summary of time elapsed":{"Startup from clean shutdown?":true,"Statistics":{"Transport layer setup":"0 ms","Run initial syncer crash recovery":"0 ms","Create storage engine lock file in the data directory":"0 ms","Get metadata describing storage engine":"0 ms","Validate options in metadata against current startup options":"0 ms","Create storage engine":"1000 ms","Write current PID to file":"2 ms","Initialize FCV before rebuilding indexes":"2 ms","Drop abandoned idents and get back indexes that need to be rebuilt or builds that need to be restarted":"0 ms","Rebuild indexes for collections":"0 ms","Build user and roles graph":"0 ms","Set up the background thread pool responsible for waiting for opTimes to be majority committed":"0 ms","Initialize information needed to make a mongod instance shard aware":"1 ms","Start up cluster time keys manager with a local/direct keys client":"0 ms","Start up the replication coordinator":"9 ms","Create an oplog view for tenant migrations":"0 ms","Start transport layer":"0 ms","_initAndListen total elapsed time":"1040 ms"}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.567+00:00"},"s":"I", "c":"SHARDING", "id":7012500, "ctx":"QueryAnalysisConfigurationsRefresher","msg":"Failed to refresh query analysis configurations, will try again at the next interval","attr":{"error":"PrimarySteppedDown: No primary exists currently"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.567+00:00"},"s":"I", "c":"REPL", "id":21299, "ctx":"ReplCoord-0","msg":"Starting replication fetcher thread"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"REPL", "id":21300, "ctx":"ReplCoord-0","msg":"Starting replication applier thread"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"REPL", "id":21301, "ctx":"ReplCoord-0","msg":"Starting replication reporter thread"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"REPL", "id":21224, "ctx":"OplogApplier-0","msg":"Starting oplog application"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"REPL", "id":4280511, "ctx":"ReplCoord-0","msg":"Set local replica set config"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"REPL", "id":8423402, "ctx":"BackgroundSync","msg":"Failed to select a sync source on the first attempt. Starting second attempt"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn2","msg":"client metadata","attr":{"remote":"172.18.0.15:51312","client":"conn2","negotiatedCompressors":["snappy","zstd","zlib"],"doc":{"driver":{"name":"NetworkInterfaceTL-ReplicaSetMonitor-TaskExecutor","version":"7.0.12"},"os":{"type":"Linux","name":"Ubuntu","architecture":"x86_64","version":"22.04"}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"REPL", "id":21358, "ctx":"OplogApplier-0","msg":"Replica set state transition","attr":{"newState":"SECONDARY","oldState":"RECOVERING"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"ELECTION", "id":4615652, "ctx":"OplogApplier-0","msg":"Starting an election, since we've seen no PRIMARY in election timeout period","attr":{"electionTimeoutPeriodMillis":10000}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"NETWORK", "id":23729, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"ServerPingMonitor is now monitoring host","attr":{"host":"mongo:27017","replicaSet":"rs0"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"ELECTION", "id":21438, "ctx":"OplogApplier-0","msg":"Conducting a dry run election to see if we could be elected","attr":{"currentTerm":43}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn3","msg":"client metadata","attr":{"remote":"172.18.0.15:51326","client":"conn3","negotiatedCompressors":["snappy","zstd","zlib"],"doc":{"driver":{"name":"NetworkInterfaceTL-ReplicaSetMonitor-TaskExecutor","version":"7.0.12"},"os":{"type":"Linux","name":"Ubuntu","architecture":"x86_64","version":"22.04"}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"ELECTION", "id":21444, "ctx":"ReplCoord-0","msg":"Dry election run succeeded, running for election","attr":{"newTerm":44}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rs0","newTopologyDescription":{"id":"47ff227e-7309-4f15-8d6e-e0b3d6c85c46","topologyType":"ReplicaSetNoPrimary","servers":{"mongo:27017":{"address":"mongo:27017","topologyVersion":{"processId":{"$oid":"66acd88855012857c173d7f4"},"counter":2},"roundTripTime":357,"lastWriteDate":{"$date":"2024-08-02T13:00:52.000Z"},"opTime":{"ts":{"$timestamp":{"t":1722603652,"i":1}},"t":43},"type":"RSOther","minWireVersion":21,"maxWireVersion":21,"me":"mongo:27017","setName":"rs0","setVersion":1,"lastUpdateTime":{"$date":"2024-08-02T13:00:57.568Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"mongo:27017"},"arbiters":{},"passives":{}}},"setName":"rs0","compatible":true},"previousTopologyDescription":{"id":"e001f9e2-3047-4e75-9c4a-b77df32a88e7","topologyType":"ReplicaSetNoPrimary","servers":{"mongo:27017":{"address":"mongo:27017","type":"Unknown","minWireVersion":0,"maxWireVersion":0,"lastUpdateTime":{"$date":{"$numberLong":"-9223372036854775808"}},"hosts":{},"arbiters":{},"passives":{}}},"setName":"rs0","compatible":true}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.568+00:00"},"s":"I", "c":"REPL", "id":21827, "ctx":"ReplCoord-0","msg":"Updating term","attr":{"oldTerm":43,"newTerm":44}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.569+00:00"},"s":"I", "c":"ELECTION", "id":6015300, "ctx":"ReplCoord-0","msg":"Storing last vote document in local storage for my election","attr":{"lastVote":{"term":44,"candidateIndex":0}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.569+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rs0","newTopologyDescription":{"id":"2227a27c-6edb-461d-8f0d-95a60a15f2be","topologyType":"ReplicaSetNoPrimary","servers":{"mongo:27017":{"address":"mongo:27017","topologyVersion":{"processId":{"$oid":"66acd88855012857c173d7f4"},"counter":3},"roundTripTime":441,"lastWriteDate":{"$date":"2024-08-02T13:00:52.000Z"},"opTime":{"ts":{"$timestamp":{"t":1722603652,"i":1}},"t":43},"type":"RSSecondary","minWireVersion":21,"maxWireVersion":21,"me":"mongo:27017","setName":"rs0","setVersion":1,"lastUpdateTime":{"$date":"2024-08-02T13:00:57.569Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"mongo:27017"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rs0","compatible":true},"previousTopologyDescription":{"id":"47ff227e-7309-4f15-8d6e-e0b3d6c85c46","topologyType":"ReplicaSetNoPrimary","servers":{"mongo:27017":{"address":"mongo:27017","topologyVersion":{"processId":{"$oid":"66acd88855012857c173d7f4"},"counter":2},"roundTripTime":357,"lastWriteDate":{"$date":"2024-08-02T13:00:52.000Z"},"opTime":{"ts":{"$timestamp":{"t":1722603652,"i":1}},"t":43},"type":"RSOther","minWireVersion":21,"maxWireVersion":21,"me":"mongo:27017","setName":"rs0","setVersion":1,"lastUpdateTime":{"$date":"2024-08-02T13:00:57.568Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"mongo:27017"},"arbiters":{},"passives":{}}},"setName":"rs0","compatible":true}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.569+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn5","msg":"client metadata","attr":{"remote":"172.18.0.15:51328","client":"conn5","negotiatedCompressors":["snappy","zstd","zlib"],"doc":{"driver":{"name":"NetworkInterfaceTL-ReplicaSetMonitor-TaskExecutor","version":"7.0.12"},"os":{"type":"Linux","name":"Ubuntu","architecture":"x86_64","version":"22.04"}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.569+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn3","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":1}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"ELECTION", "id":21450, "ctx":"ReplCoord-0","msg":"Election succeeded, assuming primary role","attr":{"term":44}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":21358, "ctx":"ReplCoord-0","msg":"Replica set state transition","attr":{"newState":"PRIMARY","oldState":"SECONDARY"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":21106, "ctx":"ReplCoord-0","msg":"Resetting sync source to empty","attr":{"previousSyncSource":":27017"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":21359, "ctx":"ReplCoord-0","msg":"Entering primary catch-up mode"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":6015304, "ctx":"ReplCoord-0","msg":"Skipping primary catchup since we are the only node in the replica set."} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":21363, "ctx":"ReplCoord-0","msg":"Exited primary catch-up mode"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":21107, "ctx":"ReplCoord-0","msg":"Stopping replication producer"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":21239, "ctx":"ReplBatcher","msg":"Oplog buffer has been drained","attr":{"term":44}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":21343, "ctx":"RstlKillOpThread","msg":"Starting to kill user operations"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rs0","newTopologyDescription":{"id":"fc0ffe47-81ff-4c66-a1cc-dfdc3c2f8bc6","topologyType":"ReplicaSetNoPrimary","servers":{"mongo:27017":{"address":"mongo:27017","topologyVersion":{"processId":{"$oid":"66acd88855012857c173d7f4"},"counter":4},"roundTripTime":546,"lastWriteDate":{"$date":"2024-08-02T13:00:52.000Z"},"opTime":{"ts":{"$timestamp":{"t":1722603652,"i":1}},"t":43},"type":"RSSecondary","minWireVersion":21,"maxWireVersion":21,"me":"mongo:27017","setName":"rs0","setVersion":1,"electionId":{"$oid":"7fffffff000000000000002c"},"primary":"mongo:27017","lastUpdateTime":{"$date":"2024-08-02T13:00:57.570Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"mongo:27017"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rs0","compatible":true},"previousTopologyDescription":{"id":"906f6224-7e12-406f-b977-a25a5c79f5dc","topologyType":"ReplicaSetNoPrimary","servers":{"mongo:27017":{"address":"mongo:27017","topologyVersion":{"processId":{"$oid":"66acd88855012857c173d7f4"},"counter":3},"roundTripTime":546,"lastWriteDate":{"$date":"2024-08-02T13:00:52.000Z"},"opTime":{"ts":{"$timestamp":{"t":1722603652,"i":1}},"t":43},"type":"RSSecondary","minWireVersion":21,"maxWireVersion":21,"me":"mongo:27017","setName":"rs0","setVersion":1,"lastUpdateTime":{"$date":"2024-08-02T13:00:57.569Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"mongo:27017"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rs0","compatible":true}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":21344, "ctx":"RstlKillOpThread","msg":"Stopped killing user operations"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":21340, "ctx":"RstlKillOpThread","msg":"State transition ops metrics","attr":{"metrics":{"lastStateTransition":"stepUp","userOpsKilled":0,"userOpsRunning":3}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":4508103, "ctx":"OplogApplier-0","msg":"Increment the config term via reconfig"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":6015313, "ctx":"OplogApplier-0","msg":"Replication config state is Steady, starting reconfig"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"OplogApplier-0","msg":"Setting new configuration state","attr":{"newState":"ConfigReconfiguring","oldState":"ConfigSteady"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":6475000, "ctx":"OplogApplier-0","msg":"Was able to quickly find new index in config. Skipping full checks.","attr":{"index":0,"force":false}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":21353, "ctx":"OplogApplier-0","msg":"replSetReconfig config object parses ok","attr":{"numMembers":1}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.570+00:00"},"s":"I", "c":"REPL", "id":51814, "ctx":"OplogApplier-0","msg":"Persisting new config to disk"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.572+00:00"},"s":"I", "c":"REPL", "id":6015315, "ctx":"OplogApplier-0","msg":"Persisted new config to disk"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.572+00:00"},"s":"I", "c":"REPL", "id":6015317, "ctx":"OplogApplier-0","msg":"Setting new configuration state","attr":{"newState":"ConfigSteady","oldState":"ConfigReconfiguring"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.572+00:00"},"s":"I", "c":"REPL", "id":21392, "ctx":"OplogApplier-0","msg":"New replica set config in use","attr":{"config":{"_id":"rs0","version":1,"term":44,"members":[{"_id":0,"host":"mongo:27017","arbiterOnly":false,"buildIndexes":true,"hidden":false,"priority":1,"tags":{},"secondaryDelaySecs":0,"votes":1}],"protocolVersion":1,"writeConcernMajorityJournalDefault":true,"settings":{"chainingAllowed":true,"heartbeatIntervalMillis":2000,"heartbeatTimeoutSecs":10,"electionTimeoutMillis":10000,"catchUpTimeoutMillis":-1,"catchUpTakeoverDelayMillis":30000,"getLastErrorModes":{},"getLastErrorDefaults":{"w":1,"wtimeout":0},"replicaSetId":{"$oid":"66abcb8fc6d290a5f1c53797"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.572+00:00"},"s":"I", "c":"REPL", "id":21393, "ctx":"OplogApplier-0","msg":"Found self in config","attr":{"hostAndPort":"mongo:27017"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.572+00:00"},"s":"I", "c":"REPL", "id":6015310, "ctx":"OplogApplier-0","msg":"Starting to transition to primary."} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.572+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rs0","newTopologyDescription":{"id":"f692eccf-b185-4d8b-8c2c-2b789e386e3d","topologyType":"ReplicaSetNoPrimary","servers":{"mongo:27017":{"address":"mongo:27017","topologyVersion":{"processId":{"$oid":"66acd88855012857c173d7f4"},"counter":5},"roundTripTime":546,"lastWriteDate":{"$date":"2024-08-02T13:00:52.000Z"},"opTime":{"ts":{"$timestamp":{"t":1722603652,"i":1}},"t":43},"type":"RSSecondary","minWireVersion":21,"maxWireVersion":21,"me":"mongo:27017","setName":"rs0","setVersion":1,"electionId":{"$oid":"7fffffff000000000000002c"},"primary":"mongo:27017","lastUpdateTime":{"$date":"2024-08-02T13:00:57.572Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"mongo:27017"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rs0","compatible":true},"previousTopologyDescription":{"id":"aa27acb4-a86f-4cff-8044-34aa4caf0934","topologyType":"ReplicaSetNoPrimary","servers":{"mongo:27017":{"address":"mongo:27017","topologyVersion":{"processId":{"$oid":"66acd88855012857c173d7f4"},"counter":4},"roundTripTime":546,"lastWriteDate":{"$date":"2024-08-02T13:00:52.000Z"},"opTime":{"ts":{"$timestamp":{"t":1722603652,"i":1}},"t":43},"type":"RSSecondary","minWireVersion":21,"maxWireVersion":21,"me":"mongo:27017","setName":"rs0","setVersion":1,"electionId":{"$oid":"7fffffff000000000000002c"},"primary":"mongo:27017","lastUpdateTime":{"$date":"2024-08-02T13:00:57.570Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"mongo:27017"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rs0","compatible":true}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.572+00:00"},"s":"I", "c":"REPL", "id":6015309, "ctx":"OplogApplier-0","msg":"Logging transition to primary to oplog on stepup"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.572+00:00"},"s":"I", "c":"STORAGE", "id":20657, "ctx":"OplogApplier-0","msg":"IndexBuildsCoordinator::onStepUp - this node is stepping up to primary"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.572+00:00"},"s":"I", "c":"STORAGE", "id":7508300, "ctx":"IndexBuildsCoordinator-StepUp","msg":"Finished performing asynchronous step-up checks on index builds"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.573+00:00"},"s":"I", "c":"REPL", "id":21331, "ctx":"OplogApplier-0","msg":"Transition to primary complete; database writes are now permitted","attr":{"term":44}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.573+00:00"},"s":"I", "c":"NETWORK", "id":4333213, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"RSM Topology Change","attr":{"replicaSet":"rs0","newTopologyDescription":{"id":"26f6dbfb-8780-428f-9c4d-22c1ed29c450","topologyType":"ReplicaSetWithPrimary","servers":{"mongo:27017":{"address":"mongo:27017","topologyVersion":{"processId":{"$oid":"66acd88855012857c173d7f4"},"counter":6},"roundTripTime":546,"lastWriteDate":{"$date":"2024-08-02T13:00:57.000Z"},"opTime":{"ts":{"$timestamp":{"t":1722603657,"i":2}},"t":44},"type":"RSPrimary","minWireVersion":21,"maxWireVersion":21,"me":"mongo:27017","setName":"rs0","setVersion":1,"electionId":{"$oid":"7fffffff000000000000002c"},"primary":"mongo:27017","lastUpdateTime":{"$date":"2024-08-02T13:00:57.573Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"mongo:27017"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rs0","compatible":true,"maxElectionIdSetVersion":{"electionId":{"$oid":"7fffffff000000000000002c"},"setVersion":1}},"previousTopologyDescription":{"id":"a160cae4-8dcb-4dfd-b140-934dcc6acf36","topologyType":"ReplicaSetNoPrimary","servers":{"mongo:27017":{"address":"mongo:27017","topologyVersion":{"processId":{"$oid":"66acd88855012857c173d7f4"},"counter":5},"roundTripTime":546,"lastWriteDate":{"$date":"2024-08-02T13:00:52.000Z"},"opTime":{"ts":{"$timestamp":{"t":1722603652,"i":1}},"t":43},"type":"RSSecondary","minWireVersion":21,"maxWireVersion":21,"me":"mongo:27017","setName":"rs0","setVersion":1,"electionId":{"$oid":"7fffffff000000000000002c"},"primary":"mongo:27017","lastUpdateTime":{"$date":"2024-08-02T13:00:57.572Z"},"logicalSessionTimeoutMinutes":30,"hosts":{"0":"mongo:27017"},"arbiters":{},"passives":{}}},"logicalSessionTimeoutMinutes":30,"setName":"rs0","compatible":true}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.573+00:00"},"s":"I", "c":"NETWORK", "id":6006301, "ctx":"ReplicaSetMonitor-TaskExecutor","msg":"Replica set primary server change detected","attr":{"replicaSet":"rs0","topologyType":"ReplicaSetWithPrimary","primary":"mongo:27017","durationMillis":6}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.574+00:00"},"s":"I", "c":"-", "id":4939300, "ctx":"monitoring-keys-for-HMAC","msg":"Failed to refresh key cache","attr":{"error":"ReadConcernMajorityNotAvailableYet: Read concern majority reads are currently not possible.","nextWakeupMillis":400}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.574+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn9","msg":"client metadata","attr":{"remote":"172.18.0.15:51340","client":"conn9","negotiatedCompressors":["snappy","zstd","zlib"],"doc":{"driver":{"name":"MongoDB Internal Client","version":"7.0.12"},"os":{"type":"Linux","name":"Ubuntu","architecture":"x86_64","version":"22.04"}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.574+00:00"},"s":"I", "c":"NETWORK", "id":20113, "ctx":"LogicalSessionCacheReap","msg":"Successfully connected to host","attr":{"connString":"mongo:27017","numOpenConns":1,"socketTimeoutSecs":0}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.574+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn10","msg":"client metadata","attr":{"remote":"172.18.0.15:51338","client":"conn10","negotiatedCompressors":["snappy","zstd","zlib"],"doc":{"driver":{"name":"MongoDB Internal Client","version":"7.0.12"},"os":{"type":"Linux","name":"Ubuntu","architecture":"x86_64","version":"22.04"}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.575+00:00"},"s":"I", "c":"NETWORK", "id":20113, "ctx":"LogicalSessionCacheRefresh","msg":"Successfully connected to host","attr":{"connString":"mongo:27017","numOpenConns":2,"socketTimeoutSecs":0}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.575+00:00"},"s":"I", "c":"REPL", "id":6795400, "ctx":"JournalFlusher","msg":"Advancing committed opTime to a new term","attr":{"newCommittedOpTime":{"ts":{"$timestamp":{"t":1722603657,"i":2}},"t":44},"newCommittedWallime":{"$date":"2024-08-02T13:00:57.572Z"},"oldTerm":-1}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.576+00:00"},"s":"I", "c":"REPL", "id":5123005, "ctx":"TenantMigrationRecipientService-0","msg":"Rebuilding PrimaryOnlyService due to stepUp","attr":{"service":"TenantMigrationRecipientService"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.576+00:00"},"s":"I", "c":"REPL", "id":5123005, "ctx":"TenantMigrationDonorService-0","msg":"Rebuilding PrimaryOnlyService due to stepUp","attr":{"service":"TenantMigrationDonorService"}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.664+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn11","msg":"client metadata","attr":{"remote":"172.18.0.16:51268","client":"conn11","negotiatedCompressors":[],"doc":{"application":{"name":"mongosh 2.2.10"},"driver":{"name":"nodejs|mongosh","version":"6.7.0|2.2.10"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"3.10.0-327.22.2.el7.x86_64","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.750+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn12","msg":"client metadata","attr":{"remote":"172.18.0.16:51270","client":"conn12","negotiatedCompressors":[],"doc":{"application":{"name":"mongosh 2.2.10"},"driver":{"name":"nodejs|mongosh","version":"6.7.0|2.2.10"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"3.10.0-327.22.2.el7.x86_64","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.750+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn13","msg":"client metadata","attr":{"remote":"172.18.0.16:51286","client":"conn13","negotiatedCompressors":[],"doc":{"application":{"name":"mongosh 2.2.10"},"driver":{"name":"nodejs|mongosh","version":"6.7.0|2.2.10"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"3.10.0-327.22.2.el7.x86_64","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.755+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn12","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":5}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.756+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn13","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":5}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.759+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn14","msg":"client metadata","attr":{"remote":"172.18.0.16:51300","client":"conn14","negotiatedCompressors":[],"doc":{"application":{"name":"mongosh 2.2.10"},"driver":{"name":"nodejs|mongosh","version":"6.7.0|2.2.10"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"3.10.0-327.22.2.el7.x86_64","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.760+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn15","msg":"client metadata","attr":{"remote":"172.18.0.16:51302","client":"conn15","negotiatedCompressors":[],"doc":{"application":{"name":"mongosh 2.2.10"},"driver":{"name":"nodejs|mongosh","version":"6.7.0|2.2.10"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"3.10.0-327.22.2.el7.x86_64","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.761+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn14","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":1}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:57.762+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn15","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":1}} mongo-rs-init-1 exited with code 0 powersync-1 | {"level":"info","message":"Booting","timestamp":"2024-08-02T13:00:59.864Z"} powersync-1 | {"level":"info","message":"Collecting PowerSync configuration from File: /config/powersync.yaml","timestamp":"2024-08-02T13:00:59.865Z"} powersync-1 | {"level":"info","message":"Starting system","timestamp":"2024-08-02T13:00:59.901Z"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:59.915+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn16","msg":"client metadata","attr":{"remote":"172.18.0.16:51304","client":"conn16","negotiatedCompressors":[],"doc":{"driver":{"name":"nodejs","version":"6.7.0"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"6.9.7","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:59.923+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn17","msg":"client metadata","attr":{"remote":"172.18.0.16:51314","client":"conn17","negotiatedCompressors":[],"doc":{"driver":{"name":"nodejs","version":"6.7.0"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"6.9.7","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:59.925+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn17","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":2}} powersync-1 | {"level":"info","message":"Configuring telemetry.","timestamp":"2024-08-02T13:00:59.930Z"} powersync-1 | {"level":"info","message":"Attention:\nPowerSync collects completely anonymous telemetry regarding usage.\nThis information is used to shape our roadmap to better serve our customers.\nYou can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:\nhttps://docs.powersync.com/self-hosting/telemetry\nAnonymous telemetry is currently: enabled","timestamp":"2024-08-02T13:00:59.930Z"} powersync-1 | {"level":"info","message":"Sharing anonymous telemetry","timestamp":"2024-08-02T13:00:59.931Z"} powersync-1 | {"level":"info","message":"Telemetry configuration complete.","timestamp":"2024-08-02T13:00:59.934Z"} powersync-1 | {"level":"info","message":"System started","timestamp":"2024-08-02T13:00:59.935Z"} powersync-1 | {"level":"info","message":"Running on port 8080","timestamp":"2024-08-02T13:00:59.959Z"} powersync-1 | {"level":"info","message":"Booting","timestamp":"2024-08-02T13:00:59.960Z"} powersync-1 | {"level":"info","message":"Collecting PowerSync configuration from File: /config/powersync.yaml","timestamp":"2024-08-02T13:00:59.960Z"} powersync-1 | {"level":"info","message":"Collecting PowerSync configuration from File: /config/powersync.yaml","timestamp":"2024-08-02T13:00:59.964Z"} powersync-1 | {"level":"info","message":"Connecting to MongoDB","timestamp":"2024-08-02T13:00:59.968Z"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:59.970+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn18","msg":"client metadata","attr":{"remote":"172.18.0.16:51316","client":"conn18","negotiatedCompressors":[],"doc":{"driver":{"name":"nodejs","version":"6.7.0"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"6.9.7","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} powersync-1 | {"level":"info","message":"Acquiring lock","timestamp":"2024-08-02T13:00:59.971Z"} mongo-1 | {"t":{"$date":"2024-08-02T13:00:59.974+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn19","msg":"client metadata","attr":{"remote":"172.18.0.16:51320","client":"conn19","negotiatedCompressors":[],"doc":{"driver":{"name":"nodejs","version":"6.7.0"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"6.9.7","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:00:59.975+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn19","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":1}} powersync-1 | {"level":"info","message":"Loading migrations","timestamp":"2024-08-02T13:00:59.987Z"} powersync-1 | {"level":"info","message":"Running migrations","timestamp":"2024-08-02T13:00:59.996Z"} powersync-1 | {"level":"info","message":"Releasing lock","timestamp":"2024-08-02T13:00:59.997Z"} powersync-1 | {"level":"info","message":"Closing database","timestamp":"2024-08-02T13:01:00.000Z"} powersync-1 | {"level":"info","message":"Done with migrations","timestamp":"2024-08-02T13:01:00.003Z"} powersync-1 | {"level":"info","message":"Starting system","timestamp":"2024-08-02T13:01:00.005Z"} mongo-1 | {"t":{"$date":"2024-08-02T13:01:00.007+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn20","msg":"client metadata","attr":{"remote":"172.18.0.16:51334","client":"conn20","negotiatedCompressors":[],"doc":{"driver":{"name":"nodejs","version":"6.7.0"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"6.9.7","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:01:00.010+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn21","msg":"client metadata","attr":{"remote":"172.18.0.16:51342","client":"conn21","negotiatedCompressors":[],"doc":{"driver":{"name":"nodejs","version":"6.7.0"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"6.9.7","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:01:00.011+00:00"},"s":"I", "c":"NETWORK", "id":6788700, "ctx":"conn21","msg":"Received first command on ingress connection since session start or auth handshake","attr":{"elapsedMillis":1}} powersync-1 | {"level":"info","message":"System started","timestamp":"2024-08-02T13:01:00.012Z"} powersync-1 | {"level":"info","message":"Loading sync rules from configuration","timestamp":"2024-08-02T13:01:00.013Z"} powersync-1 | {"level":"info","message":"Sync rules from configuration unchanged","timestamp":"2024-08-02T13:01:00.019Z"} powersync-1 | {"level":"info","message":"powersync_1_58c1 Initial replication already done","timestamp":"2024-08-02T13:01:00.102Z"} powersync-1 | {"level":"info","message":"Slot powersync_1_58c1 appears healthy","timestamp":"2024-08-02T13:01:00.189Z"} mongo-1 | {"t":{"$date":"2024-08-02T13:01:10.425+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn22","msg":"client metadata","attr":{"remote":"172.18.0.16:41694","client":"conn22","negotiatedCompressors":[],"doc":{"driver":{"name":"nodejs","version":"6.7.0"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"6.9.7","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} mongo-1 | {"t":{"$date":"2024-08-02T13:01:10.511+00:00"},"s":"I", "c":"NETWORK", "id":51800, "ctx":"conn23","msg":"client metadata","attr":{"remote":"172.18.0.16:41702","client":"conn23","negotiatedCompressors":[],"doc":{"driver":{"name":"nodejs","version":"6.7.0"},"platform":"Node.js v20.12.2, LE","os":{"name":"linux","architecture":"x64","version":"6.9.7","type":"Linux"},"env":{"container":{"runtime":"docker"}}}}} powersync-1 | {"level":"info","message":"powersync_1_58c1 replicating op 0 00000000/01EFFBB8","timestamp":"2024-08-02T13:01:31.096Z"} mongo-1 | {"t":{"$date":"2024-08-02T13:01:57.537+00:00"},"s":"I", "c":"WTCHKPT", "id":22430, "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603717,"ts_usec":537034,"thread":"1:0x7f5f0a000640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 47, snapshot max: 47 snapshot count: 0, oldest timestamp: (1722603411, 2) , meta checkpoint timestamp: (1722603711, 2) base write gen: 704"}}} mongo-1 | {"t":{"$date":"2024-08-02T13:02:57.591+00:00"},"s":"I", "c":"WTCHKPT", "id":22430, "ctx":"Checkpointer","msg":"WiredTiger message","attr":{"message":{"ts_sec":1722603777,"ts_usec":591099,"thread":"1:0x7f5f0a000640","session_name":"WT_SESSION.checkpoint","category":"WT_VERB_CHECKPOINT_PROGRESS","category_id":6,"verbose_level":"DEBUG_1","verbose_level_id":1,"msg":"saving checkpoint snapshot min: 79, snapshot max: 79 snapshot count: 0, oldest timestamp: (1722603472, 3) , meta checkpoint timestamp: (1722603772, 3) base write gen: 704"}}} ```
stevensJourney commented 1 month ago

The supabaseKey is required error is probably due to the SUPBABASE_ANON_KEY environment variable not being available when the demo-client service container was built. This environment variable is used as a build argument which is embedded into the Vite front-end at build time.

Could you try docker compose up --build with the environment variable set?

It is normal for the mongo-rs-init service to fail if the mongo service has not started yet. The rs-init service should restart until it succeeds due to the restart: on-failure setting. I'm not sure why it has printed exited with code 0 since I can see in the attached log above that it did retry later without an error.

kobiebotha commented 2 weeks ago

@mcmah309 were you able to retry booting the stack after setting the SUPBABASE_ANON_KEY env var?

kobiebotha commented 2 weeks ago

Closing due to inactivity