Self-Hosted Commons Installation

616 views
Skip to first unread message

Joseph Collins

unread,
Apr 30, 2018, 5:12:20 AM4/30/18
to Canvas LMS Users
Please correct me if I am wrong, but from what I have read, Commons is not exclusive to the Paid/Hosted version of Canvas.
I have been trying to install for several months using the (very outdated) instructions on the canvas community pages but have had no luck.
I continually get a 502 bad gateway error when attempting to configure the app.
Has anyone been able to get Commons feature installed into the community production installation. If so what steps did you take?
I've attached a copy of the community guide.
InstructureSelfHostedCanvasCommonsSetup.pdf

Graham Ballantyne

unread,
Apr 30, 2018, 12:14:20 PM4/30/18
to canvas-l...@googlegroups.com, Joseph Collins
Hi Joseph,

Commons does work with self-hosted Canvas installations; we've had it installed here for a number of years. It's been a long time since I've set it up, but the instructions you posted look like what we followed when we installed it. One thing to double-check is the config URL. If you copy & paste the text in the PDF, it strips out the dashes in the URL. The proper URL is https://lor.instructure.com/api/self-hosted-setup/tool-config

I have had instances of needing Instructure to fix things on their end when something goes wrong; for instance, we have a production and several non-production environments. The non-prod environments are all clones of prod and had the same `lti_guid` value in the accounts table. Instructure had to remove the duplicate entries for us. Also, if we need to reinstall the LTI, Instructure needs to remove the entry on their end before we can re-add it; otherwise it thinks that it is already configured and throws an error.

– 
Graham Ballantyne 
Senior Software Engineer | IT Services 
Simon Fraser University | Strand Hall 1001 
8888 University Dr., Burnaby, B.C. V5A 1S6 
604-837-6698  | gra...@sfu.ca
--

---
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/d/optout.
Message has been deleted

Joseph Collins

unread,
May 3, 2018, 3:49:27 AM5/3/18
to Canvas LMS Users
When following the installation instructions document from the Instructure community, all links were typed and not copied and pasted. This was the only possible issue I can find that has been covered in the community.canvaslms.com forums. Again this is an outdated document but it is their "Current and Offical" document available in their forums at Instructure.

Is there an issue where the api thinks the deployment is a paid / hosted installation by Instructure and is trying authorize with their servers and not my own. If so, what settings can I look at changing to get the application to see it is a self-hosted opensource deployment?

This is currently on a live server, and we can't take it down for longer than a couple of minutes due to uptime and TOS agreements with the client using the server. Our client does not have the financial resources to take on the Instructure hosted package. When I contacted Instructure, they directed me here.

Seeing as how Canvas is starting to become the standard LMS I am sure someone recently (in the past 8 months) has tried to install commons on their own opensource deployment and possibly succeeded. 

Please any other ideas and/or suggestions would be extremely helpful and very much appreciated.

Athy Giannopoulos

unread,
Nov 27, 2018, 1:09:46 AM11/27/18
to Canvas LMS Users
Hi,

I've recently launched a self-hosted Canvas instance and am also experiencing issue with installing Commons following the community guide instructions included in this forum.
Below is the error I'm receiving on the final configuration setup step. Does anyone have a solution to this erorr or is it something that I can escalate with instructure?

while(1);{"error":"invalid_request","error_description":"redirect_uri does not match client settings"}

Thanks,
Athy.

Carlos Ferreira

unread,
Feb 24, 2022, 6:31:35 AM2/24/22
to Canvas LMS Users
Hello,

I have been trying to install Commons on the Selfhosted version but I keep getting the same error.

I have followed the steps correctly but I still get the following:

error.png

The error is:

{"error":"invalid_request","error_description":"redirect_uri does not match client settings"}


 Thanks for any help.

Carlos

Nico López

unread,
Jun 3, 2022, 1:29:58 PM6/3/22
to Canvas LMS Users
Hi Graham, back in time you posted this...I'm wondering if there is a way to enable Commons without intervention of Instructure. Nowodays there is no official way of getting direct contact with the support staff, and there is no much activity on this group from them...
Any suggestions?

Graham Ballantyne

unread,
Jun 3, 2022, 1:33:02 PM6/3/22
to 'Ahmad Amireh' via Canvas LMS Users
Sorry, no. As I said, we've had commons working for years without issue, but I haven't had to set it up recently. The only time we've needed Instructure to intervene has been to fix issues we caused ourselves (e.g. cloning our production environment to non-prod).

– 
Graham Ballantyne 
Senior Systems Engineer —  IT Services 
Simon Fraser University

Andrey Gangan

unread,
Jun 11, 2022, 5:19:51 AM6/11/22
to Canvas LMS Users
it's a browser's compatibilty issue.

I manage to add commons with firefox only

пятница, 3 июня 2022 г. в 20:33:02 UTC+3, Graham Ballantyne:

Carlos Ferreira

unread,
Jun 11, 2022, 7:03:56 PM6/11/22
to canvas-l...@googlegroups.com
Hello Andrey,

We have tried with tour suggestion and used Firefox, however, we got the same error.

Could you explain us how you manage the full process?

Much appreciated. 

Carlos

Andrey Gangan

unread,
Jun 12, 2022, 7:36:51 AM6/12/22
to Canvas LMS Users
1. create API key on Site Admin account with Redirect URI (Legacy): https://lor.instructure.com
2. Add application on main account domain.com/accounts/1/settings/configurations
   Name [2]: Commons Setup
   Config URL [3]: https://lor.instructure.com/api/self-hosted-setup/tool-config
   id and secret is not for this step
3. and here you need firefox. go again to domain.com/accounts/1/settings/configurations and select "config" near just created commons application
    in a modal window you can provide application ID and Secret from step 1
Screenshot from 2022-06-12 14-35-27.png



воскресенье, 12 июня 2022 г. в 02:03:56 UTC+3, carlosferre...@gmail.com:

Carlos Ferreira

unread,
Jun 12, 2022, 1:57:22 PM6/12/22
to canvas-l...@googlegroups.com
Andrey,

WONDERFUL!

Thank you for your incredible help. We were finally able to install it.

You were right the problem was with the browser, it had to be FireFox.

Thank you very much again.

Carlos

Daniel Muimi

unread,
Mar 25, 2023, 10:58:09 AM3/25/23
to Canvas LMS Users
Hi guys,

We were able to get Commons running in our institution's self-hosted instance last year and our instructors have loved it.

However, last week it suddenly sprung up an "Internal Server Error" plain message whenever anyone clicks on the Commons icon, and nothing shows up. The URL still remains the same as before:

https://OURDOMAIN/accounts/1/external_tools/25?launch_type=global_navigation

See screenshot.

Commons Error.png

Any help?

Graham Ballantyne

unread,
Mar 25, 2023, 11:47:42 AM3/25/23
to canvas-l...@googlegroups.com
We’re seeing the same issue at SFU. We’ve opened a ticket with Instructure (09652405 for anyone at Instructure who could help move it along) but as far as I know it hasn’t had a response yet. 

– 
Graham Ballantyne 
IAM Architect | IT Services 

Simon Fraser University | Strand Hall 1001 
8888 University Dr., Burnaby, B.C. V5A 1S6

On Mar 25, 2023, at 07:58, Daniel Muimi <mui...@gmail.com> wrote:

Hi guys,


We were able to get Commons running in our institution's self-hosted instance last year and our instructors have loved it.

However, last week it suddenly sprung up an "Internal Server Error" plain message whenever anyone clicks on the Commons icon, and nothing shows up. The URL still remains the same as before:

https://OURDOMAIN/accounts/1/external_tools/25?launch_type=global_navigation

See screenshot.

Message has been deleted
Message has been deleted
Message has been deleted

Daniel M.

unread,
May 5, 2023, 8:31:50 AM5/5/23
to Canvas LMS Users
Hi guys.

I'm happy to report that Canvas seem to have resolved this issue. No official word still from Canvas support themselves but Commons is working ok once more from our domain.

Many thanks to all who may have contributed/helped to work it out - in one way or another. (And you too, Graham)

Cheers.

Graham Ballantyne

unread,
May 5, 2023, 10:45:32 AM5/5/23
to canvas-l...@googlegroups.com
I meant to follow up here; Instructure pushed a fix for this issue a few weeks ago. 

– 
Graham Ballantyne 
IAM Architect | IT Services 
Simon Fraser University | Strand Hall 1001 
8888 University Dr., Burnaby, B.C. V5A 1S6

On May 5, 2023, at 05:31, Daniel M. <daniel....@kemu.ac.ke> wrote:

Hi guys.
Reply all
Reply to author
Forward
0 new messages