Cannot upgrade to the latest 4.0.3 from 3.3

I have…

  • [X] Checked the logs and have provided the logs if I found something suspicious there

The log is keep waits to acquire lock for migration

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

Squidex is running in GKE with squidex pod and mongodb pod.

I have updated the image version from 3.3.0 to 4.0.3, then it keeps CrashLoopBackOff.
myradio-squidex-cms-66bcb74998-6jlg7 1/2 CrashLoopBackOff 19 56m

Expected behavior

It should be automatically upgraded and I have the latest version with the existing data

Minimal reproduction of the problem

Start a version 3.3 and add some data, then go to pod yaml and update to 4.0.3.

Environment

  • [X] Self hosted with docker and running in GKE
  • [ ] Cloud version

Version: 3.3.0 to 4.0.3

Others:

don’t know how to attach the log file, so please check the log text below,

{“logLevel”:“Information”,“message”:“Application started”,“environment”:{“applicationname”:“Squidex”,“aspnetcore_urls”:“http://\u002B:80”,“aspnetcore_version”:“3.0.0”,“assets:defaultpagesize”:“200”,“assets:defaultpagesizegraphql”:“20”,“assets:maxresults”:“200”,“assets:maxsize”:“5242880”,“assetstore:amazons3:accesskey”:"\u003CMY_KEY\u003E",“assetstore:amazons3:bucketfolder”:“squidex-assets”,“assetstore:amazons3:bucketname”:“squidex-assets”,“assetstore:amazons3:regionname”:“eu-central-1”,“assetstore:amazons3:secretkey”:"\u003CMY_SECRET\u003E",“assetstore:azureblob:connectionstring”:“UseDevelopmentStorage=true”,“assetstore:azureblob:containername”:“squidex-assets”,“assetstore:exposesourceurl”:“False”,“assetstore:folder:path”:“Assets”,“assetstore:ftp:password”:"",“assetstore:ftp:path”:“Assets”,“assetstore:ftp:serverhost”:"",“assetstore:ftp:serverport”:“21”,“assetstore:ftp:username”:"",“assetstore:googlecloud:bucket”:“squidex-assets”,“assetstore:mongodb:bucket”:“fs”,“assetstore:mongodb:configuration”:“mongodb://sca-developer:nNczMJFPMXQKH9v3@myradio-mongodb”,“assetstore:mongodb:database”:“MyRadio-SquidexAssets”,“assetstore:type”:“MongoDb”,“contentroot”:"/app",“contents:defaultpagesize”:“200”,“contents:defaultpagesizegraphql”:“200”,“contents:maxresults”:“200”,“contentscontroller:enablesurrogatekeys”:“True”,“contentscontroller:maxitemsforsurrogatekeys”:“200”,“dotnet_running_in_container”:“true”,“dotnet_version”:“3.0.0”,“email:notifications:existinguserbody”:“Dear User,\r\n\r\n$ASSIGNER_NAME ($ASSIGNER_EMAIL) has invited you to join App $APP_NAME at Squidex Headless CMS.\r\n\r\nLogin or reload the Management UI to see the App.\r\n\r\nThank you very much,\r\nThe Squidex Team\r\n\r\n\u003C\u003CStart now!\u003E\u003E [$UI_URL]”,“email:notifications:existingusersubject”:"[Squidex CMS] You have been invited to join App $APP_NAME",“email:notifications:newuserbody”:“Welcome to Squidex\r\nDear User,\r\n\r\n$ASSIGNER_NAME ($ASSIGNER_EMAIL) has invited you to join Project (also called an App) $APP_NAME at Squidex Headless CMS. Login with your Github, Google or Microsoft credentials to create a new user account and start editing content now.\r\n\r\nThank you very much,\r\nThe Squidex Team\r\n\r\n\u003C\u003CStart now!\u003E\u003E [$UI_URL]”,“email:notifications:newusersubject”:“You have been invited to join Project $APP_NAME at Squidex CMS",“email:smtp:enablessl”:“True”,“email:smtp:password”:"",“email:smtp:port”:“465”,“email:smtp:sender”:"hello@squidex.io”,“email:smtp:server”:"",“email:smtp:username”:"",“etags:strong”:“False”,“eventpublishers:alltorabbitmq:configuration”:“amqp://guest:guest@localhost/”,“eventpublishers:alltorabbitmq:enabled”:“False”,“eventpublishers:alltorabbitmq:eventsfilter”:".",“eventpublishers:alltorabbitmq:exchange”:“squidex”,“eventpublishers:alltorabbitmq:type”:“RabbitMq”,“eventstore:consume”:“false”,“eventstore:cosmosdb:configuration”:“https://localhost:8081”,“eventstore:cosmosdb:database”:“Squidex”,“eventstore:cosmosdb:masterkey”:“C2y6yDjf5/R\u002Bob0N8A7Cgv30VRDJIWEHLM\u002B4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==”,“eventstore:geteventstore:configuration”:“ConnectTo=tcp://admin:changeit@localhost:1113; HeartBeatTimeout=500; MaxReconnections=-1”,“eventstore:geteventstore:prefix”:“squidex”,“eventstore:geteventstore:projectionhost”:“localhost”,“eventstore:mongodb:configuration”:“mongodb://sca-developer:nNczMJFPMXQKH9v3@myradio-mongodb”,“eventstore:mongodb:database”:“MyRadio-Squidex”,“eventstore:type”:“MongoDb”,“exposedconfiguration:version”:“squidex:version”,“google_application_credentials”:"/var/secrets/google/key.json",“healthz:gc:threshold”:“4096”,“home”:"/root",“hostname”:“myradio-squidex-cms-66bcb74998-6jlg7”,“identity:adminclientid”:"",“identity:adminclientsecret”:"",“identity:adminemail”:“developers@sca.com.au”,“identity:adminpassword”:“sc@d3v!BlahBlah”,“identity:adminrecreate”:“False”,“identity:allowpasswordauth”:“True”,“identity:githubclient”:“211ea00e726baf754c78”,“identity:githubsecret”:“d0a0d0fe2c26469ae20987ac265b3a339fd73132”,“identity:googleclient”:“1006817248705-t3lb3ge808m9am4t7upqth79hulk456l.apps.googleusercontent.com”,“identity:googlesecret”:“QsEi-fHqkGw2_PjJmtNHf2wg”,“identity:lockautomatically”:“False”,“identity:microsoftclient”:“b55da740-6648-4502-8746-b9003f29d5f1”,“identity:microsoftsecret”:“idWbANxNYEF4cB368WXJhjN”,“identity:microsofttenant”:"",“identity:oidcauthority”:"",“identity:oidcclient”:"",“identity:oidcname”:“OIDC”,“identity:oidcscopes:0”:“email”,“identity:oidcsecret”:"",“identity:privacyurl”:“https://squidex.io/privacy",“identity:showpii”:“False”,“kafka:bootstrapservers”:"",“kubernetes_port”:“tcp://10.15.240.1:443”,“kubernetes_port_443_tcp”:“tcp://10.15.240.1:443”,“kubernetes_port_443_tcp_addr”:“10.15.240.1”,“kubernetes_port_443_tcp_port”:“443”,“kubernetes_port_443_tcp_proto”:“tcp”,“kubernetes_service_host”:“10.15.240.1”,“kubernetes_service_port”:“443”,“kubernetes_service_port_https”:“443”,“languages:custom”:"",“logging:colors”:“True”,“logging:human”:“false”,“mode:isreadonly”:“False”,“mongodb_password”:“nNczMJFPMXQKH9v3”,“mongodb_username”:“sca-developer”,“myradio_squidex_cms_port”:“tcp://10.15.245.231:80”,“myradio_squidex_cms_port_80_tcp”:“tcp://10.15.245.231:80”,“myradio_squidex_cms_port_80_tcp_addr”:“10.15.245.231”,“myradio_squidex_cms_port_80_tcp_port”:“80”,“myradio_squidex_cms_port_80_tcp_proto”:“tcp”,“myradio_squidex_cms_service_host”:“10.15.245.231”,“myradio_squidex_cms_service_port”:“80”,“myradio_squidex_cms_service_port_http”:“80”,“news:appname”:“squidex-website”,“news:clientid”:“squidex-website:default”,“news:clientsecret”:“QGgqxd7bDHBTEkpC6fj8sbdPWgZrPrPfr3xzb3LKoec=”,“orleans:clustering”:“Development”,“orleans:gatewayport”:“40000”,“orleans:siloport”:“11111”,“path”:"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",“plugins:0”:“Squidex.Extensions.dll”,“rebuild:apps”:“False”,“rebuild:assets”:“False”,“rebuild:contents”:“False”,“rebuild:indexes”:“true”,“rebuild:rules”:“False”,“rebuild:schemas”:“False”,“robots:text”:"User-agent: \nAllow: /api/assets/”,“rules:executiontimeoutinseconds”:“3”,“running_in_container”:“true”,“store:mongodb:configuration”:“mongodb://sca-developer:nNczMJFPMXQKH9v3@myradio-mongodb”,“store:mongodb:contentdatabase”:“MyRadio-SquidexContent”,“store:mongodb:database”:“MyRadio-Squidex”,“store:type”:“MongoDb”,“translations:deeplauthkey”:"",“twitter:clientid”:“QZhb3HQcGCvE6G8yNNP9ksNet”,“twitter:clientsecret”:“Pdu9wdN72T33KJRFdFy1w4urBKDRzIyuKpc0OItQC2E616DuZD”,“ui:hidedatebuttons”:“False”,“ui:hidenews”:“False”,“ui:hideonboarding”:“False”,“ui:map:googlemaps:key”:“AIzaSyB_Z8l3nwUxZhMJykiDUJy6bSHXXlwcYMg”,“ui:map:type”:“OSM”,“ui:onlyadminscancreateapps”:“False”,“ui:redirecttologin”:“False”,“ui:referencesdropdownitemcount”:“100”,“ui:regexsuggestions:email”:"^[a-zA-Z0-9.!#$%\u0026\u2019\u002B\/=?^\u0060{|}~-]\u002B@[a-zA-Z0-9-]\u002B(?:.[a-zA-Z0-9-]\u002B)$",“ui:regexsuggestions:phone”:"^\(\\u002B*[1-9]{0,3}\)-[1-9]{0,3}[-. /]\([2-9]\d{2}\)[-. /]\d{3}[-. /]\d{4} ext*\.* \d{0,4}$",“ui:regexsuggestions:slug”:"^[a-z0-9]\u002B(\-[a-z0-9]\u002B)$",“ui:regexsuggestions:url”:"^(?:http(s)?:\/\/)?[\w.-]\u002B(?:\.[\w\.-]\u002B)\u002B[\w\-\.~:\/?#%[\]@!\$\u0026\u0027\(\)\\\u002B,;=.]\u002B$",“ui:showinfo”:“False”,“urls”:“http://\u002B:80”,“urls:baseurl”:“https://master.myradio-cms.stg.scadigital.com.au/",“urls:enforcehttps”:“false”,“version”:“3.0.0”},“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:"2020-01-08T02:10:36Z”}
{“logLevel”:“Information”,“initializedSystem”:“MongoGridFsAssetStore”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:36Z”}
{“logLevel”:“Information”,“initializedSystem”:“MongoEventStore”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Information”,“initializedSystem”:“SerializationInitializer”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Information”,“initializedSystem”:“MongoMigrationStatus”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Information”,“initializedSystem”:“MongoUsageRepository”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Information”,“initializedSystem”:“MongoRuleEventRepository”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Information”,“initializedSystem”:“MongoHistoryEventRepository”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Information”,“initializedSystem”:“MongoRoleStore”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Information”,“initializedSystem”:“MongoUserStore”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Information”,“initializedSystem”:“MongoAssetRepository”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Information”,“initializedSystem”:“MongoContentRepository”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Information”,“initializedSystem”:“MongoPersistedGrantStore”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Information”,“initializedSystem”:“LanguagesInitializer”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”}
{“logLevel”:“Warning”,“message”:"Task [Id=1, Status=RanToCompletion] in WorkGroup [LowPrioritySystemTarget: S127.0.0.1:11111:316145436
stg/0/00000000@S00000000] took elapsed time 0:00:00.3125853 for execution, which is longer than 00:00:00.2000000. Running on thread System.Threading.Thread",“eventId”:{“id”:101215},“task”:"[Id=1, Status=RanToCompletion]",“schedulingContext”:"[LowPrioritySystemTarget: S127.0.0.1:11111:316145436*stg/0/00000000@S00000000]",“duration”:“0:00:00.3125853”,“turnWarningLengthThreshold”:“00:00:00.2000000”,“thread”:“System.Threading.Thread”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:37Z”,“category”:“Orleans.Runtime.Scheduler.WorkItemGroup”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:38Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:38Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:39Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:39Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:40Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:40Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:41Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:41Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:42Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:42Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:43Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:43Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:44Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:44Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:45Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:45Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:46Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:46Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:47Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:47Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:48Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:48Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:49Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:49Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:50Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:50Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:51Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:51Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:52Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:52Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:53Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:53Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:54Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:54Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:55Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:55Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:56Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:56Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:57Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:57Z”}
{“logLevel”:“Information”,“action”:“Migrate”,“mesage”:“Waiting 500ms to acquire lock.”,“app”:{“name”:“Squidex”,“version”:“4.0.3.0”,“sessionId”:“03cffce6-401d-4660-bfb5-e146eebcfc1b”},“timestamp”:“2020-01-08T02:10:58Z”}

If I just update the image tag from 3.3 to 3.4, the squidex is actually updated, however, all the Apps set up before are gone.

The lock is an entry in MongoDB. The collection is called Migration or so and you can set the field to false an try it again

But please capute the first run. I guess it has failed and therefore restarted. If it does not work you can also send me your Mongo Backup

Thanks. after I updated the IsLocked flag (in db.Migration) to true, then I updated the image tag to 4.0.3,
It is all working fine now.

1 Like

If you have a previous backup, it would be great to send it over so that i can have a look why it failed in the first round.