Converse install seems to be missing some files

What app is this about, and its version: Converse 14.0.0~ynh1
What YunoHost version are you running: 12.1.40.1
What type of hardware are you using: VPS bought online

Describe your issue

Installed converse, but all that loads is a blank white page. Browser console shows a lot of mimetype errors:

The resource from “https://xmpp.example.tld/dist/emojis.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). xmpp.example.tld
The resource from “https://xmpp.example.tld/dist/icons.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). xmpp.example.tld
Successfully compiled asm.js code (total compilation time 125ms) libsignal-protocol.min.js
pre-main prep time: 0 ms libsignal-protocol.min.js:1:2566
The resource from “https://xmpp.example.tld/dist/emojis.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). xmpp.example.tld
Loading failed for the <script> with source “https://xmpp.example.tld/dist/emojis.js”. xmpp.example.tld:14:34
The resource from “https://xmpp.example.tld/dist/icons.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff). xmpp.example.tld
Loading failed for the <script> with source “https://xmpp.example.tld/dist/icons.js”. xmpp.example.tld:15:33
Uncaught SyntaxError: import.meta may only appear in a module converse.min.js:671:15472
Uncaught ReferenceError: converse is not defined
    <anonymous> https://xmpp.example.tld/:50
xmpp.example.tld:50:5
Source map error: Error: URL constructor:  is not a valid URL.
Stack in the worker:resolveSourceMapURL@resource://devtools/client/shared/source-map-loader/utils/fetchSourceMap.js:56:22
getOriginalURLs@resource://devtools/client/shared/source-map-loader/source-map.js:73:24
workerHandler/</<@resource://devtools/client/shared/worker-utils.js:115:52
workerHandler/<@resource://devtools/client/shared/worker-utils.js:113:13

Resource URL: wasm:https://xmpp.example.tld/dist/libsignal-protocol.min.js
Source Map URL: null

This is on Librewolf, but also occurs on Vivaldi.

So now I went and checked the nginx error log and it turns out that there are some files missing! Specifically:

/var/www/converse/manifest.json
/var/www/converse/dist/favicon.ico
/var/www/converse/dist/emojis.js
/var/www/converse/dist/icons.js

So I uninstalled converse and then reinstalled, but it seems those files are just missing from the current package. Or, rather, some are missing and some are in the wrong place: manifest.json is in the dist/ subdir, and favicon.ico is in dist/images.

So … I’m at a bit of a loss? I think this has to be fixed upstream? Or have I lost the plot?

Share relevant logs or error messages

2026/07/06 21:46:39 [error] 996040#996040: *623 open() “/var/www/converse/dist/emojis.js” failed (2: No such file or directory), client: 10.20.30.40, server: xmpp.example.tld, request: “GET /dist/emojis.js HTTP/2.0”, host: “xmpp.example.tld”, referrer: “https://xmpp.example.tld/
2026/07/06 21:46:39 [error] 996040#996040: *623 open() “/var/www/converse/dist/icons.js” failed (2: No such file or directory), client: 10.20.30.40, server: xmpp.example.tld, request: “GET /dist/icons.js HTTP/2.0”, host: “xmpp.example.tld”, referrer: “https://xmpp.example.tld/

Try upgrading from this branch

sudo yunohost app upgrade converse -u https://github.com/YunoHost-Apps/converse_ynh/tree/fix --force
1 Like

That seems to have sorted it, thanks!

1 Like