nextcloud / files_downloadactivity

📥⚡ Creates activities for downloads of shared files
https://apps.nextcloud.com/apps/files_downloadactivity
GNU Affero General Public License v3.0
40 stars 21 forks source link

Issues with Nextcloud 28 #159

Closed martinhechenberger closed 2 months ago

martinhechenberger commented 9 months ago

Steps to reproduce

  1. Install and Activate App
  2. Share File
  3. Observe Logging

Expected behaviour

If push and/or share action is configured, you should get a popup and/or email notifications.

Actual behaviour

No push notifications appear and no email notification is sent. Logfile is flooded with the lines below.

Server configuration

Operating system: Ubuntu 22.04 Web server: Server version: Apache/2.4.52 (Ubuntu) Server built: 2023-10-26T13:44:44 Database: MariaDB 10.6.12-0ubuntu0.22.04.1 PHP version: PHP 8.1.2-1ubuntu2.14 Nextcloud version: (see Nextcloud admin page) 28.0.0 Where did you install Nextcloud from: Nexctloud download repository Signing status: No errors have been found. List of activated apps:

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... LDAP

Client configuration

Browser: Firefox 120.0 Operating system: Windows 11 Version 22H2

Logs

Nextcloud log (data/owncloud.log)


Insert your Nextcloud log here
Repeatedly:
{"reqId":"xtmpluEVBSWQMMK86UHe","level":4,"time":"December 15, 2023 09:55:01","remoteAddr":"","user":"--","app":"no app in context","method":"","url":"--","message":"Could not boot files_downloadactivity: Call to undefined method OC\\Server::getEventDispatcher()","userAgent":"--","version":"28.0.0.11","exception":{"Exception":"Error","Message":"Call to undefined method OC\\Server::getEventDispatcher()","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/AppFramework/Bootstrap/Coordinator.php","line":200,"function":"boot","class":"OCA\\FilesDownloadActivity\\AppInfo\\Application","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":434,"function":"bootApp","class":"OC\\AppFramework\\Bootstrap\\Coordinator","type":"->"},{"file":"/var/www/nextcloud/lib/private/App/AppManager.php","line":213,"function":"loadApp","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":125,"function":"loadApps","class":"OC\\App\\AppManager","type":"->"},{"file":"/var/www/nextcloud/cron.php","line":55,"function":"loadApps","class":"OC_App","type":"::"}],"File":"/var/www/nextcloud/apps/files_downloadactivity/lib/AppInfo/Application.php","Line":49,"message":"Could not boot files_downloadactivity: Call to undefined method OC\\Server::getEventDispatcher()","exception":{},"CustomMessage":"Could not boot files_downloadactivity: Call to undefined method OC\\Server::getEventDispatcher()"}}
skjnldsv commented 2 months ago

Fixed in upcoming release