Upgrading in stages?

76 views
Skip to first unread message

Josh M

unread,
Jan 21, 2025, 6:07:34 PMJan 21
to Canvas LMS Users
Hello, 

When trying to update canvas via https://github.com/instructure/canvas-lms/wiki/Upgrading we receive an error during db migrate.

I suspect we waited too long to do an update and need to do it in stages. 

Is there any way to do a few staged update? 

We are currently on release/2024-07-17.340-39362-g1919521b237

Thank you

Error encountered 

user@server:/var/canvas$ RAILS_ENV=production bundle exec rake db:migrate

/var/canvas/vendor/bundle/ruby/3.3.0/gems/rack-3.0.11/lib/rack/chunked.rb:6: warning: Rack::Chunked is deprecated and will be removed in Rack 3.1

1: production:public

==  CreateRubricImports: migrating ============================================

-- create_table(:rubric_imports, {:if_not_exists=>true})

rake aborted!

StandardError: An error has occurred, all later migrations canceled: (StandardError)

PG::SyntaxError: ERROR:  syntax error at or near "TRIGGER"

LINE 1: CREATE OR REPLACE TRIGGER guard_excessive_updates AFTER UPDA...

Cody Cutrer

unread,
Jan 21, 2025, 6:14:47 PMJan 21
to canvas-l...@googlegroups.com
You should be able to update in 3 months stages.

Cody Cutrer
Software Engineer
Instructure

--

---
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.
To view this discussion visit https://groups.google.com/d/msgid/canvas-lms-users/6ca57e8a-ee88-4bc9-8359-75b6ce813646n%40googlegroups.com.

Josh M

unread,
Jan 21, 2025, 7:45:24 PMJan 21
to Canvas LMS Users
Thanks Cody, I've been looking for some examples on how to do it in stages - if you know of any example resources I'd appreciate if you passed them on. 
Reply all
Reply to author
Forward
0 new messages