Troubleshooting Heroku Database Upgrade on Chatwoot

TLDR timdid encountered an issue with a Chatwoot app after a Heroku rollback. pranavrajs advised a step-by-step upgrade. timdid updated to v2.1 and reattached the old database, resolving the issue.

Photo of timdid
timdid
Wed, 27 Apr 2022 10:41:10 UTC

It seems that Heroku didn't really rollback my chatwoot 1.13 in the above logs. I managed to rollback to it manually but my app isn't building successfully anymore. Here is the current logs. pranavrajs If I have a functional Chatwoot v2 Heroku app. How can I migrate all my data from an other app (chatwoot 1.13) to it ? (Messages history, inboxes, agent bots, etc.) ?

Photo of pranavrajs
pranavrajs
Wed, 27 Apr 2022 15:37:45 UTC

timdid This should have been done step by step. 1.13 - > 1.14 and so on.

Photo of pranavrajs
pranavrajs
Wed, 27 Apr 2022 15:38:11 UTC

Now the problem is that your database is upgraded, but the code is not.

Photo of pranavrajs
pranavrajs
Wed, 27 Apr 2022 15:38:39 UTC

From the errors it seems like Heroku Redis is down or not working.

Photo of pranavrajs
pranavrajs
Wed, 27 Apr 2022 15:39:02 UTC

Which version of Chatwoot are you currently on?

Photo of pranavrajs
pranavrajs
Wed, 27 Apr 2022 15:39:13 UTC

Is the Database backups enabled in Heroku?

Photo of timdid
timdid
Wed, 27 Apr 2022 15:51:07 UTC

Hi thanks for your help! I finally updated to v2.1 where I previously merged all my contributions and specific changes and now it works!

Photo of timdid
timdid
Wed, 27 Apr 2022 15:52:27 UTC

I had this 2,1 version app that worked on heroku so I changed the database addons to attach my old database from 1.13 (maybe upgraded by update process like you explained) to the new v2 app and it seems to work

Photo of timdid
timdid
Wed, 27 Apr 2022 15:53:01 UTC

From now I will update step by step and try to stay up date !

Photo of pranavrajs
pranavrajs
Wed, 27 Apr 2022 16:01:12 UTC

Great! You would start seeing the update notifications if there is a new release from now.