Set up a new install relatively recently on stable. When the storage upgrade is executed on the database when pulling down new source releases, it appears that the storage tool successfully reads current database state but does not actually apply changes to the database. The database is accessible and the tool can connect without issue; for instance, storage adjust can find something like a missing key e.g. phabricator_search.search_documentfield.key_corpus, however when attempting to apply the adjustment it fails. At this point in time the last three autopatches have not been executed against the target database, but are marked as applied via storage status. Additional info:
- Uses root with MySQL
- All web-based functions work without issue (until the attempted upgrade which happened to break the whole site due to a now-missing table)
- Patches have been marked as applied, but have not been
- No errors are logged when the upgrade first runs, specifically bin/storage upgrade --force
- The tool presents Storage is up to date and then when Synchronizing static tables... runs it emits an error such as Table 'phabricator_search.stopwords' doesn't exist
Can a patch be re-executed, even if marked as applied? Would help in getting additional information.
Could definitely be an environment setup issue but not seeing why the tool would partially act like things are successful yet not actually apply the patch to MySQL.