ownCloud 9.0.2 Stable to NextCloud

I would do a full backup of your database and see if this helps

and another link I found in the forums