I had a quite a bit of issues lately installing canvas-lms for a client on my cpanel server. I first had tried to install on their namecheap hosting but they didn’t have a java installed which canvas uses execjs for various functions. ONce I staretd on my server I made sure all libs were installed and any problem I ran into resolved, until I ran into the execjs problems. Upon searching I found about installing nodejs which I did via source and packages.
But not only does it need the nodejs packages it needs the other packages that come with it. Follow the directions on this page for your distro – https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
After you get nodejs installed make sure you have all other nodejs packages by doing install *nodejs*.
And that will solve it. Make sure you follow other instructions for installing the gems, bundles, etc; and your app will easily work.
To bypass the cpanel app install:
Im sure there may be a better way to do this but for now, what I did was simply go in cpanel add ror app – canvas, then in shell – deleted the folder. After that I moved the current working directory of canvas to it, or if you are just starting put all canvas files in here and continue with install. After that, make a redirect and edit in .htaccess if needed, that way your users dont have to go to site.com:12001 and so on.