Upgrading Ubuntu 14.04.x to Ubuntu 16.04.x in OSCAR 15 reference environment (2017/18)

  1. Backup the OSCAR database (e.g., mysqldump -uroot -p oscar15 > oscar_20180108.sql).  Save the backup to a secure external location.  (These instruction are for an "in-place" upgrade of the OSCAR database.  The backup will be needed if the "in-place" upgrade fails unexpectedly.)
  2. IMPORTANT: Install MariaDB 5.5 from the Ubuntu repo while still running Ubuntu 14.04.x (will replace MySQL 5.5) (sudo service tomcat7 stop;  apt-get install mariadb-server; sudo service tomcat7 start)
  3. Test that Oscar is still running OK with MariaDB 5.5
  4. If you are still running Oracle Java 7 or earlier, upgrade to Oracle Java 8.  Otherwise, OSCAR may fail to start with Ubuntu 16.04.x
    • sudo add-apt-repository ppa:webupd8team/java
    • sudo apt-get update
    • sudo apt-get install oracle-java8-installer
    • sudo apt-get install oracle-java8-unlimited-jce-policy
  5. Upgrade to 16.04LTS (run `do-release-upgrade` as root.  For additional information read these instructions: https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-16-04-lts)
  6. The update to 16.04 LTS will replace MariaDB 5.5 with MariaDB 10.0.x.
  7. Test that Oscar is still running OK with tomcat7, Oracle Java 8, MariaDB 10.0.x and Ubuntu 16.04.x