# Oops... after upgrade (highlight.min.js)

**URL:** <https://meta.discourse.org/t/oops-after-upgrade-highlight-min-js/285512>\
**Category:** Self-hosting\
**Created:** [November 15, 2023, 5:40am UTC](https://meta.discourse.org/t/oops-after-upgrade-highlight-min-js/285512 "2023-11-15T05:40:45Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Arimov](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arimov/32/167747_2.png) [@Arimov](https://meta.discourse.org/u/Arimov)\
**Post date:** [November 15, 2023, 5:40am UTC](https://meta.discourse.org/t/oops-after-upgrade-highlight-min-js/285512/1 "2023-11-15T05:40:45Z")

</div>

Friends, please advise how to solve the following problem: after the last Discourse update I get the error “Oops…”, I looked at the logs, I see in them this:

Processing by CategoriesController#index as HTML  
Rendered categories/index.html.erb within layouts/application (Duration: 2.1ms | Allocations: 1070)  
Rendered layout layouts/application.html.erb (Duration: 14.1ms | Allocations: 5207)  
Completed 500 Internal Server Error in 235ms (ActiveRecord: 0.0ms | Allocations: 74877)  
**ActionView::Template::Error (No such file or directory @ rb\_sysopen - /var/www/discourse/vendor/assets/javascripts/highlightjs/highlight.min.js)**  
lib/highlight\_js.rb:51:in `read' lib/highlight_js.rb:51:in `bundle’  
lib/highlight\_js.rb:65:in `version' lib/highlight_js.rb:70:in `path’  
app/helpers/application\_helper.rb:702:in `client_side_setup_data' app/views/layouts/application.html.erb:74 app/controllers/categories_controller.rb:91:in `block (2 levels) in index’  
app/controllers/categories\_controller.rb:59:in `index' app/controllers/application_controller.rb:421:in `block in with\_resolved\_locale’  
app/controllers/application\_controller.rb:421:in `with_resolved_locale' lib/middleware/omniauth_bypass_middleware.rb:74:in `call’  
lib/content\_security\_policy/middleware.rb:12:in `call' lib/middleware/anonymous_cache.rb:389:in `call’  
lib/middleware/gtm\_script\_nonce\_injector.rb:10:in `call' config/initializers/100-quiet_logger.rb:20:in `call’  
config/initializers/100-silence\_logger.rb:29:in `call' lib/middleware/enforce_hostname.rb:24:in `call’  
lib/middleware/request\_tracker.rb:233:in `call’

---

_[View the full topic](https://meta.discourse.org/t/oops-after-upgrade-highlight-min-js/285512)._
