You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previous versions of Nextcloud would update the oc_activity table when a file like a PDF was viewed via a shared link.
It would get added to oc_activity under the subject of public_shared_file_downloaded.
It appeared to be called through singleFileDownloaded in apps/files_sharing/lib/Controller/ShareController.php.
Noticed that now, after upgrading to Nextcloud Hub 9(30.0.5), no longer is an alert added to oc_activity when you view a PDF via a shared link.
It does log to oc_activity when you download the file from a shared link. That still appears to call singleFileDownloaded.
Cheers,
DrJES
Steps to reproduce
1.Share a link of a PDF
2.Open the PDF to view via the created link
3.Search for an entry in oc_activity confirming that file was accessed. There will be no record:
example SQL: select subject,timestamp,file from oc_activity where subject='public_shared_file_downloaded' ;
Expected behavior
Viewing of files shared via a link should have their access logged. Worked at least in version 24.
Nextcloud Server version
30
Operating system
RHEL/CentOS
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Bug description
Hi Folks,
Previous versions of Nextcloud would update the oc_activity table when a file like a PDF was viewed via a shared link.
It would get added to oc_activity under the subject of public_shared_file_downloaded.
It appeared to be called through singleFileDownloaded in apps/files_sharing/lib/Controller/ShareController.php.
Noticed that now, after upgrading to Nextcloud Hub 9(30.0.5), no longer is an alert added to oc_activity when you view a PDF via a shared link.
It does log to oc_activity when you download the file from a shared link. That still appears to call singleFileDownloaded.
Cheers,
DrJES
Steps to reproduce
1.Share a link of a PDF
2.Open the PDF to view via the created link
3.Search for an entry in oc_activity confirming that file was accessed. There will be no record:
example SQL: select subject,timestamp,file from oc_activity where subject='public_shared_file_downloaded' ;
Expected behavior
Viewing of files shared via a link should have their access logged. Worked at least in version 24.
Nextcloud Server version
30
Operating system
RHEL/CentOS
PHP engine version
PHP 8.3
Web server
Apache (supported)
Database engine version
MySQL
Is this bug present after an update or on a fresh install?
Fresh Nextcloud Server install
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: