Migrating from 2.5.6 to 3.0 rc1 - images in the underlying database

0
I have successfully migrated to 3.0, however, the images were not copied over. The textual data is there. Please advise how to migrate the images. See error message below. The file 'mobile-voice.jpg' could not be found. com.mendix.systemwideinterfaces.MendixRuntimeException: FileDatastore::getImage Error opening file for Image 'mobile-voice.jpg' at r.a(SourceFile:112) Caused by: java.security.PrivilegedActionException at java.security.AccessController.doPrivileged(Native Method) at r.a(SourceFile:107) at a.a(SourceFile:384) at com.mendix.core.Core.getImage(SourceFile:1404) at it.a(SourceFile:253) at it.a(SourceFile:183) at it.b(SourceFile:173) at it.a(SourceFile:81) at it.processRequest(SourceFile:72) at iv.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:835) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:43) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:619) Caused by: java.io.FileNotFoundException: C:\Users\jb\Mendix Documents\BM Projects\TeleMendix-main\deployment\data\files\thumbs\6 (The system cannot find the path specified) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at r$5.a(SourceFile:407) at r$5.run(SourceFile:403) at java.security.AccessController.doPrivileged(Native Method) at r.a(SourceFile:107) at a.a(SourceFile:384) at com.mendix.core.Core.getImage(SourceFile:1404) at it.a(SourceFile:253) at it.a(SourceFile:183) at it.b(SourceFile:173) at it.a(SourceFile:81) at it.processRequest(SourceFile:72) at iv.a(SourceFile:71) at com.mendix.core.MxRuntime.processRequest(SourceFile:835) at com.mendix.m2ee.server.handler.RuntimeHandler.handle(RuntimeHandler.java:43) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:541) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Thread.java:619)
asked
1 answers
1

You should make sure that you copy the files from your deployment folder to your new project. So you should copy the deployment/data folder from your previous application folder to this location:

C:\Users\jb\Mendix Documents\BM Projects\TeleMendix-main\deployment\data\

The -main part tells me this is a new folder of a 3.0 project and that this project is under version control, so I'm not entirely sure how it was merged from 2.5.6, maybe something isn't done correctly when migrating and putting something under version control like this.

answered