<div dir="ltr"><div dir="ltr"><div>Hello again,</div><div><br></div><div>thanks for sending me the database, I was able to find the bug in our migration as well as a workaround for you until we release a fix for this.</div><div>The problem is that you had resources with no volumes in them. The migration basically iterates over all existing volumes using database-joins to gather all data of the corresponding resource, resource-definition and volume-definition. Within this volume-based iteration all data &quot;above&quot; are also created (that means, layer-specific database entries for the volumes themselves, but also for the corresponding resource, its resource definition and volume definition, each only if necessary). <br></div><div>The fact that you had resources with 0 volumes simply prevented the migration to not create any layerData on those resources without volumes, which caused later the NullPointerException as mentioned in my previous mail.</div><div><br></div><div>So the workaround for you is to downgrade and start the previously working version (in your case v0.7.5), and please delete the two resources without volumes (in your case, the &quot;empty&quot; resources had &quot;102&quot; and &quot;202&quot; in their names). It should be safe to delete them as they had no volumes anyways, so there is no data on your disk which will be actually deleted :) (only entries in the linstor database)<br></div><div>The resource-definitions can stay, they do not hurt, just delete the (empty) resources.<br></div><div>Afterwards you should be able to upgrade, start and let the new version migrate everything.</div><div><br></div><div>Of course I will start looking in how to fix this so that the next version of linstor can handle this situation out of the box. <br></div><div><br></div><div>Thanks for the report,</div><div>Best regards,</div><div>Gabor<br></div></div></div>