dispatch icon indicating copy to clipboard operation
dispatch copied to clipboard

Issue with new version image database

Open manireddyk opened this issue 4 years ago • 5 comments

I have manually cloned and build the dispatch image, and pushed the code repo, while Im trying to use the image, UI is loading when I click on cases/incidents looks all my prev incidents created by prev version container were not showing, When I read the logs, image

Now I have reverted it back version, and created container from it, now its showing all the previous data, can you @mvilanova @kevgliss please check any issue with new release db call code

manireddyk avatar Nov 16 '22 18:11 manireddyk

Have you updated your database schema by issuing dispatch database upgrade with the new code checked out? In general, you should run this command every time you update the underlying code unless you know for sure there were no database schema changes.

kevgliss avatar Nov 16 '22 18:11 kevgliss

oh I havent run this step , Thanks you so much for your quick response @kevgliss , is there any places where you can add all these points, will be helpful for others

manireddyk avatar Nov 16 '22 18:11 manireddyk

Hopefully, this is captured here: https://hawkins.gitbook.io/dispatch/upgrading#upgrading-dispatch

Please let us know how we can improve the discovery/clarity of our docs!

kevgliss avatar Nov 16 '22 18:11 kevgliss

Thanks @kevgliss

I have upgraded and tried with new version, its not working as expected, How can I revert it back schema as well ? might be this step is required in the documenting, if they want to revert it back the schema

I have logged into the old dispatch-docker container and ran the dispatch database downgrade, not working image

can you please help on this

manireddyk avatar Nov 17 '22 10:11 manireddyk

I got the below error after I upgrade the schema

  1. I can able to create incidents in default organization but its not sending the slack notifications image

  2. If I try to switch diff org, while trying to create incident its not even creating image

thats y would like to revert it back, can you please share the db schema revert steps/how to revert with older version

manireddyk avatar Nov 17 '22 11:11 manireddyk