Nextcloud: 12.0.5
CentOS: 7.4.1708
Apache: 2.4.6
PHP: 7.1.11
The issue you are facing:
I had some troubles updating from 12.0.4, but managed to solve them by running chmod g+w
on config
, config.php
, and apps
. However, app updates appear to be broken, and I’m wondering if it’s a permissions issue. Updating an app via the web interface shows 'success’ in the JSON response (and so the button disappears), but the app doesn’t actually get updated. Refreshing the page shows the previous version, and allows me to update again.
This is this the first time I’ve seen this error.
Steps to replicate it:
- Go to Apps
- Click Update to v.v.v
Admin > Logging
The logs do not show anything new when an app is ‘updated’.
Config
$CONFIG = array (
'instanceid' => 'xxx',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'cloud.domain.tld',
),
'datadirectory' => '/var/props/cloud/data',
'overwrite.cli.url' => 'https://cloud.domain.tld',
'dbtype' => 'mysql',
'version' => '12.0.5.3',
'dbname' => 'ncloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_xxx',
'dbpassword' => 'xxx',
'logtimezone' => 'UTC',
'installed' => true,
'mail_from_address' => 'cloud',
'mail_smtpmode' => 'smtp',
'mail_domain' => 'domain.tld',
'htaccess.RewriteBase' => '/',
'appstore.experimental.enabled' => true,
'mail_smtpauthtype' => 'LOGIN',
'mail_smtphost' => 'smtp.office365.com',
'mail_smtpport' => '587',
'mail_smtpauth' => 1,
'mail_smtpsecure' => 'tls',
'mail_smtpname' => 'cloud@domain.tld',
'mail_smtppassword' => 'xxx',
'maintenance' => false,
'memcache.local' => '\\OC\\Memcache\\APCu',
'loglevel' => 0,
'theme' => '',
'updater.release.channel' => 'stable',
'ldapIgnoreNamingRules' => false,
'ldapProviderFactory' => '\\OCA\\User_LDAP\\LDAPProviderFactory',
'updater.secret' => ‘xxx',
);
Error logs
Nothing in the error logs relating to any NC execution.