Latest release & compile_assets filenames

24 views
Skip to first unread message

Christopher Bennell

unread,
Jun 9, 2016, 3:51:41 PM6/9/16
to Canvas LMS Users
It appears that, when deploying the latest release, Canvas is either requesting or generating incorrect filenames for some of the compilied JS. For example, it's requesting /dist/optimized/compiled/bundles/common-a4e2e25f12.js, but the file in that folder is named common-adcc5b3805.js. Any thoughts on why this is? Thanks. 

ryankshaw

unread,
Jun 10, 2016, 1:30:51 PM6/10/16
to Canvas LMS Users
just to make sure did you do this?
rm -rf public/dist
# assuming you run your server in production mode
bundle
exec rake RAILS_ENV=production canvas:compile_assets
# restart all running app servers

does it work now?

Christopher Bennell

unread,
Jun 15, 2016, 5:26:57 PM6/15/16
to Canvas LMS Users
A fresh deploy fixed it. I wasn't removing the dist folder, just re-rerunning compile_assets. Thanks. 
Reply all
Reply to author
Forward
0 new messages