Skip to content

Instantly share code, notes, and snippets.

@takurx
Created October 16, 2023 22:26
Show Gist options
  • Save takurx/316e0409efdfab6be9eda63a11db8a51 to your computer and use it in GitHub Desktop.
Save takurx/316e0409efdfab6be9eda63a11db8a51 to your computer and use it in GitHub Desktop.
log orion-ld docker

Log

chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/context.Orion-LD/docker$ sudo docker-compose up
[sudo] password for chino: 
Sorry, try again.
[sudo] password for chino: 
sudo: docker-compose: command not found
chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/context.Orion-LD/docker$ docker-compose

Command 'docker-compose' not found, but can be installed with:

sudo snap install docker          # version 20.10.24, or
sudo snap install docker          # version 20.10.24
sudo apt  install docker-compose  # version 1.25.0-1

See 'snap info <snapname>' for additional versions.

chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/context.Orion-LD/docker$ sudo docker compose up
validating /home/chino/LoRaWorks_230822/context.Orion-LD/docker/docker-compose.yml: (root) Additional property mongo is not allowed
chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/context.Orion-LD/docker$ docker compose version
Docker Compose version v2.21.0
chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/context.Orion-LD/docker$ sudo docker compose up
[+] Running 10/10
 ✔ mongo 9 layers [⣿⣿⣿⣿⣿⣿⣿⣿⣿]      0B/0B      Pulled                                                                                      20.6s 
   ✔ 7a2c55901189 Pull complete                                                                                                            4.3s 
   ✔ b57cf58c4ffe Pull complete                                                                                                            0.6s 
   ✔ 5bb145f2aa46 Pull complete                                                                                                            2.2s 
   ✔ 93f83d52d64e Pull complete                                                                                                            2.0s 
   ✔ 5e012812179b Pull complete                                                                                                            5.0s 
   ✔ a6343ab9f99f Pull complete                                                                                                            2.9s 
   ✔ db691c26a2f1 Pull complete                                                                                                            3.3s 
   ✔ 5309bfc44820 Pull complete                                                                                                           16.0s 
   ✔ 6fb4bc4192f3 Pull complete                                                                                                            5.1s 
[+] Running 3/2
 ✔ Network docker_default    Created                                                                                                       0.0s 
 ✔ Container docker-mongo-1  Created                                                                                                       0.1s 
 ✔ Container docker-orion-1  Created                                                                                                       0.0s 
Attaching to docker-mongo-1, docker-orion-1
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:33.822+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'"}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:33.824+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."}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:33.824+00:00"},"s":"I",  "c":"STORAGE",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/data/db","architecture":"64-bit","host":"12f733d7d53b"}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:33.824+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.25","gitVersion":"3e18c4c56048ddf22a6872edc111b542521ad1d5","openSSLVersion":"OpenSSL 1.1.1f  31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"x86_64","target_arch":"x86_64"}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:33.824+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:33.824+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"},"storage":{"journal":{"enabled":false}}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:33.824+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"]}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:33.824+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=7344M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],,log=(enabled=false),"}}
docker-orion-1  | time=Monday 16 Oct 22:05:34 2023.038Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[799]:versionInfo | msg=Version Info:
docker-orion-1  | time=Monday 16 Oct 22:05:34 2023.038Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[800]:versionInfo | msg=-----------------------------------------
docker-orion-1  | time=Monday 16 Oct 22:05:34 2023.038Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[801]:versionInfo | msg=orionld version:    post-v1.4.0
docker-orion-1  | time=Monday 16 Oct 22:05:34 2023.038Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[802]:versionInfo | msg=based on orion:     1.15.0-next
docker-orion-1  | time=Monday 16 Oct 22:05:34 2023.038Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[803]:versionInfo | msg=core @context:      https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.6.jsonld
docker-orion-1  | time=Monday 16 Oct 22:05:34 2023.038Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[804]:versionInfo | msg=git hash:           nogitversion
docker-orion-1  | time=Monday 16 Oct 22:05:34 2023.038Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[805]:versionInfo | msg=build branch:       
docker-orion-1  | time=Monday 16 Oct 22:05:34 2023.038Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[806]:versionInfo | msg=compiled by:        root
docker-orion-1  | time=Monday 16 Oct 22:05:34 2023.038Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[807]:versionInfo | msg=compiled in:        
docker-orion-1  | time=Monday 16 Oct 22:05:34 2023.038Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[808]:versionInfo | msg=-----------------------------------------
docker-orion-1  | time=Monday 16 Oct 22:05:34 2023.049Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=mongocInit.cpp[299]:mongocInit | msg=Connecting to mongo for the C driver
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.290+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1697493934:290807][1:0x7f56f662bcc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.290+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1697493934:290833][1:0x7f56f662bcc0], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (0, 0)"}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.296+00:00"},"s":"I",  "c":"STORAGE",  "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":472}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.296+00:00"},"s":"I",  "c":"RECOVERY", "id":23987,   "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.303+00:00"},"s":"I",  "c":"STORAGE",  "id":22262,   "ctx":"initandlisten","msg":"Timestamp monitor starting"}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.306+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"]}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.306+00:00"},"s":"I",  "c":"STORAGE",  "id":20320,   "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"admin.system.version","uuidDisposition":"provided","uuid":{"uuid":{"$uuid":"e2a79d56-34d8-49e3-a98d-6fb0da56210c"}},"options":{"uuid":{"$uuid":"e2a79d56-34d8-49e3-a98d-6fb0da56210c"}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.313+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"admin.system.version","index":"_id_","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.313+00:00"},"s":"I",  "c":"COMMAND",  "id":20459,   "ctx":"initandlisten","msg":"Setting featureCompatibilityVersion","attr":{"newVersion":"4.4"}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.313+00:00"},"s":"I",  "c":"STORAGE",  "id":20536,   "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.314+00:00"},"s":"I",  "c":"STORAGE",  "id":20320,   "ctx":"initandlisten","msg":"createCollection","attr":{"namespace":"local.startup_log","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"070a195a-057b-4376-a036-3ce9b629af9c"}},"options":{"capped":true,"size":10485760}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.321+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"initandlisten","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"local.startup_log","index":"_id_","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.321+00:00"},"s":"I",  "c":"FTDC",     "id":20625,   "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/data/db/diagnostic.data"}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.321+00:00"},"s":"I",  "c":"REPL",     "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.322+00:00"},"s":"I",  "c":"CONTROL",  "id":20712,   "ctx":"LogicalSessionCacheReap","msg":"Sessions collection is not set up; waiting until next sessions reap interval","attr":{"error":"NamespaceNotFound: config.system.sessions does not exist"}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.322+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27017.sock"}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.322+00:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.322+00:00"},"s":"I",  "c":"NETWORK",  "id":23016,   "ctx":"listener","msg":"Waiting for connections","attr":{"port":27017,"ssl":"off"}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.322+00:00"},"s":"I",  "c":"STORAGE",  "id":20320,   "ctx":"LogicalSessionCacheRefresh","msg":"createCollection","attr":{"namespace":"config.system.sessions","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"0a2cf8a7-b126-43a6-b0b4-28db9fd0554f"}},"options":{}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.334+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"_id_","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.335+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"LogicalSessionCacheRefresh","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"config.system.sessions","index":"lsidTTLIndex","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.552+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46592","connectionId":1,"connectionCount":1}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.552+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn1","msg":"client metadata","attr":{"remote":"172.18.0.3:46592","client":"conn1","doc":{"driver":{"name":"mongoc","version":"1.22.0"},"os":{"type":"Linux","name":"Red Hat Enterprise Linux","version":"8.6","architecture":"x86_64"},"platform":"cfg=0x02a156a0e9 posix=200809 stdc=201710 CC=GCC 8.5.0 20210514 (Red Hat 8.5.0-10) CFLAGS=\"\" LDFLAGS=\"\""}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.554+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46602","connectionId":2,"connectionCount":2}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.554+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46614","connectionId":3,"connectionCount":3}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.555+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn2","msg":"client metadata","attr":{"remote":"172.18.0.3:46602","client":"conn2","doc":{"driver":{"name":"mongoc","version":"1.22.0"},"os":{"type":"Linux","name":"Red Hat Enterprise Linux","version":"8.6","architecture":"x86_64"},"platform":"cfg=0x02a156a0e9 posix=200809 stdc=201710 CC=GCC 8.5.0 20210514 (Red Hat 8.5.0-10) CFLAGS=\"\" LDFLAGS=\"\""}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.555+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn3","msg":"client metadata","attr":{"remote":"172.18.0.3:46614","client":"conn3","doc":{"driver":{"name":"mongoc","version":"1.22.0"},"os":{"type":"Linux","name":"Red Hat Enterprise Linux","version":"8.6","architecture":"x86_64"},"platform":"cfg=0x02a156a0e9 posix=200809 stdc=201710 CC=GCC 8.5.0 20210514 (Red Hat 8.5.0-10) CFLAGS=\"\" LDFLAGS=\"\""}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.557+00:00"},"s":"I",  "c":"STORAGE",  "id":20320,   "ctx":"conn2","msg":"createCollection","attr":{"namespace":"orion.entities","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"c36e28ee-dc83-418f-b2ed-2f63791edbb7"}},"options":{}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.578+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"orion.entities","index":"_id_","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:34.578+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"orion.entities","index":"_id.id_1","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.794+00:00"},"s":"I",  "c":"STORAGE",  "id":20320,   "ctx":"conn2","msg":"createCollection","attr":{"namespace":"orionld.contexts","uuidDisposition":"generated","uuid":{"uuid":{"$uuid":"cd25a4dd-1e0b-4ca8-9442-1e1eea316f75"}},"options":{}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.809+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"conn2","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"orionld.contexts","index":"_id_","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
docker-orion-1  | time=Monday 16 Oct 22:05:36 2023.811Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=mongoConnectionPool.cpp[313]:mongoConnectionPoolInit | msg=Connecting to mongo for the C++ legacy driver
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.811+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46630","connectionId":4,"connectionCount":4}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.815+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46642","connectionId":5,"connectionCount":5}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.817+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46654","connectionId":6,"connectionCount":6}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.818+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46662","connectionId":7,"connectionCount":7}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.820+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46670","connectionId":8,"connectionCount":8}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.822+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46686","connectionId":9,"connectionCount":9}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.823+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46698","connectionId":10,"connectionCount":10}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.824+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46708","connectionId":11,"connectionCount":11}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.825+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46722","connectionId":12,"connectionCount":12}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.826+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"172.18.0.3:46726","connectionId":13,"connectionCount":13}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.828+00:00"},"s":"I",  "c":"INDEX",    "id":20438,   "ctx":"conn4","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"77bf3fb0-67e3-44c1-b2fa-b101cb0d1a2b"}},"namespace":"orion.entities","collectionUUID":{"uuid":{"$uuid":"c36e28ee-dc83-418f-b2ed-2f63791edbb7"}},"indexes":1,"firstIndex":{"name":"location.coords_2dsphere"}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.834+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"orion.entities","index":"location.coords_2dsphere","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.834+00:00"},"s":"I",  "c":"INDEX",    "id":20440,   "ctx":"conn4","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"77bf3fb0-67e3-44c1-b2fa-b101cb0d1a2b"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.834+00:00"},"s":"I",  "c":"INDEX",    "id":20447,   "ctx":"conn4","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"77bf3fb0-67e3-44c1-b2fa-b101cb0d1a2b"}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.835+00:00"},"s":"I",  "c":"INDEX",    "id":20438,   "ctx":"conn4","msg":"Index build: registering","attr":{"buildUUID":{"uuid":{"$uuid":"f23aa2da-a898-4867-bf27-e37859927a34"}},"namespace":"orion.entities","collectionUUID":{"uuid":{"$uuid":"c36e28ee-dc83-418f-b2ed-2f63791edbb7"}},"indexes":1,"firstIndex":{"name":"expDate_1"}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.842+00:00"},"s":"I",  "c":"INDEX",    "id":20345,   "ctx":"conn4","msg":"Index build: done building","attr":{"buildUUID":null,"namespace":"orion.entities","index":"expDate_1","commitTimestamp":{"$timestamp":{"t":0,"i":0}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.842+00:00"},"s":"I",  "c":"INDEX",    "id":20440,   "ctx":"conn4","msg":"Index build: waiting for index build to complete","attr":{"buildUUID":{"uuid":{"$uuid":"f23aa2da-a898-4867-bf27-e37859927a34"}},"deadline":{"$date":{"$numberLong":"9223372036854775807"}}}}
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:05:36.842+00:00"},"s":"I",  "c":"INDEX",    "id":20447,   "ctx":"conn4","msg":"Index build: completed","attr":{"buildUUID":{"uuid":{"$uuid":"f23aa2da-a898-4867-bf27-e37859927a34"}}}}
docker-orion-1  | time=Monday 16 Oct 22:05:36 2023.845Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1332]:main | msg=Initialization is Done
docker-orion-1  | time=Monday 16 Oct 22:05:36 2023.845Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1333]:main | msg=  Accepting REST requests on port 1026 (experimental API endpoints are disabled)
docker-orion-1  | time=Monday 16 Oct 22:05:36 2023.845Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1334]:main | msg=  TRoE:                    Disabled
docker-orion-1  | time=Monday 16 Oct 22:05:36 2023.845Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1335]:main | msg=  Distributed Operation:   Disabled
docker-orion-1  | time=Monday 16 Oct 22:05:36 2023.845Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1336]:main | msg=  Health Check:            Disabled
docker-orion-1  | time=Monday 16 Oct 22:05:36 2023.845Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1341]:main | msg=  Mongo Server Version:    4.4.25
docker-orion-1  | time=Monday 16 Oct 22:05:36 2023.845Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=orionld.cpp[1354]:main | msg=  Mongo Driver:            Legacy C++ Driver (deprecated by mongodb)
docker-mongo-1  | {"t":{"$date":"2023-10-16T22:06:34.307+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"WTCheckpointThread","msg":"WiredTiger message","attr":{"message":"[1697493994:307345][1:0x7f56f0e1f700], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 60, snapshot max: 60 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 1"}}
docker-orion-1  | time=Monday 16 Oct 22:06:41 2023.058Z | lvl=TMP | corr=N/A | trans=N/A | from=N/A | srv=N/A | subsrv=N/A | comp=Orion | op=rest.cpp[1342]:connectionTreat | msg=------------------------- Servicing NGSIv2 request 001: GET /version --------------------------
^CGracefully stopping... (press Ctrl+C again to force)
Aborting on container exit...
[+] Stopping 2/2
 ✔ Container docker-orion-1  Stopped                                                                                                                                                                                                                          0.3s 
 ✔ Container docker-mongo-1  Stopped                                                                                                                                                                                                                          0.3s 
canceled
chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/context.Orion-LD/docker$ 

docker-compose.yml

version: '3'
services:
  mongo:
    image: mongo:4.4
    command: --nojournal
  
  orion:
    image: fiware/orion-ld
    links:
      - mongo
    ports:
      - "1026:1026"
    command: -dbhost mongo

reqest

chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/context.Orion-LD/docker$ curl localhost:1026/version
{
  "orionld version": "post-v1.4.0",
  "orion version":   "1.15.0-next",
  "uptime":          "0 d, 0 h, 1 m, 7 s",
  "git_hash":        "nogitversion",
  "compile_time":    "Sun Sep 17 20:09:18 UTC 2023",
  "compiled_by":     "root",
  "compiled_in":     "",
  "release_date":    "Sun Sep 17 20:09:18 UTC 2023",
  "doc":             "https://fiware-orion.readthedocs.org/en/master/"
}
chino@chino-Legion-5-15IAH7H:~/LoRaWorks_230822/context.Orion-LD/docker$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment