Closed dorner365 closed 1 year ago
That is normal with a beta installed and going to a production release, just let it reinstall.
Well, I let it reinstall and now it shows:
So it did take the upgrade to the final version. However, if I select update at this point, that's the outcome:
Make a selection: 6 domain_vpn_routing: domain_vpn_routing failed Checksum Check Current Checksum: bc018b5aba6c2a4eeaf603d6bb360e4f69a04d407edcf5be3fc938449ab5d44a Valid Checksum: f1c1e0949fb4442161db13b068c36afd9c995b881c0a4f4282e3da9e873f35da Checksum Failed Current Checksum: bc018b5aba6c2a4eeaf603d6bb360e4f69a04d407edcf5be3fc938449ab5d44a Valid Checksum: f1c1e0949fb4442161db13b068c36afd9c995b881c0a4f4282e3da9e873f35da domain_vpn_routing is up to date. Do you want to reinstall domain_vpn_routing Version: v2.1.0-beta6? Enter Y for Yes or N for No
That begs the question which version is now really installed?
Sorry for the formatting - it was just a cut-and-paste from the CLI
Reload from your command console, it likely is upgraded but the running version in your session won't change until you reload it, this is a normal limitation of working within a shell. It saves the running version in memory so it will still think it's the old one.
I exited the session and started a new one. It looks alright now:
Make a selection: 6 domain_vpn_routing is up to date. Do you want to reinstall domain_vpn_routing Version: v2.1.0? Enter Y for Yes or N for No
Closing it. Thank you!
To give context the reason why the beta gives the checksum error is because the versions are seen the same as prod when the update function compares local to the remote repo one available, because they both are seen as "v2.1.0" it throws a checksum error asking to reinstall, this would also happen if you modify the script file locally and try and update. When the update completes the loaded version is still loaded as the prior version but the ones executed by cron job will run as the new version so you are effectively updated.
This is the outcome of an update form 2.1 Beta 6 to v2.1.0 final:
Make a selection: "6 domain_vpn_routing: domain_vpn_routing failed Checksum Check Current Checksum: bc018b5aba6c2a4eeaf603d6bb360e4f69a04d407edcf5be3fc938449ab5d44a Valid Checksum: f1c1e0949fb4442161db13b068c36afd9c995b881c0a4f4282e3da9e873f35da Checksum Failed Current Checksum: bc018b5aba6c2a4eeaf603d6bb360e4f69a04d407edcf5be3fc938449ab5d44a Valid Checksum: f1c1e0949fb4442161db13b068c36afd9c995b881c0a4f4282e3da9e873f35da domain_vpn_routing is up to date. Do you want to reinstall domain_vpn_routing Version: v2.1.0-beta6? Enter Y for Yes or N for No
This happens regardless, whether development mode is enabled or not.