-
Notifications
You must be signed in to change notification settings - Fork 4.4k
🐛 Bug Report: Empty activity data in Console #5805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@yongbi1997, thanks for raising this issue! 🙏🏼 It seems 1.3.x added a userInternalId attribute to the internal audit collection, but we missed adding the attribute as part of the migration. That's why new audit activity fails with:
We'll have to push out another patch release and developers will need to run the migrate command again to create the attribute. |
I am on version 1.5.5 and my and my appwrite container "appwrite-worker-audits logs shows this error |
@bigraymasoom, you missed the 1.3.8 patch. You can try running that migration by executing:
Make sure to backup before just in case. |
I am currently on version 1.5.5 and its in production. After executing the command do I have to repeat the upgrade process to go to 1.5.5 or this command is safe without disturbing other components? Thanks |
@bigraymasoom, it would be best to test in a duplicate environment first. Yes, it would be good to run the 1.5.5 migration again after. |
Thanks for help, do I have to run the migration again like from 1.3.8 to 1.3.9 up to 1.5.5 or just to 1.5.5 after 1.3.8. Thanks |
Output of above command for 1.3.8
Output
|
1.3.8 and then 1.5.5. Looks like you'll need to downgrade to 1.3.8 to run the migrate command. |
Can you please refer me to the docs for downgrade (how to downgrade?). And after downgrading, do i have to upgrade to immediately higher versions till reaching 1.5.5 or directly to the 1.5.5 after 1.3.8. Thanks |
@bigraymasoom, see https://appwrite.io/docs/advanced/self-hosting/update. For 1.3.8, instead of the "upgrade" entrypoint, use "install". Run the migrate command and then upgrade to 1.5.5. |
Thanks, btw everything is working fine except activity tab in console. I doest not log the activity. So, after searching the discord we thought it could be the problem after checking appwrite-worker-audits logs. |
👟 Reproduction steps
And the activity logs of collections are missing as well.
👍 Expected behavior
show all correct activity logs
👎 Actual Behavior
no activity logs in all tabs
🎲 Appwrite version
Version 1.3.x
💻 Operating system
Linux
🧱 Your Environment
More details in discord
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: