Activity RSS feed doesn't work

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 21.0.2
Operating system and version (eg, Ubuntu 20.04): Ubuntu 20.04.2
Apache or nginx version (eg, Apache 2.4.25): nginx/1.18.0
PHP version (eg, 7.4): 7.4.19

The issue you are facing:
Activity RSS Feed lands on 404 page

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

Steps to replicate it:

  1. Go to Activity tab of NC
  2. Click the cog in lower left and enable RSS feed
  3. Go to the resulting link and it is 404 page

The output of your Nextcloud log in Admin > Logging:

nothing in nc logs when configuring / accessing the RSS url (last entry in NC log is 5 days ago)

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

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'redis',
    'port' => 6379,
  ),
  'datadirectory' => '/data',
  'instanceid' => '[REDACTED]',
  'passwordsalt' => '[REDACTED]',
  'secret' => '[REDACTED]',
  'trusted_domains' =>
  array (
    0 => '192.168.1.115:9443',
    1 => '[REDACTED]',
  ),
  'trusted_proxies' =>
  array (
    0 => '192.168.1.115',
  ),
  'dbtype' => 'mysql',
  'version' => '21.0.2.1',
  'dbname' => 'nextcloud',
  'dbhost' => 'db',
  'dbport' => '3306',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => '[REDACTED]',
  'dbpassword' => '[REDACTED]',
  'installed' => true,
  'mail_from_address' => '[REDACTED]',
  'mail_smtpmode' => 'smtp',
  'mail_sendmailmode' => 'smtp',
  'mail_domain' => 'gmail.com',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.gmail.com',
  'mail_smtpport' => '587',
  'mail_smtpname' => '[REDACTED]',
  'mail_smtppassword' => '[REDACTED]',
  'mail_smtpauthtype' => 'LOGIN',
  'mail_smtpsecure' => 'tls',
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'has_rebuilt_cache' => true,
  'default_phone_region' => '[REDACTED]',
  'twofactor_enforced' => 'true',
  'twofactor_enforced_groups' =>
  array (
  ),
  'twofactor_enforced_excluded_groups' =>
  array (
  ),
  'overwrite.cli.url' => '[REDACTED]',
);

The output of your Apache/nginx/system log in /var/log/____:
there is nothing in nginx error.log, there is this in nginx acces log when trying to load the RSS link

[REDACTED] - - [02/Jun/2021:09:23:55 +0100] "GET /apps/activity/rss.php?token=[REDACTED] HTTP/1.1" 404 185 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.214 Safari/537.36"

I have tried posting the issue on github, but after submitting it ended up on github error page.

1 Like

Can confirm, I’m having the same issue.

1 Like

For w/e reason i don’t get notifications from this forum, I recently remembered this issue, checked with most recent version of everything and it still happens. Managed to open a github issue RSS feed does not work · Issue #679 · nextcloud/activity · GitHub although the only comment it got is “Can’t reproduce on my end” :frowning:

Do you mean github also gave you an error when trying to post there?

That post was 6 months ago, there were some issues on github turns out at the time I tried to post so I posted it here and then forgot about it. I recently remembered the issue, managed to create the github issue too and wanted to bring the attention to it over here as well hence the bump.

1 Like

Thanks for the recap. Just tried to recreate your issue and cannot… process I see is:

  1. Open Activity.
  2. Enable RSS Feed in bottom left
  3. Copy the url that appears by pressing this this button
    image

URL is working for me personally in latest Firefox 64-bit browser. Bummer to hear it is giving you trouble. :thinking:

Yeah, if it at least generated some further log apart from 404. This way I got nothing else to go on. I don’t need it that much, it’d just be nice to have.

Hmm, I would think there would be somewhere else to check for a log and such. …perhaps they can offer you a suggestion of anywhere else to look on your system logs. Have you considered upgrading to 22.* stable?

You could try…

DIsable, then re-enable RSS activity feed. See if it generates anything.

I am on the latest stable already 22.2.3. Nothing in logs when flipping the checkmark, only the token for the rss feed in the address changes.

As you said, I’ll see if there’s some suggestions on github in some time (I presume during holidays folks are busy with other stuff than checking github)