gornycreative Posted Thursday at 10:36 PM Share Posted Thursday at 10:36 PM (edited) EDIT: I changed the title to reflect the ultimate question... I have run into a problem, and any suggestions or assistance as to how I can track down the issues that led up to this situation would be helpful. I had a multisite setup in draft and debug mode. One site had content for some time, others were just having structure built out. I usually ran upgrades from a central codebase for wire and modules as well - have not had any issues for years. The upgrade process at some point in a recent iteration failed. I should have made independent backups of all the site DBs before, but I've never had data rows disappear like this. After an upgrade, the field_body for a number of pages disappeared. The rows completely vanished. They were originally TinyMCE inputfields. It is likely that I added the CKEditor inputfield when it was released and removed the TinyMCE inputfield without changing the setting on those fields on that particular site. Is it possible that this caused those field_body rows to get deleted? Because no inputfield type would have been set? I also had issues with field_title data rows that included apostrophes that were unescaped. I had to manually query and fix those as they weren't showing up on the admin side - I'm guessing this has something to do with how text inputfields have been hardened recently. Luckily I have older backups and haven't completely lost the data, but I have often wondered about how core upgrades are done with processwire. Are there certain DB scripts that are automatically run when a version change is detected? It seems like the version changes just get updated without a lot of fanfare. I know on wordpress multisite it generally would need to rerun upgrade scripts for each site in the environment. Edited Friday at 12:38 AM by gornycreative Improve the question title. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now