Could not check for JavaScript support

Hi,

I have just installed on a new Ubuntu 24 VM Nextcloud using snap following this guide

I managed successfully to install and doing first login, but i get this error:

  • Could not check for JavaScript support. Please check manually if your webserver serves .mjs files using the JavaScript MIME type.

I looked on Google how to resolve this, but i found nothing. How can I add this mimetype?

In /snap/nextcloud/current/conf/mime.types it appears as enabled:

...
# text/grammar-ref-list
text/html                                       html htm
text/javascript                                 js mjs
# text/jcr-cnd
...

What else can i do?

I’m using Nextcloud 28.0.6.1

Thanks!

You should have looked in this forum instead:


Much and good luck,
ernolf

1 Like