Update Problem: SSL certificate problem: certificate has expired

update_problems

#1

Using the built-in updater I get the error message :
Curl error: SSL certificate problem: certificate has expired
Is this an error on my side or on the side of the nextcloud download. My Let’s Encrypt cerificate seems to be ok…

Tried to create a /tmp directory but this time I get:

The following extra files have been found:

tmp

Nextcloud version : 13.0.6.
Operating system and version: MacOS 13.0.6.
Apache or nginx version (eg, Apache 2.4.25): ???
PHP version : 7.0.30

The issue you are facing: see above

Is this the first time you’ve seen this error? Y

Steps to replicate it:

  1. Start built-in updater
  2. Start update
  3. update stops at “Downloading” with

The output of your Nextcloud log in Admin > Logging:

Warning
no app in context
Temporary directory /www/htdocs/w00de87a/nextcloud/tmp/ is not present or writable
2018-10-21T12:34:02+0200

The output of your config.php file

<?php
$CONFIG = array (
  'instanceid' => 'ocimr1v3gqh2',
  'passwordsalt' => '...',
  'secret' => '...r',
  'trusted_domains' => 
  array (
    0 => '',
    1 => '',
  ),
  'datadirectory' => '/www/htdocs/.../nextcloud/data',
  'overwrite.cli.url' => 'http://.../nextcloud',
  'dbtype' => 'mysql',
  'version' => '13.0.6.1',
  'dbname' => 'd02b7b39',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'zNiMI_',
  'mysql.utf8mb4' => false,
  'dbuser' => '...',
  'dbpassword' => '...',
  'installed' => true,
  'tempdirectory' => '/www/htdocs/.../nextcloud/tmp/',
  'mail_from_address' => 'martin.mikoleit',
  'mail_smtpmode' => 'php',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_domain' => 'gmx.de',
  'activity_expire_days' => 1,
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'updater.secret' => '...',
);

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

Sorry, can't access this file - no root access

#2

Yes - it’s the certificate of download.nextcloud.com which expired this morning… :-/

I’ve also been caught by this, I wanted to upgrade two NextCloud instances today, but with the expired certificate, the auto-updater does not work (which actually is a good thing).

@NextCloud Devs: Please fix your server. :slight_smile:


#3

Addeddum: This has already reported in this thread: