When upgrading a WP multisite to 5.0.1, it completely removed contents within the civicrm uploads directory. I then restored the folder from the backup and all worked.

But this is weird, does anyone know why this happens? Has it happened to anyone else? Not feeling secure to upgrade on production yet when I see things like this.

It makes you run a db upgrade for all sites on the network but that shouldn't have anything to do with the uploads folder.

  • Did you test local or on your normal host? WP should not remove any folders and I've not seen that. Dec 18 '18 at 21:53
  • On our normal host. So strange :/
    – Andy Burns
    Dec 18 '18 at 21:56
  • 5.01 here - not multisite -but no issues @AndyBurns
    – themak
    Dec 18 '18 at 23:16

Not seeing this on my only 5.01 site, which uses the old WP CiviCRM file structure. That is, the files are in <webroot>/wp-content/plugins/files/civicrm and not <webroot>/wp-content/uploads/civicrm.

  • I'm using the new file structure.
    – Andy Burns
    Jan 18 '19 at 18:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.