A user encountered an error during an upgrade to the latest version of Discourse, specifically related to the multilingual plugin. The issue manifested as a failed service worker registration due to a 404 error when loading workbox-sw.js. Attempts to resolve it via safe mode, rebuilding the app, and restoring a backup were unsuccessful. The user identified that disabling the multilingual plugin resolved the problem. cmdntd traced the issue to the plugin, and JammyDodger acknowledged the finding and suggested closing the thread in favor of a report on the plugin’s main topic here.
It looks like load the very long page content, duplicated
I tried to change to safe-mode, and find this error on console:
_service-worker-8605e5c2e133a2a05d9dd2906cb8e959e59d9071ee2958ed83b143cf451c9a23.js:3 Uncaught DOMException: Failed to execute ‘importScripts’ on ‘WorkerGlobalScope’: The script at ‘https://domain/javascripts/workbox/workbox-sw.js’ failed to load.
at https://domain/service-worker.js:1:14
(anonymous) @ _service-worker-8605e5c2e133a2a05d9dd2906cb8e959e59d9071ee2958ed83b143cf451c9a23.js:3
A bad HTTP response code (404) was received when fetching the script.
register-service-worker.js:22 Failed to register Service Worker: TypeError: Failed to register a ServiceWorker for scope (‘https://domain/’) with script (‘https://domain/service-worker.js’): ServiceWorker script evaluation failed
Having a search, a similar error was noted in this topic Service-worker redirection 403 which was related to a misconfigured CDN, if that helps at all?