Can't update Nextcloud

Hello I am running my own server in Debian 11.

My instance overview says that my version is up to date even though I am only running version 25.0.13

Even changing my update channel to beta didn’t do a thing !
nextcloud

This is creating a big problem as it does not allow me to upgrade my server to Debian 12, when I do, php gets updated to 8.2.7 or something like that and all I get is a message saying that my version of Nextcloud only supports up to 8.2.0

Please help me upgrading to newer versions!

Sorry, but I am missing your data from support template.

Why did you ignore it while creating this thread?

Sorry, I was trying to avoid a long complicated post. with may empty sections.

The more you fill the template the more we understand your configuration and the issue.

Please set the channel to “Stable” and search for update, before you post the config.php and Nextcloud logfile.

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 25.0.13
Operating system and version (eg, Ubuntu 20.04): Debian 11.8
Apache or nginx version (eg, Apache 2.4.25): nginx 1.18.0
PHP version (eg, 7.4): 7.4.33

The issue you are facing:
The administrator page does not give me an update , it says "Your version is up to date. "
nextcloud

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Go to Administrator Settings
  2. Watch the overview page for upgrading notification.

The output of your Nextcloud log in Admin > Logging:

[updater] Info: \OC\Updater::resetLogLevel: Reset log level to Warning(2)

GET /core/ajax/update.php?requesttoken Some Token Text here
from 187.250.116.198 at 2024-01-26T21:44:04+00:00

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

<?php
$CONFIG = array (
  'instanceid' => 'MyInstanceID',
  'passwordsalt' => 'Some Salt',
  'secret' => 'MY SECRET',
  'trusted_domains' => 
  array (
    0 => 'my.domain.com',
  ),
  'datadirectory' => '/Path/to/my/dataDierectory',
  'dbtype' => 'mysql',
  'version' => '25.0.13.2',
  'overwrite.cli.url' => 'https://my.domain.com',
  'dbname' => 'nextcloud_db',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'MyNextCloudUser',
  'dbpassword' => 'MyPassword',
  'installed' => true,
  'default_phone_region' => 'MX',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'mail_from_address' => 'postmaster',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'domain.infor',
  'mail_smtpport' => '587',
  'mail_smtphost' => 'smtp.mailgun.org',
  'mail_smtpsecure' => 'tls',
  'mail_smtpauth' => 1,
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpname' => 'postmaster@my.domain.com',
  'mail_smtppassword' => 'Another Big Password',
  'updater.release.channel' => 'stable',
  'updater.secret' => 'Some Updating Secret',
);

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

I am not really experiencing Nginx errors that I am aware of. but this is what is in error.log:

2024/01/27 15:59:48 [error] 752#752: *12510 access forbidden by rule, client: IP.Ad.dr.es, server: My.server.com, request: "GET /.well-known/nodeinfo HTTP/2.0", host: "my.server.com"

PASTE HERE


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

I don't have a file nextcloud.log

You can perform a manual update following the instuctions on this page:
https://docs.nextcloud.com/server/latest/admin_manual/maintenance/manual_upgrade.html
If you upgrade from a previous major version please see critical changes first.
Please let us know the result. Good luck.

1 Like

Thank you,

shows, that the setting is correct in config.php.

If you scroll down the menu items of administrator page at the left border, you will find “Protocols” as one item near bottom.
After click on this item, you will find the content of nextcloud.log on the right side.

Normally the nextcloud.log can be found in

or in /var/log/

After following the manual upgrade instructions I managed to upgrade from 25 to 26, then all the updates … 27 …28…29 came easily trough the web page button. Now it got only to 29 and didn’t offer 30. It says it is up to date.

Do I need to also manually update 29 to 30?

Regards

you better check the system requirements against your installed softwareversions
https://docs.nextcloud.com/server/latest/admin_manual/installation/system_requirements.html

further on I want to suggest to wait until pointrelease 30.0.2 at least to do the upgrade
good luck

One of the major requirements of Nextcloud 30 is the PHP version 8.1 or higher. The versions until 29 worked with PHP 8.0, but Nextcloud 30 requires PHP 8.1, 8.2 or 8.3
see:

Thanks, I am running debían bookworm, I did check all software version requirements and all are met.

I will take your recommendation and wait, but was curious on how to do it.

Enviado desde Proton Mail para Android

Yes, Debian Bookworm is running PHP 8.2 :grinning:

Keep in mind v30 is still brand new. Typically a new major (v30 in this case) isn’t automatically made available through the built-in Updater to 100% of installations. It’s phased in over time.

See here for details.

There are three majors (v28, v29, v30) still receiving full support and monthly maintenance releases (containing the same/all relevant critical bug fixes).

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.