Closed reynoldsalec closed 10 years ago
Defintely.
I don't think this needs to be an update hook since we have limited people actually using this so far but it would be good to document or produce some script to handle this.
Yeah, @labboy0276 is doing this for CITC, but since Bookshare isn't on the forked Hotsauce, I don't think that'll be a problem, so I'm going to close this unless we find a secret cave of people using Hotsauce who love hot_pics and need instructions how to get back to Panopoly.
@andrewmallis let us know if you need help with the Bookshare transfer.
@reynoldsalec I am trying this out locally now using the latest git pull of hotsauce for CITC
OK
So after much playing, I almost got it, problem is the image styles. I wrote some code to try and fix this, but it isnt happy. So OUR best bet is to delete all image panes (there are like only 7) and then do this:
// prior to switching profiles drush dis hot_core hot_pics hot_theme hot_magic hot_widgets hot_admin hot_users hot_pages hot_search hot_wysiwyg -y
// run 2 times cause i am lazy drush pm-uninstall hot_core hot_pics hot_theme hot_magic hot_widgets hot_admin hot_users hot_pages hot_search hot_wysiwyg -y
drush cc all
//after move drush en panopoly_core panopoly_images panopoly_theme panopoly_magic panopoly_widgets panopoly_admin panopoly_users panopoly_pages panopoly_search panopoly_wysiwyg -y
drush rr
Yes, will need assistance with this for BKS. Re-opening until the upgrade pathway is confirmed working on this project.
@andrewmallis you shouldn't need to do much if any of this dance, since you're using the pre-forked hotsauce. Should basically be a panopoly 1.3->1.6 upgrade. Either that or just moving Bookshare back onto Panopoly core.
OK,
So I was able to eliminate all but one error with my module I wrote (It is attached). I enabled this prior to doing anything and ran drush updb (I made it do a schema update, although I cant attach it here), This nukes all hotsauce based image style references. However, I am still getting this message:
FieldException: Cannot change an existing field's type. in field_update_field() (line 234 of /var/www/citc/modules/field/field.crud.inc).
It doesnt tell me which field though which is annoying, I will keep digging.
It should give you a SQL error in the watchdog that tells you
On Wednesday, June 25, 2014, John Ouellet notifications@github.com wrote:
OK,
So I was able to eliminate all but one error with my module I wrote (It is attached). I enabled this prior to doing anything and ran drush updb (I made it do a schema update, although I cant attach it here), This nukes all hotsauce based image style references. However, I am still getting this message:
FieldException: Cannot change an existing field's type. in field_update_field() (line 234 of /var/www/citc/modules/field/field.crud.inc).
It doesnt tell me which field though which is annoying, I will keep digging.
— Reply to this email directly or view it on GitHub https://github.com/drupalprojects/hotsauce/issues/14#issuecomment-47105039 .
Cheers,
Mike Pirog Kalamuna www.kalamuna.com
Good call @pirog its a feature it seems, let me dig more
Woot I got it, i had to remove the field_basic_spotlight_items references and tables and it works!
WE WIN!
I am going to start from scratch one more time and re-test but I think we be good
This is all set, I just had to manually recreate the 2 FPPs after everything was said and done, we win
@labboy0276 should be posting this update module, linking to it on the hotsauce Readme, and maybe leaving some upgrade instructions there.
Once you're done with that John let me know and we'll close out this issue.
Here is the module I made
https://github.com/labboy0276/citc_upgrade
Just run it first then follow the instructions above, all went well. All I had to do is manually recreate the FPP's.
Party, thanks for posting that update to the readme @labboy0276, I think this issue has been eliminated by the Ouellet machine.
We need to be able to transfer our sites on the old Hotsauce to the new sub-distro based version.