'Activity' and 'Contacts' are empty

Nextcloud version: 30.0.2.2
Operating system and version: Ubuntu 22.04.5 LTS
Apache or nginx version: Nginx 1.27.2
PHP version: 8.1.2

The issue you are facing:

I just discovered, that ‘Activity’ and ‘Contacts’ are not longer accessible. It’s showing an empty page only.
I’m rarely using nextcloud in browser, so I can’t exaclty say when it stopped working. I updated to the latest version at the beginning of the month. Probably since then :slight_smile:

Is this the first time you’ve seen this error? (Y/N): Yes

Steps to replicate it:

  1. Open /apps/contacts/
  2. Open /apps/activity/

The output of your Nextcloud log in Admin > Logging:

It's also empty! (/settings/admin/logging)

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

$CONFIG = array (
  'instanceid' => '',
  'passwordsalt' => '',
  'secret' => '',
  'trusted_domains' =>
  array (
    0 => 'nextcloud.***.de',
  ),
  'datadirectory' => '/var/nextcloud_data',
  'dbtype' => 'mysql',
  'version' => '30.0.2.2',
  'overwrite.cli.url' => 'https://nextcloud.***.de',
  'dbname' => '',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '***',
  'dbpassword' => '',
  'default_language' => 'de',
  'share_folder' => '/geteilte Ordner',
  'installed' => true,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'overwriteprotocol' => 'https',
  'logtimezone' => 'Europe/Berlin',
  'auth.bruteforce.protection.enabled' => false,
  'filelocking.enabled' => 'true',
  'skeletondirectory' => '/var/nextcloud_defaultfiles',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'mail_from_address' => '',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => '',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpauth' => 1,
  'mail_smtphost' => '',
  'mail_smtpport' => '465',
  'mail_smtpname' => '',
  'mail_smtppassword' => '',
  'mail_smtpsecure' => 'ssl',
  'maintenance' => false,
  'data-fingerprint' => '',
  'theme' => '',
  'loglevel' => 2,
  'default_phone_region' => 'DE',
  'updater.release.channel' => 'stable',
  'memories.exiftool' => '/var/www/nextcloud/apps/memories/bin-ext/exiftool-amd64-glibc',
  'memories.vod.path' => '/var/www/nextcloud/apps/memories/bin-ext/go-vod-amd64',
);

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

Please give me further instrucions how to get 'errors' only. The logfile itself is huge!

You’re probably in a white logging page, because it’s huge! (Watch your browser indicator in waiting mode).

You should rather use the command:
occ log:tail -f

And watch errors, when launching activity or contacts

Do you have any errors or warnings under Administration settings->Overview?

Hello! I’m also having a problem with nextcloud contacts app not showing anything as of Nextcloud 30 or 29, not sure which.

occ log:tail -f gives me this when trying to access contacts.

Thanks and happy holidays!

The „error“ can be ignored, your loglevel is set to debug and shows this hint for developers. It does not affect the functionality.
You might want to try to force reload the page to make sure there no caching issue (or try a private browsing window). If it still doesn’t work, feel free to add some information and configurations about your instance.

Edit: Argh, sorry, I didn’t see the first posts and replies on mobile at first :man_facepalming:

Hello! I tried on both Chromium and Librewolf, both in private as well. I’ll get better logs for you when I have a moment. Thanks for taking a look at this!

Try to take a look at your browsers console on the dev tools and see if there are errors there.

I got it. In administration settings it showed

Your webserver does not serve `.mjs` files using the JavaScript MIME type. This will break some apps by preventing browsers from executing the JavaScript files. You should configure your webserver to serve `.mjs` files with either the `text/javascript` or `application/javascript` MIME type.

Which it didn’t used to in older versions. But added that mimetype to my /etc/nginx/mime.types and it’s good now.

@sphyle it’s likely the same problem for you, if you’re still struggling with it.

Hi, can you explain how you did add this to mime.types? It says read-only at my system?