OwnCloud not showing files or contacts after server restore


I did a restore of my server and now my contacts are missing on OwnCloud.

Any way to find them or make them show again?

thanks for the help!

Steps to reproduce

  1. Restore a server to a previous date when owncloud was working
  2. Open owncloud
  3. Search for contacts within the contacts app

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Server configuration

Operating system:

Web server:


PHP version:

ownCloud version: (see ownCloud admin page)

Updated from an older ownCloud or fresh install:

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
paste the results into https://gist.github.com/ and puth the link here.

Technical information

The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix


  • core
      • README
      • php.ini
      • upgrade.php
      • files/webdav.php
      • files/php.ini
      • .user.ini-OLD

Raw output

[core] => Array
[EXTRA_FILE] => Array
[expected] =>
[current] => b72a7f2c298303b83ab37c70ffc49974d4fa3d3e3d66c1cda984a8715bad5b573bc931a84f654e204e5dae64ae5655b002930f609781c0e51dccdfd1beb23442

                [README] => Array
                        [expected] => 
                        [current] => 340804c915d0d1f6e52070e09929df0db1bdb266a7fb039dbc978407aecdb6450b5cffd9402b37e79650ea2d5246623f78ed5e534ee77a827aa28299cedbff31

                [php.ini] => Array
                        [expected] => 
                        [current] => 870e1a1c192300be3a4ebf92f0fa1ef257ea8ab891ba14a329ba711158dee3d985eaa87e64dc6b473e0c86059d4843a3da400d1d619a307173abf18ee8665dc6

                [upgrade.php] => Array
                        [expected] => 
                        [current] => 8cb3f445c77f6ecbc7dca039502f5944ce68293b09865fc16f8080e797a3d29b6771c69ed2ad6b76bafa02b099a381e176a6fab4b8614eb6571f71e46a58df4b

                [files/webdav.php] => Array
                        [expected] => 
                        [current] => c91b0d23c86299d3034725ba4b7e8182cfa7a1295e5c21bf7ec72757e8f55a20b7612e8b94fe374f7b6550d59186b475d19308025c57ea50812c12b0a8ac6425

                [files/php.ini] => Array
                        [expected] => 
                        [current] => 4e5ca8ba34c755b4c3f7ad8a75b5fa769937e8e385512a8604a9c8c1800a8bfb856afdac45a66af84dbcc16bd2d4daf422e320f3e28dbd7a117b154c6624e144

                [.user.ini-OLD] => Array
                        [expected] => 
                        [current] => 0a557e3cdca4c2e3675deed761d79d109011dcdebbd9c7f6429f1d3476938ec95729543d7384651d1d0c48e26c5024cc5f517445920915a704ea748bdb903c5f




The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.


If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

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/…

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';

Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration


Operating system:


Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

How did you restore? Did you also restore the database to the previous state?
Have you tried running a file scan?

1 Like