Error Upgrading from 12.0.3 to 12.0.4

update_problems
nc12

#1

Config.php

  'instanceid' => 'XXXXXXXX',
  'passwordsalt' => 'XXXXXXXX',
  'secret' => 'XXXXXXXX',
  'trusted_domains' =>
  array (
    0 => 'cloud.XXXXXXXX.com',
  ),
  'datadirectory' => '/var/www/nextcloud-data',
  'overwrite.cli.url' => 'http://cloud.XXXXXXXX.com',
  'dbtype' => 'mysql',
  'version' => '12.0.3.3',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'XXXXXXXX',
  'dbpassword' => 'XXXXXXXX',
  'installed' => true,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'localhost',
    'port' => 6379,
  ),
  'mail_from_address' => 'Cloud',
  'mail_smtpmode' => 'smtp',
  'mail_smtpauthtype' => 'PLAIN',
  'mail_domain' => 'XXXXXXXX.com',
  'mail_smtphost' => 'XXXXXXXX',
  'mail_smtpport' => '25',
  'session_lifetime' => 900,
  'session_keepalive' => false,
  'skeletondirectory' => '/var/www/nextcloud/core/gsoskeleton',
  'maintenance' => true,
  'ldapIgnoreNamingRules' => false,
  'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
  'updater.secret' => 'XXXXXXXX'

Error while upgrading 12.0.3 to 12.0.4
#2

Any idea why this is happenning ?


#3

Hi,

my update-button does not work. Therefor there must be a problem.


#5

Executing the following line fixes the problem :slight_smile:
sudo chown -R www-data:www-data /var/www/nextcloud