Mender Server 2.5.x mender-mongo_1 not starting

Hi,

I’ve just gone through the Mender Server setup on my Ubuntu 18.06 PC but I get the following error in the mender-mongo service

mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:24.453+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'"}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:24.456+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:24.457+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."}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:24.457+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":"54034811245f"}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:24.457+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.1","gitVersion":"ad91a93a5a31e175f5cbf8c69561e788bbc55ce1","openSSLVersion":"OpenSSL 1.1.1  11 Sep 2018","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu1804","distarch":"x86_64","target_arch":"x86_64"}}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:24.457+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"18.04"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:24.457+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"net":{"bindIp":"*"}}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:24.459+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"}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:24.459+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"]}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:24.459+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=7452M,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],"}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.348+00:00"},"s":"F",  "c":"STORAGE",  "id":4671205, "ctx":"initandlisten","msg":"This version of MongoDB is too recent to start up on the existing data files. Try MongoDB 4.2 or earlier."}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.348+00:00"},"s":"F",  "c":"-",        "id":23089,   "ctx":"initandlisten","msg":"Fatal assertion","attr":{"msgid":4671205,"file":"src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp","line":1066}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.348+00:00"},"s":"F",  "c":"-",        "id":23090,   "ctx":"initandlisten","msg":"\n\n***aborting after fassert() failure\n\n"}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.348+00:00"},"s":"F",  "c":"CONTROL",  "id":4757800, "ctx":"initandlisten","msg":"Writing fatal message","attr":{"message":"Got signal: 6 (Aborted).\n"}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31431,   "ctx":"initandlisten","msg":"BACKTRACE: {bt}","attr":{"bt":{"backtrace":[{"a":"5611AF7689F1","b":"5611ACAA0000","o":"2CC89F1","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE.constprop.606","s+":"1E1"},{"a":"5611AF76A029","b":"5611ACAA0000","o":"2CCA029","s":"_ZN5mongo15printStackTraceEv","s+":"29"},{"a":"5611AF767886","b":"5611ACAA0000","o":"2CC7886","s":"_ZN5mongo12_GLOBAL__N_116abruptQuitActionEiP9siginfo_tPv","s+":"66"},{"a":"7F6F2BED88A0","b":"7F6F2BEC6000","o":"128A0","s":"funlockfile","s+":"50"},{"a":"7F6F2BB13F47","b":"7F6F2BAD5000","o":"3EF47","s":"gsignal","s+":"C7"},{"a":"7F6F2BB158B1","b":"7F6F2BAD5000","o":"408B1","s":"abort","s+":"141"},{"a":"5611AD9A8BDA","b":"5611ACAA0000","o":"F08BDA","s":"_ZN5mongo25fassertFailedWithLocationEiPKcj","s+":"12B"},{"a":"5611AD68EF6D","b":"5611ACAA0000","o":"BEEF6D","s":"_ZN5mongo18WiredTigerKVEngine15_openWiredTigerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_.cold.1924","s+":"1C7"},{"a":"5611ADAADA8A","b":"5611ACAA0000","o":"100DA8A","s":"_ZN5mongo18WiredTigerKVEngineC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_11ClockSourceES8_mmbbbb","s+":"12DA"},{"a":"5611ADA8B9B0","b":"5611ACAA0000","o":"FEB9B0","s":"_ZNK5mongo12_GLOBAL__N_117WiredTigerFactory6createERKNS_19StorageGlobalParamsEPKNS_21StorageEngineLockFileE","s+":"120"},{"a":"5611AE35183E","b":"5611ACAA0000","o":"18B183E","s":"_ZN5mongo23initializeStorageEngineEPNS_14ServiceContextENS_22StorageEngineInitFlagsE","s+":"4AE"},{"a":"5611ADA461E7","b":"5611ACAA0000","o":"FA61E7","s":"_ZN5mongo12_GLOBAL__N_114_initAndListenEPNS_14ServiceContextEi.isra.1569","s+":"3F7"},{"a":"5611ADA4A280","b":"5611ACAA0000","o":"FAA280","s":"_ZN5mongo12_GLOBAL__N_111mongoDbMainEiPPcS2_","s+":"650"},{"a":"5611AD9B8B99","b":"5611ACAA0000","o":"F18B99","s":"main","s+":"9"},{"a":"7F6F2BAF6B97","b":"7F6F2BAD5000","o":"21B97","s":"__libc_start_main","s+":"E7"},{"a":"5611ADA4569A","b":"5611ACAA0000","o":"FA569A","s":"_start","s+":"2A"}],"processInfo":{"mongodbVersion":"4.4.1","gitVersion":"ad91a93a5a31e175f5cbf8c69561e788bbc55ce1","compiledModules":[],"uname":{"sysname":"Linux","release":"4.15.0-120-generic","version":"#122~16.04.1-Ubuntu SMP Wed Sep 30 15:09:00 UTC 2020","machine":"x86_64"},"somap":[{"b":"5611ACAA0000","elfType":3,"buildId":"832AC9AE6CC5692FB33A92460CF800BB1B8C176A"},{"b":"7F6F2BEC6000","path":"/lib/x86_64-linux-gnu/libpthread.so.0","elfType":3,"buildId":"BC3C06107774266C5F7DB3F1F380A3DA68AF90FA"},{"b":"7F6F2BAD5000","path":"/lib/x86_64-linux-gnu/libc.so.6","elfType":3,"buildId":"D3CF764B2F97AC3EFE366DDD07AD902FB6928FD7"}]}}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611AF7689F1","b":"5611ACAA0000","o":"2CC89F1","s":"_ZN5mongo18stack_trace_detail12_GLOBAL__N_119printStackTraceImplERKNS1_7OptionsEPNS_14StackTraceSinkE.constprop.606","s+":"1E1"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611AF76A029","b":"5611ACAA0000","o":"2CCA029","s":"_ZN5mongo15printStackTraceEv","s+":"29"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611AF767886","b":"5611ACAA0000","o":"2CC7886","s":"_ZN5mongo12_GLOBAL__N_116abruptQuitActionEiP9siginfo_tPv","s+":"66"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"7F6F2BED88A0","b":"7F6F2BEC6000","o":"128A0","s":"funlockfile","s+":"50"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"7F6F2BB13F47","b":"7F6F2BAD5000","o":"3EF47","s":"gsignal","s+":"C7"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"7F6F2BB158B1","b":"7F6F2BAD5000","o":"408B1","s":"abort","s+":"141"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611AD9A8BDA","b":"5611ACAA0000","o":"F08BDA","s":"_ZN5mongo25fassertFailedWithLocationEiPKcj","s+":"12B"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611AD68EF6D","b":"5611ACAA0000","o":"BEEF6D","s":"_ZN5mongo18WiredTigerKVEngine15_openWiredTigerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_.cold.1924","s+":"1C7"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611ADAADA8A","b":"5611ACAA0000","o":"100DA8A","s":"_ZN5mongo18WiredTigerKVEngineC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_11ClockSourceES8_mmbbbb","s+":"12DA"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611ADA8B9B0","b":"5611ACAA0000","o":"FEB9B0","s":"_ZNK5mongo12_GLOBAL__N_117WiredTigerFactory6createERKNS_19StorageGlobalParamsEPKNS_21StorageEngineLockFileE","s+":"120"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611AE35183E","b":"5611ACAA0000","o":"18B183E","s":"_ZN5mongo23initializeStorageEngineEPNS_14ServiceContextENS_22StorageEngineInitFlagsE","s+":"4AE"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611ADA461E7","b":"5611ACAA0000","o":"FA61E7","s":"_ZN5mongo12_GLOBAL__N_114_initAndListenEPNS_14ServiceContextEi.isra.1569","s+":"3F7"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611ADA4A280","b":"5611ACAA0000","o":"FAA280","s":"_ZN5mongo12_GLOBAL__N_111mongoDbMainEiPPcS2_","s+":"650"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611AD9B8B99","b":"5611ACAA0000","o":"F18B99","s":"main","s+":"9"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"7F6F2BAF6B97","b":"7F6F2BAD5000","o":"21B97","s":"__libc_start_main","s+":"E7"}}}
mender-mongo_1                   | {"t":{"$date":"2020-10-20T08:08:25.445+00:00"},"s":"I",  "c":"CONTROL",  "id":31427,   "ctx":"initandlisten","msg":"  Frame: {frame}","attr":{"frame":{"a":"5611ADA4569A","b":"5611ACAA0000","o":"FA569A","s":"_start","s+":"2A"}}}

Any ideas as to what is wrong?

Many Thanks,
Martin.

Found the problem, I have previously used this PC to setup an older version of mender-server. I recreated the volumes required and it’s now working.

docker volume rm mender-artifacts
docker volume rm mender-db
docker volume create --name=mender-artifacts
docker volume create --name=mender-db
2 Likes