Unnecessary warning Default update channel is "stable"

Asking here before I try anywhere else…

I have a hosted NC at Ionos. I’m using a local CLI client.

  • Nextcloud Client version
    • 3.16.7-1~deb13u1 (Debian built)
  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.6 Enterprise
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Provider
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Debian Trixie CLI client reports this in the logs

[ warning nextcloud.sync.configfile ]:	Default update channel is ā€œstableā€ because that is the desktop enterprise channel returned by the server.

cfg file only contains this:

config/Nextcloud/nextcloud.cfg

[General]
serverHasValidSubscription=true

I can see in the code where this originates but I don’t understand why there is a warning, or what I can do to prevent it as it seems unnecessary?

QString ConfigFile::defaultUpdateChannel() const
{
    const auto isBranded = Theme::instance()->isBranded();
    if (serverHasValidSubscription() && !isBranded) {
        if (const auto serverChannel = desktopEnterpriseChannel();
            validUpdateChannels().contains(serverChannel)) {
            qCWarning(lcConfigFile()) << "Default update channel is" << serverChannel << "because that is the desktop enterprise channel returned by the server.";
            return serverChannel;
        }
    }

Any suggestions appreciated - there is a distinct lack of docs on some of the more obscure settings :frowning:

Hi @reetp,

The warning itself is harmless. What it says is: your Nextcloud server has a valid enterprise subscription and instructed the desktop client to use the ā€œstableā€ update channel — which is exactly what the client is now doing. The message is purely informational and arguably should have been logged at DEBUG level rather than WARNING. Nothing needs to be changed on your end.

That said: you are running Nextcloud 31.0.6 Enterprise. Nextcloud 31 is end-of-life for the community edition — the only reason it is still receiving updates is because IONOS holds an enterprise license that provides long-term support. This means your setup is entirely in enterprise territory, and any questions related to its configuration should go through IONOS support, who as an enterprise customer can escalate directly to Nextcloud if needed. The community forum has no insight into enterprise-specific configurations and is not the right place for these.


h.t.h.


ernolf

I think the warning is because enterprise subscriptions can have their own branded desktop client (with their own rollout/update logic). If you are admin of such a enterprise setup, it is helpful to know that a specific user has community version of the client, so a warning might be a good idea.

Thanks for the responses.

Indeed. It should be either information or debug. It is not an error. So it is a bug.

I have been trying to script a log check for warnings and errors, but it keeps getting tripped by this which is a false positive. :frowning:

Yup I can code around it of course, but it shouldn’t happen.

I am, but it won’t make any real difference as the bug still exists on this client version, and following versions. I’ll open a new issue thanks.

The only thing that makes it ā€˜enterprise specific’ is if you have an enterprise subscription. But is actually a bug in the client, not the server, as per the code above.

As above it should be either informational or debug. Nothing ā€˜breaks’ so a ā€˜warning’ isn’t necessary (IMHO).

As it is I get an unnecessary flag for having a paid version :frowning:

A warning does not mean something is broken right now.

And for enterprise users that have their own client, then having one user with the community client instead of the custom desktop client, might be a problem. E.g. your provider still uses NC 31, it prefers using a stable desktop client that works well with this version rather than the latest client version where the new features require a newer NC version (you don’t benefit from the new features, and you risk having new bugs).

But that is just a reasoning I came up with. If you want to debate the levels of certain messages, you have to check with the developers.

I fully understand, but this is with the stock client (that’s where the logic code is) and would happen against any version that is enterprise enabled, but NOT if you are community.

Just tested Nextcloud client version 33.0.2-1 (Debian built) and still the same :slight_smile:

It’s a warning for a problem that doesn’t actually exist!

In this instance it really isn’t breaking anything, or will break anything, so it should be informational (or debug), and ONLY throw a warning if something is out of kilter. There is also no way to add a config entry to ignore it.

Sure - write a warning if something is wrong, but not if it is right!

Also note this doesn’t affect the server - just the client.

Odd to have to write a log script that says look for warnings and errors that I need to fix, but ignore THIS warning because it isn’t actually broken or going to break.

Slightly upside down logic, IMHO!

But the server (and the Nextcloud) you are using is an enterprise version.

That your Nextcloud admin does not ship their own desktop app is their decision, the protocol and everything with the community client is compatible, however there is a warning that the client is ā€œcommunityā€ <=> ā€œenterpriseā€ (server).

Also in terms of support, it comes back to your server admin. If they have a problem and it is an enterprise version, they have enterprise support (direct channel to Nextcloud, they don’t have to post here and hope to get help).

Sorry but none of that makes any sense at all.

I have to code around it which means something isn’t right.

Quite simply it shouldn’t report this as a warning to the client (we’re not even talking about the server here) because nothing is broken. That’s it.

I’ve opened and a bug, because it is in the client, and will leave it there.

Thanks.