Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas-rce-api Problems #1523

Closed
bigvikingjim opened this issue Oct 31, 2019 · 7 comments
Closed

Canvas-rce-api Problems #1523

bigvikingjim opened this issue Oct 31, 2019 · 7 comments

Comments

@bigvikingjim
Copy link

Summary: Tried installing Canvas (stable version) on Ubuntu 18.04, 16.04 and on the bitnami stack all suffer with the same issue. On the bitnami support ticket https://community.bitnami.com/t/rich-content-editor-and-passenger/70780/18 there are other users using other OS's who also have the same issue. Problem manifests itself in the Files tab on the RCE editor being greyed out and the Links tab whilst accessible fails to see any links

Steps to reproduce:

  1. Login to Canvas
  2. Create a page
  3. Try to edit that page

Expected behavior:

Files tab on the RCE editor should be accessible and links should not fail

Actual behavior:

Both do not work on any of the three installation I have

Additional notes:

This wasn't a problem before the RCE release became production. As a short term fix as this is urgent for us how can we install the pre-production version before may/june of this year when the RCE server became mandatory.

Originally thought it was the bitnami stack so I took that out the equation. Currently on ubuntu 16.04 failing when trying to install rce server with docker. Saying ECOSYSTEM var expected but not set. Yet its in the ENV file and even shows when running printenv from shell.

fig 1
fig 2
fig 3

@simonista
Copy link
Contributor

Hi @bigvikingjim, you need to be running https://github.com/instructure/canvas-rce-api now to support this functionality. That readme has instructions, and it looks like there are some threads in the google group which may also be helpful: https://groups.google.com/forum/#!searchin/canvas-lms-users/rce$20api%7Csort:date

Unfortunately we don't have anything to do with the bitnami release, so I don't know what it would take to support it natively there. It looks like this was first required in the release/2019-05-11.01 release tag, so you'd want to run a version (based on git tags) from before then if you need to go that direction.

@bigvikingjim
Copy link
Author

bigvikingjim commented Nov 13, 2019 via email

@simonista
Copy link
Contributor

Hi Jim, it depends a bit on what version you are running right now, and whether you have run database migrations for that version. The risk of going backwards is reverting the database schema to the point it was then. You'll want to build a list of migrations that have run between the version you're going back to and the version you are on now, and carefully study what will happen by reversing them.

I think trying to move forward with getting the canvas-rce-api working is the less risky option. Let us know how we can help in the google group or on IRC, we're in #canvas-lms on Freenode.

@bigvikingjim
Copy link
Author

bigvikingjim commented Nov 20, 2019 via email

@simonista
Copy link
Contributor

Hi @bigvikingjim, I'm sorry but I'm really not sure how to help. I still think you'll have better luck in IRC, it looks like @grahamb tried responding to you there yesterday but you never answered his question.

We run this API on a separate server, so I'm not sure about the setup you are describing. I did find this PR on the repo that looks like it might potentially be related to the problem you're seeing? instructure/canvas-rce-api#5. You could try applying that and seeing if it helps.

Sorry not to be more help!

@grahamb
Copy link
Contributor

grahamb commented Nov 20, 2019

Agree with @simonista - @bigvikingjim, you should come back to the IRC channel and we can try to help you there. We also run the RCE on separate servers at our site, but I can't imagine why you wouldn't be able to run them on the same one, other than some sort of configuration issue. The IRC channel tends to be most active during business hours in the pacific & mountain time zones (UTC-8, UTC-7).

@eduhl17
Copy link

eduhl17 commented Jul 1, 2020

Hola, esto me ayudo a mi:
sudo a2enmod proxy
sudo a2enmod proxy_http
sudo a2enmod proxy_balancer
sudo a2enmod lbmethod_byrequests
sudo service apache2 restart

instructure/canvas-rce-api#6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants