Environment: Ubuntu 18.04
Upgrading from v3.2.1 to v3.3.0, all release notes were followed, bundle install, yarn install and precompile went smoothly. Visiting site produces the error page. Checked log for mastodon-sidekiq, mastodon-streaming and mastodon-web while the only error seems to be with mastodon-web.
Error log as following:
-- Logs begin at Sat 2020-10-10 05:13:45 UTC. --
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: TypeError: Cannot read property 'compress' of undefined
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Object.<anonymous> (/home/mastodon/live/config/webpack/development.js:31:35)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Module._compile (/home/mastodon/live/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Module.load (internal/modules/cjs/loader.js:863:32)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Module.require (internal/modules/cjs/loader.js:887:19)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at require (/home/mastodon/live/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at WEBPACK_OPTIONS (/home/mastodon/live/node_modules/webpack-cli/bin/utils/convert-argv.js:114:13)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at requireConfig (/home/mastodon/live/node_modules/webpack-cli/bin/utils/convert-argv.js:116:6)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at /home/mastodon/live/node_modules/webpack-cli/bin/utils/convert-argv.js:123:17
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Array.forEach (<anonymous>)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at module.exports (/home/mastodon/live/node_modules/webpack-cli/bin/utils/convert-argv.js:121:15)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at /home/mastodon/live/node_modules/webpack-cli/bin/cli.js:71:45
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Object.parse (/home/mastodon/live/node_modules/webpack-cli/node_modules/yargs/yargs.js:576:18)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at /home/mastodon/live/node_modules/webpack-cli/bin/cli.js:49:8
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Object.<anonymous> (/home/mastodon/live/node_modules/webpack-cli/bin/cli.js:366:3)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Module._compile (internal/modules/cjs/loader.js:999:30)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Module.load (internal/modules/cjs/loader.js:863:32)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Module.require (internal/modules/cjs/loader.js:887:19)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at require (internal/modules/cjs/helpers.js:74:18)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Object.<anonymous> (/home/mastodon/live/node_modules/webpack/bin/webpack.js:156:2)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Module._compile (internal/modules/cjs/loader.js:999:30)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Module.load (internal/modules/cjs/loader.js:863:32)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: at internal/main/run_main_module.js:17:47
Dec 29 08:06:51 mastodon-ubuntu-euforia bundle[14538]: [06f4d08b-d16c-4d0c-9431-9df608a71a02] [Webpacker] Compiling...
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: [06f4d08b-d16c-4d0c-9431-9df608a71a02] [Webpacker] Compilation failed:
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: /home/mastodon/live/node_modules/webpack-cli/bin/cli.js:93
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: throw err;
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: ^
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: TypeError: Cannot read property 'compress' of undefined
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Object.<anonymous> (/home/mastodon/live/config/webpack/development.js:31:35)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Module._compile (/home/mastodon/live/node_modules/v8-compile-cache/v8-compile-cache.js:192:30)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Module.load (internal/modules/cjs/loader.js:863:32)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Module.require (internal/modules/cjs/loader.js:887:19)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at require (/home/mastodon/live/node_modules/v8-compile-cache/v8-compile-cache.js:159:20)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at WEBPACK_OPTIONS (/home/mastodon/live/node_modules/webpack-cli/bin/utils/convert-argv.js:114:13)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at requireConfig (/home/mastodon/live/node_modules/webpack-cli/bin/utils/convert-argv.js:116:6)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at /home/mastodon/live/node_modules/webpack-cli/bin/utils/convert-argv.js:123:17
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Array.forEach (<anonymous>)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at module.exports (/home/mastodon/live/node_modules/webpack-cli/bin/utils/convert-argv.js:121:15)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at /home/mastodon/live/node_modules/webpack-cli/bin/cli.js:71:45
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Object.parse (/home/mastodon/live/node_modules/webpack-cli/node_modules/yargs/yargs.js:576:18)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at /home/mastodon/live/node_modules/webpack-cli/bin/cli.js:49:8
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Object.<anonymous> (/home/mastodon/live/node_modules/webpack-cli/bin/cli.js:366:3)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Module._compile (internal/modules/cjs/loader.js:999:30)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Module.load (internal/modules/cjs/loader.js:863:32)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Module.require (internal/modules/cjs/loader.js:887:19)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at require (internal/modules/cjs/helpers.js:74:18)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Object.<anonymous> (/home/mastodon/live/node_modules/webpack/bin/webpack.js:156:2)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Module._compile (internal/modules/cjs/loader.js:999:30)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Module.load (internal/modules/cjs/loader.js:863:32)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Function.Module._load (internal/modules/cjs/loader.js:708:14)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: at internal/main/run_main_module.js:17:47
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: [06f4d08b-d16c-4d0c-9431-9df608a71a02] method=GET path=/poco format=*/* controller=ApplicationController action=raise_not_found status=500 error='ActionView::Template::Error: Webpacker can't find cat-light.css in /home/mastodon/live/public/packs/manifest.json. Possible causes:
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: 1. You want to set webpacker.yml value of compile to true for your environment
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: unless you are using the `webpack -w` or the webpack-dev-server.
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: 2. webpack has not yet re-run to reflect updates.
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: 3. You have misconfigured Webpacker's config/webpacker.yml file.
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: 4. Your webpack configuration is not creating a manifest.
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: Your manifest contains:
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: {
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: "about.js": {
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: "src": "/packs/js/about-3d75891be6f7315f8e7c.chunk.js",
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: "integrity": "sha256-4Y/iU+r0IE6j9uxurgQs6+/3Ub4/QheAOX1br68gFWc="
Dec 29 08:06:54 mastodon-ubuntu-euforia bundle[14538]: },
... thousands of lines about manifest error log...
Tried git reset --hard tootsuite-mastodon/master
to pull the official repo and also rm -rf tmp public/packs
then re-precompiled for multiple times, the issue still remains.
Ruby and rails version checking:
mastodon@mastodon-ubuntu-euforia : ~/live $ ruby -v
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]
mastodon@mastodon-ubuntu-euforia : ~/live $ RAILS_ENV=production rails -v
Rails 5.2.4.4
Seems to be a webpacker issue. Referred to a few threads online for other projects, it however seems to be beyond my ability. Any help will be appreciated.