The server is sending the activity email to all users every thirty minutes with teh same content

oepfully somebody can help. I have 153 users , most of them new, who have not set their activity defaults. All of a sudden they receive the same email notification ever 30 mins in a loop.

Anybody with a comment of what could have caused it. And how to deactivate it

Have you setup cron jobs and are they running (go to your admin page, where the time since their last execution is shown). Also check your logfiles for errors (perhaps the cronjobs start but doesn’t finish, …).

Each user can disable the notification app (or change the settings) on his personal page. On the apps-page you can also disable this app.

Thanks for the info,

I went into the webmin page and cleared the table activity_mq. That seems to have done the trick.

I also installed activitydefaults, which allowed me to switch of the notifications as a default, tehn each user can select if tehy want to get notifications, but get none as a start

If that is good enough, you can mark this topic as solved. Or you wait a bit and check out why the activity-app doesn’t work properly (look for error in the logfiles when the cronjob is executed).

I chedked the log, nd get this error all the time

2 minutes ago

Error

no app in context

Error while trying to create shared mount

2 minutes ago

Error

no app in context

OCP\Files\NotFoundException:

2 minutes ago

Error

no app in context

Error while trying to create shared mount

2 minutes ago

Error

no app in context

OCP\Files\NotFoundException:

2 minutes ago

Error

no app in context

Error while trying to create shared mount

2 minutes ago

Error

no app in context

OCP\Files\NotFoundException:

2 minutes ago

Error

no app in context

Error while trying to create shared mount

2 minutes ago

Error

no app in context

OCP\Files\NotFoundException:

  1.  /var/www/nextcloud/lib/private/Share20/DefaultShareProvider.php - line 437: OC\Share20\Share->getNode()
    
  2.    /var/www/nextcloud/lib/private/Share20/Manager.php - line 878: OC\Share20\DefaultShareProvider->move(Object(OC\Share20\Share), 'Intranet')
    
  3.    /var/www/nextcloud/apps/files_sharing/lib/SharedMount.php - line 120: OC\Share20\Manager->moveShare(Object(OC\Share20\Share), 'Intranet')
    
  4.    /var/www/nextcloud/apps/files_sharing/lib/SharedMount.php - line 102: OCA\Files_Sharing\SharedMount->updateFileTarget('/Klasse 2010 (2...', Object(OC\Share20\Share))
    
  5.    /var/www/nextcloud/apps/files_sharing/lib/SharedMount.php - line 73: OCA\Files_Sharing\SharedMount->verifyMountPoint(Object(OC\Share20\Share), Array)
    
  6.    /var/www/nextcloud/apps/files_sharing/lib/MountProvider.php - line 91: OCA\Files_Sharing\SharedMount->__construct('\\OC\\Files\\Stora...', Array, Array, Object(OC\Files\Storage\StorageFactory))
    
  7.    /var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php - line 77: OCA\Files_Sharing\MountProvider->getMountsForUser(Object(OC\User\User), Object(OC\Files\Storage\StorageFactory))
    
  8.    [internal function] OC\Files\Config\MountProviderCollection->OC\Files\Config\{closure}(Object(OCA\Files_Sharing\MountProvider))
    
  9.    /var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php - line 78: array_map(Object(Closure), Array)
    
  10. /var/www/nextcloud/lib/private/Files/Filesystem.php - line 423: OC\Files\Config\MountProviderCollection->getMountsForUser(Object(OC\User\User))
    
  11. /var/www/nextcloud/apps/files_sharing/lib/sharedstorage.php - line 94: OC\Files\Filesystem initMountPoints('Intranet')
    
  12. /var/www/nextcloud/apps/files_sharing/lib/sharedstorage.php - line 413: OC\Files\Storage\Shared->init()
    
  13. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php - line 486: OC\Files\Storage\Shared->getWrapperStorage()
    
  14. /var/www/nextcloud/lib/private/legacy/util.php - line 149: OC\Files\Storage\Wrapper\Wrapper->instanceOfStorage('\\OC\\Files\\Stora...')
    
  15. /var/www/nextcloud/lib/private/Files/Storage/StorageFactory.php - line 101: OC_Util {closure}('/a.thoma/files/...', Object(OC\Files\Storage\Shared), Object(OCA\Files_Sharing\SharedMount))
    
  16. /var/www/nextcloud/lib/private/Files/Mount/MountPoint.php - line 146: OC\Files\Storage\StorageFactory->wrap(Object(OCA\Files_Sharing\SharedMount), Object(OC\Files\Storage\Shared))
    
  17. /var/www/nextcloud/lib/private/Files/Mount/MountPoint.php - line 170: OC\Files\Mount\MountPoint->createStorage()
    
  18. /var/www/nextcloud/lib/private/Files/Utils/Scanner.php - line 121: OC\Files\Mount\MountPoint->getStorage()
    
  19. /var/www/nextcloud/apps/files/lib/BackgroundJob/ScanFiles.php - line 88: OC\Files\Utils\Scanner->backgroundScan('')
    
  20. /var/www/nextcloud/apps/files/lib/BackgroundJob/ScanFiles.php - line 112: OCA\Files\BackgroundJob\ScanFiles->runScanner(Object(OC\User\User))
    
  21. /var/www/nextcloud/lib/private/BackgroundJob/Job.php - line 53: OCA\Files\BackgroundJob\ScanFiles->run(NULL)
    
  22. /var/www/nextcloud/lib/private/BackgroundJob/TimedJob.php - line 54: OC\BackgroundJob\Job->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log))
    
  23. /var/www/nextcloud/cron.php - line 121: OC\BackgroundJob\TimedJob->execute(Object(OC\BackgroundJob\JobList), Object(OC\Log))
    
  24. {main}

Are you running the current version 9.0.54 or 10.0.1? In the changelog they have fixed a lot of things about sharing: nextcloud.com/changelog
If you already use a current version, please create an issue on github.com/nextcloud/server/issues

opened a github issue . Thanks

ref: https://github.com/nextcloud/server/issues/1862