Hey,
i did the following search: Issue search results · GitHub
and found a reported and closed issues there. It seems one might provide a possible workaround: Upgrade from 9.1.x to 10.0.4 - updating database fails · Issue #30007 · owncloud/core · GitHub