No update channel visible

Nextcloud version 16.0.0 EDIT: now 17.0.2
Operating system and Version: Ubuntu 18.04.3 LTS
apache 2.4.29-1ubuntu4.11
php 7.2.24-0ubuntu0.18.04.1

The issue you are facing:

No update channel to chose. The Admin page ends with “nextcloud 16.0.0”
occ tells me “no upgrade available”

Steps to replicate it:

  1. https://cloud.domain.tld/index.php/settings/admin/overview
  2. Version shows 16.0.0 (now 17.0.2)
  3. no update channel visible (even after manually upgrading to 17.0.2)

The output of your Nextcloud log in Admin > Logging:

no "logging" setting. where is it?

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

config
<?php
$CONFIG = array (
  'instanceid' => 'foobar',
  'passwordsalt' => 'foobar',
  'secret' => 'foobar',
  'trusted_domains' =>
  array (
    0 => 'cloud.foo.bar',
    1 => 'www.cloud.foo.bar',
    2 => 'cloud.foobar.de',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '16.0.0.9',
  'overwrite.cli.url' => 'https://cloud.foo.bar',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'fooobar',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'pipe',
  'mail_from_address' => 'cloud',
  'mail_domain' => 'foo.bar',
  'updater.secret' => 'fooobar',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'CUSTOMSETTINGSMATTHIAS' => 'ab hier!!!',
  'default_language' => 'de',
  'default_locale' => 'de',
  'force_language' => 'de',
  'force_locale' => 'de',
  'mail_smtpsecure' => 'ssl',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.foo.bar',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'cloud@foo.bar',
  'mail_smtppassword' => 'fooobar',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'app_install_overwrite' =>
  array (
    0 => 'terms_of_service',
    1 => 'folderplayer',
  ),
);

The output of your Apache/nginx/system log in /var/log/____:

 i guess you dont want to read 5Mb of logs here? do you need a logfile if yes, how old shall it be?

EDIT: integrity check was NOT the problem.

1 Like

ar you running a snap or vm?

nope, plain php

Curiosity may have killed the cat and tampering with system files makes you a lone rider.

Sorry.

Happy hacking.
:sunflower:

1 Like

@Blox – You are welcome.

Have a look here and find some similar lone rider. However, the general advice by TP75 (me) and some links could be of helpt to you, I presume:

Please consult the documentation:

Stick to the more known Un*x flavours. Naturally, you can choose Ubuntu, CentOS, FreeBSD, ArchLinux and probably NextCloudPi or other flavours besides Debian Linux. Also available are some other OS …

Happy hacking.
:sunny:

hi and thanks for your answers.
1st i have to apologize for my late reply (somehow i did not get any reply-notification.mail)

also, i could not really understand your reply, so may i kindly ask to make simple replies to simple questions?

  • do php modifications disable the update channel?
    in this case i suggest some more specific hint in the admin menu:
    “update disabled for corrupted files”
    And since i changed only 1-2 lines my effort after updating seems manageable

In the other hand i HAD to make changes because otherwise all users could see each others Email adress - an issue wich seems unresolved and lacking attention even though grpd seems the #1 topic everywhere…
So IMHO no reason to get polemic in answers for simple,clear and kind questions.

  • is there any recommended procedure for own modifications? e.g. wordpress has child themes own modifications.

  • do you need log files? if yes wich ones?
    The answers imply that you already know the answer of my question so i do not need to reveal/censor my users IP-Adresses
    ofc i could just restart apache and post the latest logfile if you told me to do so

greetings and thanks in advance for your help. NC is actually a great community project.
Matt

have all users altered the visibility of their emailaddress in their setup to “private”?

depending upon the changes itself… at least there is a chance that they would disable update channel, eventually. so i really can’t tell you. but be sure: all changes you made to the code will be gone after a successful update/grade.

Ok i reversed the changes.

now integry check fails because of “additional files”.
Since you have always additional files when using addons i guess this should not disable the update channel?

errr. somehow your changes seem to really had an effect on updater channel… at least that’s what i read between the lines

there are several threads on the forum about what to do when that error comes up. so you’re invited to use the built-in searchfunction of this forum. btw;: even the installer itself would offer you more help in that case.
i can’t tell you how to proceed from here because it would depend on the additional files you found.

good luck

Hi there,

somehow some app-updates had leftovers from previous versions. i deleted them:
grafik

Also i manually upgraded NC to Version 17.0.2

back to the original Question: why is no update channel visible?
Version.php (unmodified):

<?php
$OC_Version = array(17,0,2,1);
$OC_VersionString = '17.0.2';
$OC_Edition = '';
$OC_Channel = 'stable';
$OC_VersionCanBeUpgradedFrom = array (
  'nextcloud' =>
  array (
    '16.0' => true,
    '17.0' => true,
  ),
  'owncloud' =>
  array (
  ),
);
$OC_Build = '2019-12-19T08:48:51+00:00 8306acc940c0c8d4c0c3798b742d6ca8be3fcff0';
$vendor = 'nextcloud';

Same problem here. Could not see anything after " Nextcloud Hub II 23.0.3".

It was an easy fix. the “Update Notifications” App was disabled. I enabled it, and everything works as intended.