When I go to Auth -> Users the last activity for all users is shown as "never". Some users did create sessions, jwt tokens and documents but last activity is not updated.
When is last activity supposed to update? Also does the "users.*.update" event trigger when last activity is updated?
I'm using a self hosted Appwrite instance with version 1.4.11 and there are not errors inside the "worker-audits" container.
Summary
Users are experiencing issues where the last activity of all users is shown as "never" in the Appwrite console, even though they have performed actions such as creating sessions, JWT tokens, and documents. It seems to be related to a migration issue from older versions. One user confirmed that the last activity field is working fine on a clean install of version 1.4.11. There is an open issue on Github related to this problem. The solution is to create a new issue on Github to address this specific Last Activity issue.
Mosh Ontong
Rank 5: Hypervisor
Nov 13, 2023, 14:21
I also encounter this issue and I already post this in repo
This could be related...but it's different. So an issue specifically for the Last Activity would be good
Drake
Admin
Nov 13, 2023, 16:12
This is for the activities tab when viewing a user in the console
Drake
Admin
Nov 14, 2023, 05:38
Hmm I just checked my cloud project and last activity is being set as expected 🧐
WhiteWalker72
Rank 2: Process
Nov 15, 2023, 15:59
I'm not sure what's causing this. I went back to v1.4.9 but that didn't' fix the issue. I think it's directly related to your issue because the activity within the Activity tab for every user is also empty
zlmr
Nov 15, 2023, 16:27
This also happens for me, I noticed it first time on v1.3.x so I doubt it is v1.4 issue.
Last activity field works for me on clean install of v1.4.11, so maybe it is migration issue from older versions.
Activity tab is empty for both clean install and the migrated instance.
WhiteWalker72
Rank 2: Process
Nov 15, 2023, 16:47
I did migrate from v1.3.x to v1.4.x at some point so it could definitely be related to that