nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.43k stars 4.08k forks source link

[Bug]: Outdated Mariadb version 10.5.x? #48271

Closed mat-m closed 1 month ago

mat-m commented 1 month ago

⚠️ This issue respects the following points: ⚠️

Bug description

With Nextcloud Hub 9 (30.0), I now see a warning about MariaDB 10.5.

image

Steps to reproduce

  1. Deploy a docker imahe of Nextcloud v30
  2. Go to Administration settings
  3. Wait for the security scan to complete

Expected behavior

No warning on outdated version for software provided by the docker compose file

Nextcloud Server version

30

Operating system

Debian/Ubuntu

PHP engine version

None

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

joshtrichards commented 1 month ago

No warning on outdated version for software provided by the docker compose file

You control your Compose file, not us. And we don't provide MariaDB. :-) So specify a different MariaDB version if you like. :)

You didn't specify which Docker image you're using, but in our micro-services one (which is presumably what you're referring to since AIO does bundle a db of its own), we have some example Compose files. Those haven't had anything referencing 10.5 since early 2023 (see nextcloud/docker#1956) from what I can tell.

We obviously periodically update requirements, examples, etc. as needed.

The supported versions (as well as most recommended) for use with Nextcloud Server v30 are here:

https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html#server

The supported versions for use with v29 are here:

https://docs.nextcloud.com/server/29/admin_manual/installation/system_requirements.html#server

Now all that said, admittedly 10.5 was supported during the pre-release cycle for v30 the last time I updated those checks (#45241). I hadn't realized there was a second pass that bumped it out for the v30 final. There's a chance that was an oversight since 10.5 is an LTS release that still has a few more months of life left in it (5/2025). I doubt it'll have any immediate ramifications since we were testing against it until recently (#46121), but I'd suggest you should prepare to move up either way. Plus we've been recommending 10.6 for the last few majors so it really shouldn't be news. :)

susnux commented 1 month ago

admittedly 10.5 was supported during the pre-release cycle for v30

No, the support was already dropped since June (included in beta 1). It is also documented since that date: https://github.com/nextcloud/documentation/pull/11934/files


As already mentioned this seems to be a problem with your installation method which seems not to be any of the official supported (archive, VM or docker all-in-one). So please check this with the provider of your docker compose file.

Especially if you just use docker images I recommend to use 10.6 or better directly upgrade to 10.11

mat-m commented 1 month ago

Ah, my bad, forgot to update the docker-compose.yml file... Just did a pull/down/up, but that works only for minor versions. I will remember