nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
569 stars 173 forks source link

Empty contacts list after upgrading 1.5.3 -> 2.0.1 #385

Closed kungknut closed 7 years ago

kungknut commented 7 years ago

Hi!

Today I noticed there was a new version of the Contacts app available why I backed up all my contacts and upgraded to the latest version. Afterwards I could not see any contact at all via Nextcloud Web GUI but my synced device was working fine.

I tried to import the contacts from my backup, but ended up with doubles in the address book on my synced device why I decided to remove the whole address book. To make sure it was gone I checked my synced device to see that there was no cantacts left.

I created a new address book where I imported all my contact from the backup and set up sync again. Now everything is working fine on my synced device, but I can not see anything via Web GUI.

Steps to reproduce

  1. Save some contacts to the app
  2. Upgrade app from 1.5.3 to 2.0.1
  3. Open the app to view your existing contacts

Expected behaviour

I expect my contacts to be displayed as before upgrading

Actual behaviour

The screen displays "No contacts here" although the sync indicates that the contacts are there.

General server configuration

Operating system: Linux WEBSRV01 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64

Web server: Apache (apache2handler)

Database: mysql 10.1.26 (MariaDB)

PHP version: 7.0.19-1

PHP-modules loaded ``` - Core - date - libxml - openssl - pcre - zlib - filter - hash - Reflection - SPL - session - standard - apache2handler - mysqlnd - PDO - xml - apcu - apc - bz2 - calendar - ctype - curl - dom - mbstring - fileinfo - ftp - gd - gettext - iconv - json - exif - mysqli - pdo_mysql - Phar - posix - readline - shmop - SimpleXML - sockets - sysvmsg - sysvsem - sysvshm - tokenizer - wddx - xmlreader - xmlwriter - xsl - zip - Zend OPcache ```

Nextcloud configuration

Nextcloud version: 12.0.3 - 12.0.3.3

Updated from an older Nextcloud/ownCloud or fresh install: Fresh install

Where did you install Nextcloud from: Nextcloud.com

Are you using external storage, if yes which one: files_external is disabled

Are you using encryption: No

Are you using an external user-backend, if yes which one: No

Signing status ``` [] ```
Enabled apps ``` - activity: 2.5.2 - apporder: 0.4.0 - bruteforcesettings: 1.0.2 - calendar: 1.5.5 - comments: 1.2.0 - contacts: 2.0.1 - dav: 1.3.0 - drop_account: 0.0.6 - federatedfilesharing: 1.2.0 - federation: 1.2.0 - files: 1.7.2 - files_clipboard: 0.6.4 - files_downloadactivity: 1.1.1 - files_markdown: 2.0.1 - files_pdfviewer: 1.1.1 - files_sharing: 1.4.0 - files_texteditor: 2.4.1 - files_trashbin: 1.2.0 - files_versions: 1.5.0 - files_videoplayer: 1.1.0 - firstrunwizard: 2.1 - gallery: 17.0.0 - impersonate: 1.0.1 - issuetemplate: 0.2.2 - logreader: 2.0.0 - lookup_server_connector: 1.0.0 - mail: 0.7.3 - nextcloud_announcements: 1.1 - notifications: 2.0.0 - oauth2: 1.0.5 - password_policy: 1.2.2 - provisioning_api: 1.2.0 - quota_warning: 1.1.0 - serverinfo: 1.2.0 - sharebymail: 1.2.0 - survey_client: 1.0.0 - systemtags: 1.2.0 - theming: 1.3.0 - twofactor_backupcodes: 1.1.1 - twofactor_totp: 1.3.1 - updatenotification: 1.2.0 - workflowengine: 1.2.0 ```
Disabled apps ``` - admin_audit - encryption - files_external - user_external - user_ldap ```
Content of config/config.php ``` { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "***REMOVED SENSITIVE VALUE***" ], "datadirectory": "\/storage\/***REMOVED SENSITIVE VALUE***\/data", "overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "12.0.3.3", "dbname": "c0_nextcloud", "dbhost": "localhost", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "memcache.local": "\\OC\\Memcache\\APCu", "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_smtpsecure": "ssl", "mail_from_address": "noreply", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauth": 1, "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "defaultapp": "apporder", "token_auth_enforced": true, "hashingCost": 12, "enable_previews": false, "loglevel": 2, "maintenance": false } ```

Client configuration

Browser: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36

Operating system: Windows 7

Logs

Web server error log ``` Nothing related to this issue ```
Nextcloud log (data/nextcloud.log) ``` Nothing related to this issue ```
Browser log ``` [JavaScript Console] JQMIGRATE: Migrate is installed, version 1.4.0 ```
kungknut commented 7 years ago

It seems this issue was related to caching since the problem disappeared after Ctrl+F5 in my browser, Google Chrome.