I am trying to upgrade a local copy of our site from 2.2.7 to 2.3.1 and have got through the composer cli pain and am now on the bin/magento setup:upgrade step. It gets all of the way to Running data recurring... and then spits out the following
The XML in file "/var/www/mag/vendor/faonni/module-indexer-url-rewrite/etc/mview.xml" is invalid:
Element 'subscriptions': Missing child element(s). Expected is ( table ).
Line: 12
Element 'subscriptions': Missing child element(s). Expected is ( table ).
Line: 15
Element 'subscriptions': Missing child element(s). Expected is ( table ).
Line: 18
Verify the XML and try again.
So I attempted to remove the faonni/module-indexer-url-rewrite module via composer and then require it again to see if if was an old version hanging around. No luck same error. Any ideas?
EDIT:- To confirm I was following the guide at CLI Upgrade