Seppl
February 2, 2024, 1:38pm
1
Hello!
I upgraded from Nextcloud 28.0.1 to 28.0.2 today using the Pi, unfortunately I get this error in the security and setup warnings:
Could not check for JavaScript support. Please manually check if your web server serves `.mjsā files with the JavaScript MIME type.
Can anyone help me?
I am using a Pi 4 with Portainer
Many thanks in advance
lg
Sepp
Same problem here.
I added āappiication/javascript mjsā in the Nginx mime.type file, but the message persists.
I also can confirm this behaviour.
There is alrrady a bug filed and it should be
fixed in 28.0.3
I also experienced the error after upgrading to 28.0.2 the error appeared and this is the solution I made based on what I read.
my webserver I enable https which means I have a certificate that is generated or self-signed for local connection only.
error:
Could not check for JavaScript support. Please check manually if your webserver serves .mjs
files using the JavaScript MIME type.
Solution:
sudo -u apache php occ security:certificates:import /etc/ssl/certs/apache-selfsigned.crt
then the error message disappeared
thanks
2 Likes
Seppl
February 3, 2024, 9:28am
6
Thanks will wait for the next update and hope it will be fixed then
1 Like
Darkk
February 7, 2024, 4:17am
7
Iāve tried using that import crt command and still doesnāt resolve it for me. My instance is actually behind HAProxy on pfsense that is using letās encrypt certificates so makes me think the checks arenāt taking that setup into account?
I added an entry to my host file on Debian 11 and it seems to have fixed this error.
sudo nano /etc/hosts
added
127.0.0.1 your.nextcloud_domain.com
1 Like
Seppl
March 7, 2024, 3:18pm
9
I have created a new topic
I have a similar setup, and I am experiencing the same error. Did you get a resolution to this?