Thumbnail migration failed - Upgrade from 4.8.9 to 5.15

0
We have been testing for nearly a month now after converting our project from 4.8.9 to 5.15, and we were finally ready to deploy to production today, but as luck would have it we encountered an unexpected error. The thumbnail migration failed because it could not find a meta association. Funny thing is this error never occurred on our testing environment, and I see this was an issue in previous versions, but according to 5.12 release notes this was fixed: Fixed that the thumbnail migration would not terminate when more than 500 images did not have a physical thumbnail file associated. (Ticket 204840) The error: Starting Mendix Runtime failed. com.mendix.m2ee.api.AdminException: Starting Mendix Runtime failed. at com.mendix.core.impl.MxRuntimeImpl.fireZeeMissile(MxRuntimeImpl.java:497) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"xpath":"//System.Image","amount":500,"depth":0,"offset":0,"sort":{},"type":"RetrieveXPathAction"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:217) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"xpath":"//System.Image","amount":500,"depth":0,"offset":0,"sort":{},"type":"RetrieveXPathAction"}', all database changes executed by this action were rolled back at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:43) Caused by: com.mendix.core.CoreRuntimeException: Exception occurred in action '{"xpath":"//System.Image","amount":500,"depth":0,"offset":0,"sort":{},"type":"RetrieveXPathAction"}', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.processErrorState(CoreAction.java:343) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: An exception has occurred for the following request(s): XPathTextGetRequest (depth = 0, amount = 500): //System.Image at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:59) Caused by: com.mendix.connectionbus.ConnectionBusRuntimeException: No MetaAssociation found with name CRMMaster.Account_Application for object System.Image at com.mendix.connectionbus.retrieve.ResultCreator.getMetaAssociation(ResultCreator.java:194) at com.mendix.connectionbus.retrieve.ResultCreator.handleAssociationResult(ResultCreator.java:156) at com.mendix.connectionbus.retrieve.ResultCreator.getResult(ResultCreator.java:78) at com.mendix.connectionbus.retrieve.DataStoreCaller.getResult(DataStoreCaller.java:66) at com.mendix.connectionbus.retrieve.GetRequestHandler.doRequest(GetRequestHandler.java:73) at com.mendix.connectionbus.RequestAnalyzer.doRequest(RequestAnalyzer.java:45) at com.mendix.connectionbus.ConnectionBusImpl.doRequest(ConnectionBusImpl.java:374) at com.mendix.core.action.user.RetrieveXPathRawAction.retrieveXPathRaw(RetrieveXPathRawAction.java:133) at com.mendix.core.action.user.RetrieveXPathRawAction.executeAction(RetrieveXPathRawAction.java:74) at com.mendix.core.action.user.RetrieveXPathAction.executeAction(RetrieveXPathAction.java:52) at com.mendix.core.action.user.RetrieveXPathAction.executeAction(RetrieveXPathAction.java:17) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:53) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:291) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:276) at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(CustomMonitoredAction.scala:17) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:151) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:153) at scala.util.Try$.apply(Try.scala:191) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:147) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:140) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238) at akka.dispatch.Mailbox.run(Mailbox.scala:220) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
asked
0 answers