Hey,
from what i have read in the past this isn’t supposed to work and might cause your issue. Some older posts i had read said that you would need to upgrade from 9.0.12 to the latest 9.1 first before upgrading to 10.0.10.
But i did the following search https://central.owncloud.org/search?q=Unknown%20column%20‘fileid’ and found the thread below, maybe this helps you?