You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to update from Testrail v7.0.1.1013 to v7.5.1.7010 I get stuck in a loop with the updater.
It initially loads stating that my database version (MySQL) is currently set to 20210320140000 and it wants to update it to 20220425000001, and it states that my Cassandra version is - and the new version is 1. It will run through the updater and tell me that it was a successful update (Only updating the database version (MySQL)) and that i can go to testrail to login, but when i try to transition back to the login screen it pushes me back to the updater stating that Cassandra is still set to - instead of 1
Workarounds
I can exec into the pod that is running the mysql instance and insert the following into the settings table:
insert into settings (name, value) values ('cassandra_version', 1);
After inserting this into the settings table, if i transition back to the Testrail UI and reload the page it'll work like a charm.
Closing
Is there something I am doing wrong here that is causing this update process to act this way? I haven't seen any of this behavior documented in the documentation and I don't think I should have to manually update the database to get the application to work properly. Any help would be appreciated!
The text was updated successfully, but these errors were encountered:
yes confirmed to solve the issue for me
out of curiosity @bsimmons123, how did you come to the solution that you should insert that setting with that value to the settings Table? thanks.
I started and stopped a LOT of different versions of testrails and checked the sql entries for that settings table on all versions and determined that was the one difference. I'm glad that did the trick for you, hopefully this is fixed in their future versions
It's possible to circumvent the loop by setting cassandra_version in the SQL db directly, but this does not initialize the cassandra db and leads to errors in the web UI (e.g. in Administration -> Data Management).
The real fix is to delete the CASSANDRA_ definitions from your _config/config.php. The loopy wizard will then ask you to set up the cassandra parameters (again). This creates the necessary entries in the settings table and populates the cassandra keyspace.
Environment
Whats the Issue
When I try to update from Testrail
v7.0.1.1013
tov7.5.1.7010
I get stuck in a loop with the updater.It initially loads stating that my database version (MySQL) is currently set to
20210320140000
and it wants to update it to20220425000001
, and it states that my Cassandra version is-
and the new version is1
. It will run through the updater and tell me that it was a successful update (Only updating the database version (MySQL)) and that i can go to testrail to login, but when i try to transition back to the login screen it pushes me back to the updater stating that Cassandra is still set to-
instead of1
Workarounds
I can exec into the pod that is running the mysql instance and insert the following into the settings table:
After inserting this into the settings table, if i transition back to the Testrail UI and reload the page it'll work like a charm.
Closing
Is there something I am doing wrong here that is causing this update process to act this way? I haven't seen any of this behavior documented in the documentation and I don't think I should have to manually update the database to get the application to work properly. Any help would be appreciated!
The text was updated successfully, but these errors were encountered: