I would like to upgrade from SuiteCRM 7.11 to 7.11.8 using the silent upgrade via the robo command to test if our customization all survive an update to later automate the update process in a batch job.
I am on Windows 10 but executing the CLI upgrade command gives me every time “’.\vendor\bin\robo’ is not recognized as an internal or external command,
operable program or batch file.”
Likewise, ‘robo list’ gives the same error.
I assume something is missing in my local installation? Maybe an environmental variable that has to be set or so? (I am sure the interactive Wizard will work, but we would want to go the CLI way)
if you use a full package or an upgrade package, we include all the contents of the vendor dir, even if it is not in our repo - it is an extra step we do when creating the packages.
but if you grab our code directly from the repo, with Git or by downloading the zip, then you need to have “composer” installed in your machine and run
I do have a folder …/vendor/bin with robo in it, it has only 1KB in size and its content is
../consolidation/robo/robo
This file points to a file that is then a php file which looks like robo but neither is a script or binary file that is executable form command line? Do I now still have to install this composer?
If you don’t have that, you need to get it either from the upgrade package (not the Zip from Github), or from installing and running composer (which I recommend).
When typing explicitly ‘php consolidation/robo/robo …’ it works but just plain ‘robo’ doesn’t work and htis redirect form vendors/bin/ isnt working on my Windows machine.
P.S. you need php to be on your classpath for this to work.
Not exactly the way it should work but the upgrade gets started this way and also terminates successfully.
also i can confirm that robo has installed fine… as i can get the list something similar to @pgr suggestions in this post,Please find the attached screenshot