Forum archive
How to Update Canvas
I downloaded and installed Turnkey Canvas (version 14.1) using an OVA. I'm working on Microsoft SSO and I think if I update, it will work better (https://community.canvaslms.com/docs/DOC-8403#jive_content_id_Authentica...). The only upgrade instructions I could find were on Git (https://github.com/instructure/canvas-lms/wiki/Upgrading) and they might be a bit beyond my Linux knowledge.
First question, is their an easier way to upgrade Canvas itself (not the OS or the rest of the stack)?
If this is the only way to upgrade, they mention getting files from Git. I've never worked with Git before, but should I pull files from https://github.com/instructure/canvas-lms/ or https://github.com/turnkeylinux-apps/canvas ?
And yes, AFAIK they are the correct upgrade instructions. However, please note that they were last updated 21 Dec 2014 so may not be 100% relevant (but as good a place to start as any). I suggest that you also consult the install instructions as well as there may be new/updated dependencies (in fact there are, I can see it now requires Ruby 2.3). I suggest you start reading here.
My first general piece of advice would be to start a fresh VM. DO NOT work on your production server as the chances of something breaking are quite high. Especially as you are not particularly experienced with Linux and upgrading source code. You could just start with an empty VM, although I recommend that you migrate your existing data (assuming you have data) to the new VM so it's an (almost) real world situation. TKLBAM will come in handy for migrating your data in. Please note that your backup will include the version of Canvas, so don't upgrade and then migrate your data in.
My second general piece of advice is document EVERYTHING you do. That way you can rinse and repeat if something goes wrong. The bonus of that you can then share your upgrade docs for the benefit of other TurnKey users.
Also please note, as mentioned on the appliance page we install Canvas to /var/www/canvas (not /var/canvas as noted in the install doc). We also use Redis-server from the Debian repos. According to the upgrade instructions you need redis-server 2.6+. Debian packages v2.8.17. Perhaps that is good enough? Or perhaps the requirements have changed (and nobody has updated the doc)? Regardless, jessie-backports has v3.2.6 if you need a newer version. As also noted above, you need Ruby 2.3. Unfortunately that isn't backported for Jessie so you will need to follow the install instructions. Normally I would not recommend that you install from an Ubuntu PPA (as the install docs recommend) however, you may not have much choice...
If you get stuck, please feel free to post questions etc. I can't guarantee I'll have the answers but I'll do my best... :)