Broken instance after updating to 2.9.0.beta2

After doing a one-click update of an instance to 2.9.0.beta2 I see a blank screen with these errors in the dev console:

I’m using the following plugins:

3 Likes

these are official plug-ins and should not give issues.

Have you tried viewing your site in safe mode

Got the same issue:

1 Like

Same issue: white screen + JS error.

1 Like

Have the same problem…

1 Like

same here, same here

1 Like

Same here :cold_sweat: Hope a fix is coming very soon!

1 Like

Same here:

loader.js:247 Uncaught Error: Could not find module `handlebars` imported from `discourse-common/lib/raw-handlebars`
    at loader.js:247:1
    at c (loader.js:258:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at requireModule (loader.js:24:1)
    at discourse-boot.js:12:1
    at Array.forEach (<anonymous>)
    at discourse-boot.js:10:1
1 Like

Same issue here as well with the same error in the js console.

Uncaught Error: Could not find module `handlebars` imported from `discourse-common/lib/raw-handlebars`
    at loader.js:247:1
    at c (loader.js:258:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at requireModule (loader.js:24:1)
    at discourse-boot.js:12:1
    at Array.forEach (<anonymous>)
    at discourse-boot.js:10:1

We’re using the following plugins:

I get the following warnings during the build

Bundle complete! 127 Gemfile dependencies, 176 gems now installed.
Gems in the groups 'test' and 'development' were not installed.
Bundled gems are installed into `./vendor/bundle`

I, [2022-02-14T13:34:51.839391 #1]  INFO -- : > cd /var/www/discourse && [ ! -d 'node_modules' ] || su discourse -c 'yarn install --production && yarn cache clean'
warning Resolution field "lodash@4.17.21" is incompatible with requested version "lodash@4.17.15"
warning " > @mixer/parallel-prettier@2.0.1" has unmet peer dependency "prettier@^2.0.0".
1 Like

I have tried the safe-mode, I am also getting the handlebars missing error. Only white screen on the app, along with a load time in ms on the top left.

Uncaught Error: Could not find module `handlebars` imported from `discourse-common/lib/raw-handlebars`
    at loader.js:247:1
    at c (loader.js:258:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at s.findDeps (loader.js:168:1)
    at c (loader.js:262:1)
    at requireModule (loader.js:24:1)
    at discourse-boot.js:12:1
    at Array.forEach (<anonymous>)
    at discourse-boot.js:10:1

I’m taking a look into this now. Is anyone able to share a link to a site with this issue? (via PM is fine, if you prefer not to make it public)

2 Likes

Not sure I have permissions to PM you - as I just joined…

1 Like

I’ve got some examples now, thanks all!

3 Likes

I just pushed a fix: FIX: Update application_helper logic now that Ember CLI is default (#… · discourse/discourse@f078d1a · GitHub

Please run another update - it should get things working again. So sorry for the disruption!

@Anton_Akhmerov @RobertBrockie @pinkd @simevo @Canapin @CRCinAU @Alex_Harrington @k4rtik

15 Likes

Is this sufficient to run the required update?

# cd /var/discourse/
# ./launcher rebuild app

Yes, or you can type a URL like https://your-site.com/admin/upgrade into your address bar - the update UI should still be functional even though the main application is broken.

3 Likes

Can confirm - updated and things are working back as normal. Thanks @david

2 Likes

Yes that has worked for me too. Thanks @david

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.