Need Help : Step By Step Installation with Canvas Latest Stable

340 views
Skip to first unread message

Irsandi Hasan

unread,
Apr 8, 2013, 2:49:01 PM4/8/13
to canvas-l...@googlegroups.com
i don't know how many times i try to installing canvas in fresh ubuntu. i'm still stuck in this error.
i don't know how many times i try to solve this error, but same error still appear.

does anybody know howto solve this ?
does anybody have a manual installation canvas latest stable (RoR 1.9.3) step by step. production manual install in the wiki not for newbie like me with ruby on rails.

i'm appreciate for the help. thank you.

Trương Hoàng Dũng

unread,
Apr 10, 2013, 10:48:53 PM4/10/13
to canvas-l...@googlegroups.com
In my case, i use Ree 1.8.7, Node v0.8.16. At least it works well (even in production), but i use puma to serve application and canvas stands behind nginx proxy (to serve static assets). You should not run Canvas with latest Ruby or Node version. Hope this help.

Steve Hillman

unread,
Apr 11, 2013, 9:59:08 AM4/11/13
to canvas-l...@googlegroups.com
Actually you *should* run Canvas with the latest Ruby version. Besides the speed improvement (I'm seeing a drop of 50% in response times for 1.9.3 vs REE 1.8.7), there's the fact that a) the Ruby developers have announced no more patches (including security patches) for Ruby 1.8.7 as of June this year, and b) Instructure has announced that as of June, they'll be adding Ruby 1.9-specific code to Canvas, so you'll no longer be able to run the latest code base at that point if you haven't upgraded.


In my case, i use Ree 1.8.7, Node v0.8.16. At least it works well (even in production), but i use puma to serve application and canvas stands behind nginx proxy (to serve static assets). You should not run Canvas with latest Ruby or Node version. Hope this help.

--
 
---
You received this message because you are subscribed to the Google Groups "Canvas LMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to canvas-lms-use...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Steve Hillman        IT Architect
hil...@sfu.ca       Institutional, Collaborative, & Academic Technologies (ICAT)
778-782-3960         Simon Fraser University

Trương Hoàng Dũng

unread,
Apr 11, 2013, 10:24:43 PM4/11/13
to canvas-l...@googlegroups.com
Yes, i agree. But currently i know that Canvas is still having issue with UTF-8 in PostgreSQL with Ruby 1.9.3. To me, Ruby 1.8.7 is more stable now. In case Canvas fully supports Ruby 1.9.3 or Ruby 2.0, or Rails 3.x, there is no reason not to upgrade.

Steve Hillman

unread,
Apr 12, 2013, 9:51:30 AM4/12/13
to canvas-l...@googlegroups.com
Hmm, I believe the UTF-8 issues are actually with MySQL, not PostGreSQL. It's my understanding that Instructure has already upgraded their cloud infrastructure to Ruby 1.9.3..


Brian Palmer

unread,
Apr 12, 2013, 10:23:10 AM4/12/13
to canvas-l...@googlegroups.com
As I've stated before on this list, Canvas is dropping Ruby 1.8.7 support with the May 11th release. That means that in another month, you will no longer be able to use the latest Canvas release without upgrading to Ruby 1.9.

I spent time trying to help you with your UTF-8 issues on your install in https://github.com/instructure/canvas-lms/issues/260 but you were unable to provide me with enough information to reproduce the issue.

Canvas Cloud has been running on Ruby 1.9 for quite a while now.

-- Brian


Cody Cutrer

unread,
Apr 12, 2013, 11:02:25 AM4/12/13
to canvas-l...@googlegroups.com
UTF-8 has been the source of many issues with Ruby 1.9, due to the massive changes in how strings are handled. And yes, MySQL support took longer, due to also having to upgrade to mysql2 gem (as discussed at https://groups.google.com/forum/?fromgroups#!searchin/canvas-lms-users/mysql2/canvas-lms-users/rahu8cRETag/Hv1UO6Iko4oJ). Additionally that has been complicated by a regression in the Conversations area for MySQL only, preventing some people from upgrading. But as of right now, all of these issues have been addressed on the master branch. The stable branch will work for MySQL if you cherry-pick https://github.com/instructure/canvas-lms/commit/d67fe681022559f5ea417d12d80a21bd4d739841 on to it, and will be updated on 4/20. PostgreSQL has been fine for quite a while a now.

I hope that helps,

Cody Cutrer
Software Engineer
Instructure
Reply all
Reply to author
Forward
0 new messages