NC29 setup warnings well-known and other

For many versions I have kept the following warnings and would be glad if someone from nextcloud team/staff shares their experience for community :slight_smile: instead of watching facebook, youtube, tiktok algorithmical stuff.

                ⚠ .well-known URLs: Your web server is not properly set up to resolve `.well-known` URLs, failed on:
                ⚠ Mimetype migrations available: One or more mimetype migrations are available. Occasionally new mimetypes are added to better handle certain file types. Migrating the mimetypes take a long time on larger instances so this is not done automatically during upgrades. Use the command `occ maintenance:repair --include-expensive` to perform the migrations.
                ⚠ HTTP headers: Some headers are not set correctly on your instance
[root@antcloud config]#

Does maybe anyone have an idea? I spent more than 10, ten hours on sorting out these three warnings, and nothing helps.

My cofig is a static IP with a reverse proxyserver running httpd on another vm than the nextcloud vm. I am aware there is httpd running on nextcloud, too.

One hint that I could ask. These three warnings, are they related to httpd on my reverse proxy or are they related to the httpd on the nextcloud vm ?

If I could watch the browser console, in what direction shall I debug and send screenshots, in order to realize where these warnings come from and if I am able to remove them at all.

https://antcloud.domain.tld/nextcloud is the nextcloud reachable address. Also Webdav, CalDav, CarDav work and my data is an NFS mount on a truenas Server

I split you topic into separate thread as you seem to ignore the required support template and didn’t even try to solve your issues. Please review the Frequent Nextcloud 29 (Hub 8) update issues this will likely provide everything you need to solve the problem.

Just upgraded Archlinux Hub 8 29.0.7 from 29.0.6 and instead of fixing .well-known finger per the patch in the last thread, the update broke more than it fixed. After applying the web-finger patch to 29.0.6 I had NO warnings in the administrator check. Now after update to 29.0.7 I get:

  • Your webserver is not set up to serve .js.map files. Without these files, JavaScript Source Maps won’t function properly, making it more challenging to troubleshoot and debug any issues that may arise.
  • Could not check for JavaScript support via any of your trusted_domains nor overwrite.cli.url. This may be the result of a server-side DNS mismatch or outbound firewall rule. Please check manually if your webserver serves .mjs files using the JavaScript MIME type. To allow this check to run you have to make sure that your webserver can connect to itself. Therefor it must be able to resolve and connect to at least one its trusted_domains or the overwrite.cli.url.
  • Could not check that your web server serves .well-known correctly. Please check manually. To allow this check to run you have to make sure that your webserver can connect to itself. Therefor it must be able to resolve and connect to at least one its trusted_domains or the overwrite.cli.url. For more details see the documentation :arrow_upper_right:.
  • Could not check for WOFF2 loading support. Please check manually if your webserver serves .woff2 files. To allow this check to run you have to make sure that your webserver can connect to itself. Therefor it must be able to resolve and connect to at least one its trusted_domains or the overwrite.cli.url. For more details see the documentation :arrow_upper_right:.

This looks like 0-steps forward 4-steps back. How to fix this mess?

I have the same problem here. Are there already solutions? :thinking: Use Debian 12, Apache, php8.2

Hi,
Same problem here with the same configuration as @JoMatr after upgrade 29.0.6 → 29.0.7

I have exactly the same messages since the Update to 29.0.7.
I have nextcloud in a subdirectory (https://domain-name/cloud/ in my case)
and the apache access-log shows the following:

[13/Sep/2024:08:32:42 +0200] "HEAD /cloud/cloud/core/fonts/NotoSans-Regular-latin.woff2 HTTP/1.1" 404 6304 "-" "Nextcloud Server Crawler"
[13/Sep/2024:08:33:46 +0200] "HEAD /cloud/cloud//disks/disk5/cloud_data/cloud/.ocdata HTTP/1.1" 404 6302 "-" "Nextcloud Server Crawler"
[13/Sep/2024:08:33:46 +0200] "HEAD /cloud/cloud/apps/settings/js/map-test.js.map HTTP/1.1" 404 6312 "-" "Nextcloud Server Crawler"
[13/Sep/2024:08:33:46 +0200] "HEAD /cloud/cloud/apps/settings/js/esm-test.mjs HTTP/1.1" 404 6304 "-" "Nextcloud Server Crawler"
[13/Sep/2024:08:33:47 +0200] "GET /cloud/cloud/heartbeat HTTP/1.1" 404 11870 "-" "Nextcloud Server Crawler"

There seems to be a bug that the crawler now adds the subdirectory two times,
in my case /cloud/cloud/, but it should be /cloud/ only.

Same Problem. Nextcloud 29 check problems are totally annoying and the automated .htaccess rewrite always kills the workaround to e.g. the webfinger-problem. Our Nextcloud is installed in a subdirectory and for example .js.map etc. all work when tested via curl on the command line.

Yes. Same in our case. Duplicate subdir in path.

Same problem here with two very different installations. No warning in 29.0.6. Which item in changelog could lead to this behavior?
I just realized that path mangling is even worse. My data directory is /hd1/nextCloud, but when testing presence of .ocdata, nextcloud looks for /nextcloud/nextcloud//hd1/nextCloud/.ocdata.

Same problem after upgrading to 29.0.7 yesterday (9/12/2024)

Ubuntu 22.04.4
PHP 8.1.2
Apache 2

I checked all connections and firewall and my server is able to access itself no problem

my NC instance URL is https://{sub.domain.net}/nc/

curl -I https://domain.tld/nc/apps/settings/js/map-test.js.map


HTTP/1.1 200 OK
Date: Fri, 13 Sep 2024 16:39:31 GMT
Server: Apache/2.4.52 (Ubuntu)
Strict-Transport-Security: max-age=15552000; includeSubDomains
Referrer-Policy: no-referrer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Permitted-Cross-Domain-Policies: none
X-Robots-Tag: noindex, nofollow
X-XSS-Protection: 1; mode=block
Last-Modified: Thu, 12 Sep 2024 16:29:14 GMT
ETag: "5a-621ee9b6fea80"
Accept-Ranges: bytes
Content-Length: 90
Vary: Accept-Encoding
Content-Type: text/javascript

  • Your webserver is not set up to serve .js.map files. Without these files, JavaScript Source Maps won’t function properly, making it more challenging to troubleshoot and debug any issues that may arise.

  • Could not check for JavaScript support via any of your trusted_domains nor overwrite.cli.url. This may be the result of a server-side DNS mismatch or outbound firewall rule. Please check manually if your webserver serves .mjs files using the JavaScript MIME type. To allow this check to run you have to make sure that your webserver can connect to itself. Therefor it must be able to resolve and connect to at least one its trusted_domains or the overwrite.cli.url.

  • Could not check that your web server serves security headers correctly, unable to query /nc/index.php/heartbeat For more details see the documentation :arrow_upper_right:.

  • Could not check that your web server serves .well-known correctly. Please check manually. To allow this check to run you have to make sure that your webserver can connect to itself. Therefor it must be able to resolve and connect to at least one its trusted_domains or the overwrite.cli.url. For more details see the documentation :arrow_upper_right:.

  • Could not check for WOFF2 loading support. Please check manually if your webserver serves .woff2 files. To allow this check to run you have to make sure that your webserver can connect to itself. Therefor it must be able to resolve and connect to at least one its trusted_domains or the overwrite.cli.url. For more details see the documentation :arrow_upper_right:.

Good News

This is a Screw-Up in Nextcloud 29.0.7 release itself. and will be fixed with the 29.0.8 point-release that should be out shortly.

In the mean time the recommendation is – JUST IGNORE THE WARNINGS.

See: github Bug - 45033

1 Like

Got it. Thank you for a quick response.

So it’s save to ignore the error and update to 30.x right away or better wait for 29.0.8?

I aways wait until X.0.3 is available. At that time usually all apps I am using are available for the new release.

Workaround until next version for me.

RedirectMatch 301 /nextcloud/nextcloud(.*) /nextcloud$1
in mod_rewrite

1 Like

Bad News
All warnings are still there after upgrade to 29.0.8.

I can confirm this, sadly. No improvement with 29.0.8.

Where can I find the file where to put the workaround in?

Either in your configuration for your virtual web server (Apache2, nginx) or if this is not possible in /path/to/html/.htaccess or /path/to/html/nextcloud/.htaccess. Although I’m not sure whether this will work.

This is not really useful, as these are only warnings triggered by the Nextcloud system check.

All warnings are still there after upgrade to 29.0.8 for me too …