Closed (fixed)
Project:
Hosting
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 May 2013 at 21:14 UTC
Updated:
5 Jun 2013 at 21:50 UTC
With some of the big changes recently (i.e., pulling hosting out of hostmaster, Views integration), it's possible we need an update hook to ensure a clean upgrade path.
For our intrepid alpha-/beta-testers, please document any challenges you may experience here.
Comments
Comment #1
anarcat commentedHere after running a weird and screwed up updatedb, i am missing the site and servers views.
Comment #2
anarcat commentedIn fact, a clean install doesn't setup the sites menu or views.
Comment #3
ergonlogicA clean install works for me... I'll test the upgrade path to see if I can reproduce this.
Comment #4
ergonlogicHere's the testing procedure that I'm using, starting from a working fresh install of the latest 6.x-2.x:
git checkout 4e642b2c7e41d12f)git checkout 19620d9ed44908a)rm -rf /var/aegir/hostmaster-6.x-2.x/profiles/hostmaster/modules/views*)drush @hostmaster hostmaster-uninstall)drush hostmaster-install)drush @hostmaster hostmaster-migrate <front-end_url> <new_platform> --makefile=/var/aegir/.drush/provision/aegir.make)Repeating this should just entail steps 4-7, making sure to install (in step 5) onto the pre-Views platform (which is the default behaviour).
Following this procedure, I haven't been able to replicate the reported issue. I have found some funky stuff in the update hook ( hosting_update_6016()), so I'll look into that. But otherwise, I'm not sure how to proceed.
Comment #5
deciphered commentedI used a simpler upgrade test:
1. I had a backup of the database prior to Views upgrade
2. Code base is all upto date
3. Import old database over the current db
4. Run update.php
I had no issues with the upgrade, worked as expected.
Comment #6
anarcat commenteddamnit, i had an old version of views, sorry about that. ignore my problems. :/
Comment #7
anarcat commentedoh, i see, so according to tests done by deciphered, i assume the upgrade path is ok. thanks!