[Bug]: File level activity log shows no activities like changes or shares for standard folders
⚠️ Before submitting, please verify the following: ⚠️
- [x] This is a bug, not a question or a configuration issue.
- [x] This issue is not already reported on Github (I've searched it).
- [x] Nextcloud Server and Desktop Client are up to date. See Server Maintenance and Release Schedule and Desktop Releases for supported versions.
- [x] I agree to follow Nextcloud's Code of Conduct
Bug description
The file level activity log shows no activities like changes or shares. Title edited after further diagnosis by nilsding.
Steps to reproduce
- Open the Nextcloud context menu
- Click on Activity
- The Activity windows does not display activities like changes or shares.
Expected behavior
When displaying the Activity windows, activities like changes or shares should be visible.
Which files are affected by this bug
An Excel file with recent changes and shares. I use VFS, the file is kept locally.
Operating system
Windows
Which version of the operating system you are running.
Windows 11
Package
Official Windows MSI
Nextcloud Server version
31.0.8
Nextcloud Desktop Client version
4.0.3 and various earlier versions
Is this bug present after an update or on a fresh install?
Updated from a minor version (ex. 3.16.1 to 3.16.2)
Are you using the Nextcloud Server Encryption module?
Encryption is Enabled
Are you using an external user-backend?
- [ ] Default internal user-backend
- [ ] LDAP/ Active Directory
- [ ] SSO - SAML
- [x] Other
Nextcloud Server logs
Additional info
Answers on encryption and backend are filled in arbitrarily since the server is provided by SURF (NL) and details are unknown to me.
@koenbokern Do you have the https://github.com/nextcloud/activity installed and enabled in your server? Do you see your local changes to the files/folders listed?
@camilasan Technical server management is done by SURF (the Netherlands) as part of the Research Drive service, so I would have to ask them for a definitive answer. But I do see notificiations settings (mail/push for various events etc.) in my personal profile settings. The notifications do function, although push notifies consistently, while mail does not (even with instant notification).
The activity log functions correctly in our web interface and I do see online and desktop notifications of local changes like adding content to Excel cells or changing the Excel file name. But the desktop activity log of the local file remains empty for online and local changes. The same goes for changes to newly created files. Changes are actually reflected in the activity overview that is opened through the notification tray. Events are not listed chronologically, some older events are listed earlier than more recent events, and specfically (webdav) app password creation events (automatically triggered when we open our dashboard app) are listed first and these go back 14 days.
Since I posted this perceived bug I asked the technical managers to close an earlier feedback ticket, but I could request for the the ticket to remain open if they should investigate their servers. Maybe they still have to update some apps after they migrated to Nextcloud.
Since I posted this perceived bug I asked the technical managers to close an earlier feedback ticket, but I could request for the the ticket to remain open if they should investigate their servers. Maybe they still have to update some apps after they migrated to Nextcloud.
I think you need to check what is happening on the server side. There are no other reports like this on the client side.
also would be possible for you to share desktop client logs? we might be able to see what the server is returning when we request the activities.
also would be possible for you to share desktop client logs? we might be able to see what the server is returning when we request the activities.
I will share a log segment related to the failed activity view action:
2025-12-15 18:43:35:790 [ debug nextcloud.gui.systray C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\gui\systray.cpp:387 ] [ OCC::Systray::createFileDetailsDialog ]: Opening new file details dialog for "C:/Users/[user]/Nextcloud/test Koen (Projectfolder)/nowtest/excelnowtest.xlsx"
2025-12-15 18:43:35:790 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\libsync\accessmanager.cpp:72 ]: 2 "" "[server URL]/ocs/v2.php/apps/activity/api/v2/activity/filter?sort=asc&object_type=files&object_id=98721593&format=json" has X-Request-ID "edf68a4a-0877-4d47-bca6-2d17942d6ccc"
2025-12-15 18:43:35:790 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\libsync\abstractnetworkjob.cpp:368 ]: OCC::JsonApiJob created for "[server URL]" + "ocs/v2.php/apps/activity/api/v2/activity/filter" "OCC::FileActivityListModel"
2025-12-15 18:43:35:790 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\libsync\accessmanager.cpp:72 ]: 6 "PROPFIND" "[server URL]/remote.php/dav/files/[user mail]/wtest/excelnowtest.xlsx" has X-Request-ID "3f1ba177-e2bd-4483-a9a5-51fc7c156d25"
2025-12-15 18:43:35:790 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\libsync\abstractnetworkjob.cpp:368 ]: OCC::PropfindJob created for "[server URL]" + "wtest/excelnowtest.xlsx" "OCC::FileTagModel"
2025-12-15 18:43:35:806 [ warning default qrc:/qml/src/gui/filedetails/ShareeSearchField.qml:152 ]: qrc:/qml/src/gui/filedetails/ShareeSearchField.qml:152:5: QML Popup: Binding loop detected for property "implicitHeight":
qrc:/qt-project.org/imports/QtQuick/Controls/FluentWinUI3/Popup.qml:13:5
2025-12-15 18:43:35:806 [ warning default qrc:/qml/src/gui/filedetails/ShareeSearchField.qml:152 ]: qrc:/qml/src/gui/filedetails/ShareeSearchField.qml:152:5: QML Popup: Binding loop detected for property "implicitHeight":
qrc:/qt-project.org/imports/QtQuick/Controls/FluentWinUI3/Popup.qml:13:5
2025-12-15 18:43:35:806 [ warning com.nextcloud.sharemodel C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\gui\filedetails\sharemodel.cpp:238 ]: Not updating share model data. Local path is: "" Is account state null: false
2025-12-15 18:43:35:806 [ debug com.nextcloud.sharemodel C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\gui\filedetails\sharemodel.cpp:255 ] [ OCC::ShareModel::updateData ]: Updating share model data now.
2025-12-15 18:43:35:806 [ info nextcloud.sync.accessmanager C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\libsync\accessmanager.cpp:72 ]: 6 "PROPFIND" "[server URL]/remote.php/dav/files/[user mail]/test Koen (Projectfolder)/nowtest/excelnowtest.xlsx" has X-Request-ID "02f4e4cc-da8a-4650-b65b-90e67fad4d2d"
2025-12-15 18:43:35:806 [ info nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\libsync\abstractnetworkjob.cpp:368 ]: OCC::PropfindJob created for "[server URL]" + "/test Koen (Projectfolder)/nowtest/excelnowtest.xlsx" ""
2025-12-15 18:43:35:806 [ warning nextcloud.gui.sharing C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\gui\filedetails\sharemodel.cpp:353 ]: The file cannot be shared because it does not have sharing permission.
2025-12-15 18:43:35:811 [ debug default C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\gui\filetagmodel.cpp:193 ] [ OCC::FileTagModel::updateOverflowTagsString ]: ""
2025-12-15 18:43:35:811 [ warning default qrc:/qml/src/gui/filedetails/FileDetailsWindow.qml:28 ]: qrc:/qml/src/gui/filedetails/FileDetailsWindow.qml:28: TypeError: Cannot read property 'name' of undefined
2025-12-15 18:43:35:830 [ info nextcloud.gui.socketapi C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\gui\socketapi\socketapi.cpp:342 ]: Lost connection QLocalSocket(0x25727d41310)
2025-12-15 18:43:36:020 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\gui\creds\webflowcredentials.cpp:411 ]: request finished QUrl("[server URL]/ocs/v2.php/apps/activity/api/v2/activity/filter?sort=asc&object_type=files&object_id=98721593&format=json") with request id "edf68a4a-0877-4d47-bca6-2d17942d6ccc"
2025-12-15 18:43:36:020 [ info nextcloud.sync.networkjob.jsonapi C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\libsync\networkjobs.cpp:1118 ]: JsonApiJob of QUrl("[server URL]/ocs/v2.php/apps/activity/api/v2/activity/filter?sort=asc&object_type=files&object_id=98721593&format=json") FINISHED WITH STATUS "OK"
2025-12-15 18:43:36:020 [ warning nextcloud.sync.networkjob.jsonapi C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\libsync\networkjobs.cpp:1139 ]: Nothing changed so nothing to retrieve - status code: 304
2025-12-15 18:43:36:048 [ info nextcloud.sync.credentials.webflow C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\gui\creds\webflowcredentials.cpp:411 ]: request finished QUrl("[server URL]/remote.php/dav/files/[user mail]/wtest/excelnowtest.xlsx") with request id "3f1ba177-e2bd-4483-a9a5-51fc7c156d25"
2025-12-15 18:43:36:048 [ warning nextcloud.sync.networkjob C:\Users\User\AppData\Local\Temp\windows-35544\client-building\desktop\src\libsync\abstractnetworkjob.cpp:474 ]: Network request error "Error transferring [server URL]/remote.php/dav/files/[user mail]/wtest/excelnowtest.xlsx - server replied: Not found" HTTP status 404 httpReason "Not found"
Could there be a bug/issue related to the path?
For today's test the local path was: C:/Users/[user]/Nextcloud/test Koen (Projectfolder)/nowtest/excelnowtest.xlsx
The path for the server request was: "[server URL]/remote.php/dav/files/[user mail]/wtest/excelnowtest.xlsx"
The subfolder name is truncated by 2 characters from the left, also after shortening it by 2 myself (locally and online due to sync).
I was not able to reproduce this locally with a team folder, but only with a standard shared folder. For the latter I did not see any file activities in the web UI either. To me this behaviour sounds like we're running into nextcloud/activity#828 here.
The client logs indicate that the response retrieved by the server was empty (confusingly the status is logged as "OK" instead of "Not Modified"):
\src\gui\creds\webflowcredentials.cpp:411 ]: request finished QUrl("[server URL]/ocs/v2.php/apps/activity/api/v2/activity/filter?sort=asc&object_type=files&object_id=98721593&format=json") with request id "edf68a4a-0877-4d47-bca6-2d17942d6ccc"
\src\libsync\networkjobs.cpp:1118 ]: JsonApiJob of QUrl("[server URL]/ocs/v2.php/apps/activity/api/v2/activity/filter?sort=asc&object_type=files&object_id=98721593&format=json") FINISHED WITH STATUS "OK"
\src\libsync\networkjobs.cpp:1139 ]: Nothing changed so nothing to retrieve - status code: 304
@koenbokern are those files inside a Team Folder (created by the groupfolders server app) or inside a plain shared folder?
The truncated request is for retrieving the file tags which would be something we need to fix on the client indeed.
@koenbokern are those files inside a Team Folder (created by the
groupfoldersserver app) or inside a plain shared folder?
@nilsding I assume these are plain shared folders since the service provider SURF is currently planning the implementation of Nextcloud native team folders.
These "project folders" in SURF Research Drive are created via a dashboard. dashboard documentation / project folder creation documentation