I searched the forum and Github, but didnt find satisfactory answer… What is the right process to OTA flash 0.7.0 firmware on deployed Photons running mostly 0.6.x?

I tried flashing first part1, then part2, then bootloader. After this process, the device then works normally, but CLI reports old version (0.6.2) while System.versionNumber() gives some nonsense numbers like 12.0.2. Tried the same process twice with just the nonsense number changing.

We are running local cloud (Brewskey fork), but this should not make difference.

Are these devices under a PRODUCT_ID?
If not, a mere OTA flash of a 0.7.0 targeted application firmware should do all the right stuff, as long noone interferes with the prolonged flashing process with several reboots.
With PRODUCT_ID you need to make sure not to lock the system version.

Sure this is best tested with a local device, but I’ve had no issues with Safe Mode Healer (the auto-updater) lately - although others reported issues, but we don’t know whether the update process was allowed to run uninterrupted.