I've been having trouble upgrading a production start Canvas installation. This server was installed on Feb 15th using the stock production install instructions. I'm trying to upgrade this installation to the latest release using the canvas upgrade instructions. However, there seems to be a dependency issue when I get to the Compile Assets section:
RAILS_ENV=production bundle exec rake canvas:compile_assets
This gives me the following error:
LoadError: No such file to load -- logging_filter
/var/canvas/vendor/bundle/ruby/2.3.0/gems/activesupport-4.2.8/lib/active_support/dependencies.rb:457:in `block in load_file'
/var/canvas/config/application.rb:21:in `<top (required)>'
/var/canvas/Rakefile:4:in `<top (required)>'
/var/canvas/vendor/bundle/ruby/2.3.0/gems/rake-12.0.0/exe/rake:27:in `<top (required)>'
(See full trace by running task with --trace)
From this message, it looks /var/canvas/config/application.rb can't find logging_filter.rb - which is located in /var/canvas/lib/. I'm not too familiar with how Ruby & don't know how Bundler or Rake determine the path info.
gem environment shows:
- INSTALLATION DIRECTORY: /var/canvas/lib, but doesn't show any PATH directories under /var/canvas.
Again, this is my first canvas upgrade and I'm still new to Canvas. Since this server was setup according the production start instructions provided with Github project, I'm hoping this is something a more experienced Canvas developer can help me with.
Hey Kurt --
I don't remember seeing this exact error on our local dev instance, but I'll ask my colleagues if it rings a bell.
We've had good luck getting help for these kinds of issues on the #canvas-lms IRC channel -- there are often Instructure technical folks hanging out on there.