Is there a better option to updating XO from source? The recommended updater script from the install script github falls over horribly as it appears the current install made a different directory structure than the one the update script expects.
I appreciate that older installs may have the directory layout and the script may work fine and obsoleting those installs may cause as much trouble when fixing it for those new installs. Also the github maintainer didn’t respond to the (admittedly half baked) issue on the repo…
I ended up just making a new VM and installing XO fresh on that with the current build. And yes, XO-Lite existing saved me. I presume that’s the best answer right now?
That’s exactly the one I used and it fell on its face.
Curious… I just checked my current install, perhaps I used a different installer script when I first got it going and that caused the issue. My fresh install used the install script from the same user as the update script and that uses a compatible folder structure.
The takeaway from this is: If you want to use the update script, use the install script from the same author.
I’ve used the script for a while, and when there are errors I normally re-clone the Git repo to get the latest script and that’s solved it almost every time. But fortunately a wiped XO install is easy to fix with a clean install and restoring XO config from backup (you do have a backup of that, right? right?!?!)