Steps to reproduce
- Upgrade oc from version 10.0.2 to 10.03 from command line (via occ upgrade command)
- After updater says that update was done correctly
- config/config.php disapears
- original config.php was lost, so i used config.php from backup of my older oc installation (9.x)
Expected behaviour
Updater should make some changes in database and oc files, and after that i can enter to system normally.
Actual behaviour
If you go to login page, it promts you to enter database name, user and password like it is a fresh install.
Server configuration
Operating system:
CentOS 7
Web server:
Apache 2.4
Database:
5.5.50-MariaDB
PHP version:
PHP 5.6.31
ownCloud version: (see ownCloud admin page)
10.0.2 to 10.0.3
Updated from an older ownCloud or fresh install:
Updated from older
Where did you install ownCloud from:
from .zip
Signing status (ownCloud 9.0 and above):
can't do that
The content of config/config.php:
<?php
$CONFIG = array (
'instanceid' => 'blabl',
'passwordsalt' => 'blablablablablablablablabla',
'secret' => 'blablablablablablablablablablablablablablablablablablabla',
'trusted_domains' =>
array (
0 => 'cloud.logos.es',
),
'datadirectory' => '/home/owncloud/data',
'overwrite.cli.url' => 'https://cloud.logos.es',
'overwriteprotocol' => 'https',
'dbtype' => 'mysql',
'version' => '10.0.2',
'dbname' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'owncloud',
'dbpassword' => 'blabla',
'logtimezone' => 'Europe/Madrid',
'default_language' => 'es',
'asset-pipeline.enabled' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'has_internet_connection' => true,
'installed' => true,
'enable_previews' => true,
'preview_max_x' => 1024,
'preview_max_y' => 1024,
'preview_max_scale_factor' => 10,
'preview_libreoffice_path' => '/usr/bin/libreoffice',
'preview_office_cl_parameters' => '',
'loglevel' => 0,
'mail_smtpmode' => 'smtp',
'mail_from_address' => 'cloud',
'mail_domain' => 'logos.es',
'mail_smtphost' => 'smtp.logos.es',
'mail_smtpport' => '465',
'mail_smtpname' => 'blabla@logos.es',
'mail_smtppassword' => 'blabla',
'mail_smtpauth' => 1,
'mail_smtpauthtype' => 'LOGIN',
'theme' => '',
'maintenance' => 1,
'mail_smtpsecure' => 'ssl',
);
List of activated apps:
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
LDAP configuration (delete this part if not used)
Don't have ldap