Issue with Activity Logs on Timeline
Hi,
I’m reaching out regarding an issue I've encountered with the activity logs not appearing on the timeline. Currently, I am using version 0.23, and in the network tab, I consistently see an empty array ([]) being returned.
I would appreciate any guidance you can provide on this matter. Here are a few details regarding the issue:
Version: 0.23
Observed Behavior: Activity logs are not appearing, and the network tab shows an empty array.
Steps Taken: I’ve checked for any obvious configuration issues and ensured that logging is enabled.
If there are known issues with this version or alternative troubleshooting steps that don't require merging to the latest version, please let me know.
Thank you for your assistance!
12 Replies
Hi @anjali, is your worker running? TimelineActivities are generated by async jobs
Yes, @charles Getting added into the queue after that processor won't take data from queue
what do you mean added in the queue? You see them in redis?
could you share your worker logs?
Hi @charles , yes-worker is running. The job table are being created with data, but when they're marked as completed, the data seems to be disappearing. I've checked the entity_events_to_do_queue and pg_boss job queue to investigate, but I haven't been able to pinpoint the exact cause
ok, could you migrate to 0.31 (you will need to migrate to 0.24, 0.30 and 0.31 successively) because we don't recommend using pg-boss anymore
You'll find the information on how to migrate here:https://twenty.com/developers/section/self-hosting/upgrade-guide
once done, if the problem still persist, we can schedule a session with someone in the team to troubleshoot your issue 🙂
@charles Thank you for the update! We appreciate your guidance on migrating to 0.31. However, we’d prefer not to go through the intermediate steps, particularly migrating to 0.24. other recommendations you might have? We’re eager to resolve the issue without the need for multiple migrations.
Thanks for your help!
@anjali this is not possible at the moment unfortunately 😦 It's part of the game self-hosting on a 0.x version. While we plan to improve how easy it is to migrate from a version to the next one this is not possible currently without going through all the versions
@anjali I assume it has something to do with your docker compose file. I was also facing this problem. I was able to fix it by making sure the 'worker' service is on the docker compose file too as i have my own version of the docker compose file
@Ater Can you please share local docker compose file?
@anjali Sure here is mine. FYI, im using the latest version of the twenty. So the environment is different for you if you're using the old version, but the structure might be the same.
here is the compose file from the main code that i use for reference:
https://github.com/twentyhq/twenty/blob/main/packages/twenty-docker/docker-compose.yml
just make sure you have the 'worker' service section working to do the activity logs then i think it should fix your problem
@Ater Instead of docker-compose can we do that with docker file? Our deployment is on AWS ECS with EC2.
I'm not sure with dockerfile on EC2, I'm hosting the docker compose file on VPS but i think it more feasible do host with docker compose file