These instructions will walk you through the process of upgrading an R1 avalon install that was made using vagrant to R2.
Preparing for the Upgrade
There are some steps you can take to make the upgrade and transition to R2 smoother. Before doing anything to prepare for the upgrade, backup your vagrant machine by creating a snapshot using VirtualBox's interface.
Groups used by avalon to grant permissions have been revamped in R2. An administrator group will be created during the upgrade process and the first user listed in the group_manager group will be added to the new group. Make sure that this is the user you want to made administrator. Administrators are the only ones who have the ability to add users to the administrator or group_manager groups.
- Stop the virtual machine:
Move the R1 directory aside:
cd .. mv avalon-installer-flat avalon-installer-flat-r1
- Download and extract the Avalon install script (as a zip or tar.gz)
- In a terminal window,
avalon-installer-flatdirectory you just extracted
Copy over the configuration from the R1 vagrant machine:
cp -r ../avalon-installer-flat-r1/.vagrant . cp ../avalon-installer-flat-r1/avalon-install.yml .
- Start the virtual machine:
- Be patient. This will upgrade the various components of avalon and will migrate all of your content to R2 schemas.