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 лайка

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

Have you tried viewing your site in safe mode

Got the same issue:

1 лайк

Same issue: white screen + JS error.

1 лайк

Have the same problem…

1 лайк

same here, same here

1 лайк

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

1 лайк

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 лайк

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 лайк

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 лайка

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

1 лайк

I’ve got some examples now, thanks all!

3 лайка

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 лайков

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 лайка

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

2 лайка

Yes that has worked for me too. Thanks @david

3 лайка

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