Is it possible to install RCE still?

90 views
Skip to first unread message

Neptronix

unread,
Jan 14, 2025, 9:21:08 PMJan 14
to Canvas LMS Users
Hey all. It's 2025 and i'm installing a new RCE.
I'm on self hosted, running everything from the same domain.
RCE is up and working but i get a  "Authorization token required" 401 response no matter what i do.
I originally followed:
https://github.com/instructure/canvas-rce-api/blob/master/README.md
to no avail.

I have tried these configurations / workarounds that can be found online:
https://elearningevolve.com/blog/install-canvas-lms/
https://github.com/instructure/canvas-rce-api/issues/6#issuecomment-631818899
https://github.com/instructure/canvas-rce-api/issues/12

They either get a 403 access forbidden or the 401 authorization token required.
Yes, i am logged in

yarn test fails starting at the api proxying stage.

Any clues?

Jerix Ignacio

unread,
Jan 15, 2025, 1:02:12 AMJan 15
to Canvas LMS Users
Hi Neptronix,

I think we are on the same boat. I am also trying to deploy RCE. I was able to make it run as i see "Hello, from RCE Service" when accessing the url (https://rce.canvas.uplb.edu.ph). Its hosted on nginx (config below), passenger. When editing pages, i am able to select an image to upload but its stuck (in uploading, i assume, just spinning wheel). Hoping somebody could help us both.
Screenshot 2025-01-15 at 2.00.16 PM.png
these pages has also helped me:
https://network.cmu.ac.th/wiki/index.php/Canvas_Deployment
https://elearningevolve.com/blog/install-canvas-lms/?srsltid=AfmBOoo4CgO6221hkQuQsHadBIldbMlxb-QJSLz5jU0oj6lbzQ6fMB5u

jerix


---nginx config

cat /etc/nginx/sites-available/002-rce.canvas.uplb.edu.ph.conf
server {
    server_name rce.canvas.uplb.edu.ph;

    # Tell Nginx and Passenger where your app's 'public' directory is
    root /var/www/canvas-rce-api/app;

    access_log  /var/log/nginx/rce.canvas.uplb.edu.ph.access.log;
    error_log  /var/log/nginx/rce.canvas.uplb.edu.ph.error.log warn;

    # Turn on Passenger
    passenger_enabled on;
    # Tell Passenger that your app is a Node.js app
    passenger_app_type node;
    passenger_startup_file app.js;

    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/rce.canvas.uplb.edu.ph/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/rce.canvas.uplb.edu.ph/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}
server {
    if ($host = rce.canvas.uplb.edu.ph) {
        return 301 https://$host$request_uri;
    } # managed by Certbot


    listen 80;
    server_name rce.canvas.uplb.edu.ph;
    return 404; # managed by Certbot

Neptronix

unread,
Jan 21, 2025, 7:49:27 PMJan 21
to Canvas LMS Users
I figured i'm not the only one stuck.

I had to pay elearningevolve to set it up for us because i already had 8 hours into trying every permutation of setup instruction i could find and failed to install Canvas the first time since 2015. They did a good job and we're glad we had a solution. But it worries me for the future that documentation is not being updated!

Daniel Muimi

unread,
Jan 25, 2025, 1:17:04 AMJan 25
to Canvas LMS Users
Hi,

I'm also stuck! I followed all the instructions from eLearning Evolve --> https://elearningevolve.com/blog/install-canvas-lms/ and every time (5 times!) my installation broke with "403 forbidden" when I came to the end. When I installed without the RCE setup, my canvas installation finally ran fine. But we know you need the RCE for Canvas to work best!

I'd be happy to know if someone has found a workaround.

Reply all
Reply to author
Forward
0 new messages