Upgrade from 5.0.8 to 6.0.3

This is Out of my knowledge, but what comes into mind id if you are pointing to system java or build in graylog java in your configs.