Contacts app not working any more

Hello! Since upgrading to Nextcloud Hub 8 (29.0.3), I don’t see the contacts app displayed in the upper bar any more.

  • Contacts are not available in the GUI any more. The “search contacts” icon still exists and works, but NOT the main contacts section (for adding & editing contacts)
  • The data still seems to be there. I can even synchronize contacts with the CalDav Synchronizer for Outlook.
  • When I check in the app-section in the admin-area as admin, I don’t see “Contacts” in the “Active apps” section.
  • I also do not see the app in the “Disabled apps” section.
  • However, in the “App bundles” section under “Hub bundle” I see Contacts app listed with version 0 and the option to Disable it.

I didn’t dare to disable because I didn’t want to lose any data.

Any idea/advice what to do here?

Thanks a lot! :hugs:

Please post the output of occ config:list system and occ app:list (or equivalent for your environment).

Sure!

config:list system
app:list

Do you have a contacts/ subfolder in either:

/usr/local/www/nextcloud/apps-pkg

Or:

/usr/local/www/nextcloud/apps

(Please check both since if you have a contacts folder in both that will also cause problems).

If you find contacts/ folder(s), see what version(s) appears in the contacts/appinfo/info.xml file.

None of these folders contain a “contacts”-folder. The second folder does not contain any subfolder at all.

Any idea/advice what to do here?

Should I just try to disable the app and re-enable? I don’t want to lose any contact-data, though.

I’m mystified how you’re seeing it under the bundle (for disabling) when there are clearly no signs of the app even existing in your environment.

What installation method is this? Your paths indicate you installed via a package in your OS distribution perhaps. What distribution?

Any idea what your PHP opcache validation/revalidation values are? Have you customized them by chance or disabled re-validation?

Try restarting your web server (if using Apache/mod_php) or php-fpm (if using it) to fully clear your PHP OPcache.

Should I just try to disable the app and re-enable? I don’t want to lose any contact-data, though.

That should be safe. The Contacts app is more a front-end app for Nextcloud’s built-in CardDAV than anything else. Also, in general, most apps don’t automatically delete anything when uninstalled anyhow (some have dedicated commands for that, if anything).

But I always recommend having a backup anyhow.

I am happy to report that I resolved the problem. Sadly I’m not sure how the problem was fixed in the end. Simply restarting the server did not resolve the issue. I then removed all references in the nextcloud-config.php to caching (redis) and restarted the server, which did not solve the issue. Then I disabled both calendar and contacts app and restarted the server. When I then logged in again and wanted to re-enable the apps, I noticed that there was the correct version displayed for them again (before, it was just 0). After re-enabling, everything worked again. I then re-enabled all caching config bits, and it still continues to work. I have no idea what my PHP opcache validation/revalidation values are.

My installation method is within a FreeBSD jail (kind of a container technology), mapping the data-directories into the jail, and copying the config.php file.

Kind regards

1 Like