Nextcloud 30 (Hub 9) errors

I should know better but 29.0.7 was kicking-up some errors so figured the 30.0.0 couldn’t be much worse. Any ideas appreciated. (Debian 12.x Apache)

Setup issues remaining after some clean-up are:

  • 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.

  • Unable to run check for JavaScript support. Please remedy or confirm 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 Web server can connect to itself. Therefore it must be able to resolve and connect to at least one of its trusted_domains or the overwrite.cli.url. This failure may be the result of a server-side DNS mismatch or outbound firewall rule.

  • Could not check that your web server serves security headers correctly, unable to query /cloud/heartbeat For more details see the documentation :arrow_upper_right: (except it doesn’t)

(Not an attack on you! Only to clarify)

Have you followed the Apache Web server configuration section in the Admin manual?
https://docs.nextcloud.com/server/latest/admin_manual/installation/source_installation.html#apache-web-server-configuration

2 Likes

Thanks. I will check. All other typical references where not helpful before I posted. I’ve been running OwnCloud and Nextcloud for many many years. Love it and just now dealing with more errors then expected. Thank you.

Ah - so yes, nothing on that Apache config page addresses any of these errors or additional configs one now needs to make with 29.07 and 30.

Here is an example - and again, someone out there if I am missing something please …

" * Could not check that your web server serves security headers correctly, unable to query /cloud/heartbeat For more details see the [documentation :arrow_upper_right:]

and “Documentation” link goes here >> Hardening and security guidance — Nextcloud latest Administration Manual latest documentation

Which has no reference at all to /cloud/heartbeat all the other options have been addressed.

Hey, if 30 was just pushed out fast and loose, okay - my bad for jumping on it.

Check your security headers please. They should be something like this (my example is in the Caddy format):

header {
  Strict-Transport-Security "max-age=31536000; includeSubDomains"
  X-Robots-Tag "noindex,nofollow"
  X-Download-Options "noopen"
  X-Permitted-Cross-Domain-Policies "none"
  X-Frame-Options "sameorigin"
  X-XSS-Protection "1; mode=block"
  X-Content-Type-Options "nosniff"
  Referrer-Policy "no-referrer"
}

You could also use the Security scanner from the Nextcloud GmbH to check the security of your Nextcloud instance.

1 Like

Well yeah, I was expecting 29.0.7 when docker compose pull-ing today and now I’m stuck with 30.0.0.

I am getting the same errors (among others) and I’m using the docker version so I’m not configuring apache myself.

1 Like

Why don’t you pin your nextcloud image to :29 instead of :latest? That’s why there are different tags available…

BTW keep in mind that downgrades are not supported. So you should think about restoring your backup that you have created at least before the upgrade.

1 Like

Yes, that is 100% my mistake, I’ll own up to that.

Next time I’ll be more vigilent for sure, but now, I’m stuck with 30.0.0 to deal with :slight_smile: I’d rather fix the issues than revert to 29 because 30 looks niiiiiice, but unless I can fix Memories and the like to run on 30 (i.e. they come out with an updated version very soon), I will have to revert sadly :frowning:

1 Like

Yes normally the apps will follow very soon after the update. You could of course try to update them even if they aren’t officially supporting NC30, but then you should even more create a backup before that.

Forms for example has no stable release yet but the current alpha already works pretty good on the new Server version.

1 Like

Nah, I only go with STABLE software, no alpha or pre-release… that’s why I’m a little bit disappointed right now although I know there should be nothing to be disappointed about. You get my point.

EDIT: The version of Memories tageted at NC 29 works just fine on 30. Phew.

1 Like

Good to see others are scrambling too trying to fix some of the errors here as well since 29 and 30.

I also got many errors, witch were solved after installing and then deactivating/uninstalling whiteboard.
If there are other errors yust dm me, mayby i’m able zo help. I’ve installed it on ubuntu 22.04 and recently upgradet to 24.04

1 Like

Going to take this on now. My fault for installing a major .0 nextcloud release.