I’m running Nextcloud 10.0.1 on Debian 8 with Apache 2.4.10, PHP 5.6.27, and MySQL 5.5.53. The installation is migrated from a former OwnCloud 9 instance.
Beside the common stable apps (contacts, calendar, activity etc) the experimental apps Notes, QOwnNotesAPI and Tasks are installed and active.
Everything runs fine and as expected already for quite a while. The only exception is the mail app, when I try to open it, loading ends with the rotating circles.
Firefox’ console show the following error:
Refused to execute script from 'http://<host>/owncloud/apps/mail/init.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
Uncaught Error: Script error for "init"(…)
Chromium:
20:50:46.727 The resource from “https://<host>/owncloud/apps/files/” was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff). 1 mail
20:50:46.728 Error: Script error for "init"
http://requirejs.org/docs/errors.html#scripterror 1 require.js:168:17
makeError https://<host>/owncloud/apps/mail/js/vendor/requirejs/require.js:168:17
newContext/context.onScriptError https://<host>/owncloud/apps/mail/js/vendor/requirejs/require.js:1735:36
onStopRequest resource://gre/modules/WebRequest.jsm:221:18
mod_mime appears to be configured correctly and there are no related messages in the log.
thanks for your response!
The debug flag was not set at all, I set it explicitly to ‘false’.
The init.js is indeed returned as text/html, as the only JS file. For all others the right MIME type is used. But I noticed a difference, init.js is delivered (again as the only JS resource) with status code 302 and a location header https:///owncloud/apps/files/
This is clearly a bug, maybe related to https://github.com/nextcloud/mail/issues/207. Could you please file an issue at our github repo and provide the information that is asked in the issue template? Thanks!
the issue seems to be limited to manually installed builds from portknox.net (last try with those from 28. Nov). Meanwhile I’ve tried the version from the store (didn’t noticed it there before) and this one starts.
Should I raise a ticket anyway?