pantheon-systems / terminus-site-clone-plugin

A Terminus plugin that adds the `site:clone` command to facilitate cloning sites on Pantheon
MIT License
21 stars 12 forks source link

Cloning a (Drupal) site with a file storage >500MB doesn't fail, but you end up with a WSOD #34

Open thijsboots opened 2 years ago

thijsboots commented 2 years ago

I tried using this plugin to clone an existing Drupal 9 site on Pantheon (dev) with a file storage of around 850MB to a newly created Drupal 9 site.

The README clearly states that you cannot import anything over 500MB because of the Pantheon import restriction, but I thought I'd ignore that to see what would happen. ;)

Result The cloning process seems to have been finished succesfully. But when opening the destination dev site, I got a WSOD with a line that said "There was a problem with our website." After repeating the operation with the option --no-files, the cloning again finished successfully, this time with a working Drupal site.

Solution I guess this is more like a feature/improvement request, but it would be nice to add some kind of check in the plugin to make cloning operations fail more gracefully if the file/database store exceeds the 500MB limit.