-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deployment: Update the upgrade script #3492
Comments
The current upgrade script asks you to copy ibex_system_boot.bat into the “ProgramData” all users startup area. This requires administrator (gamekeeper) privilege and also means ibex would start if e.g. gamekeeper logged onto console itself. I think a better approach would be to have ibex run as part of spudulike login only and also to use a shortcut in the startup area so the file does not need to be updated again if ibex_system_boot was to change in future. So the new procedure would be:
The upgrade script could check for this shortcut and create it if it is not present |
The script should also install and configure Git, if required, as per the instructions on https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/Getting-started-with-Git-and-GitHub |
The script produces this output, which is now no longer correct. Update web dashboard ...
Add the host name of the instrument to NDX_INSTS or ALL_INSTS in webserver.py in the JSON_bourne repository.``` |
Also wrong output: "On NDAEXTWEB1, pull the updated code and add a link to the instrument dashboard on the main dataweb page under C:inetpub\wwwroot\Dat |
As mentioned above, script provides confusing/incorrect instructions for creating shortcut to Correct procedure here: https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/Deployment-on-an-Instrument-Control-PC#creating-ibex-auto-startup |
Add a step which selects a blank configuration or the top configuration in the list. After boot. |
|
Wiki page for ibex_system_boot.bat corrected |
Some more issues I noticed in recent deployments:
|
Upgrade script has changed substantially since this issue was opened. Recent deployments have not had these issues. |
As a developer, I want the upgrade script to be up to date so that I can install the latest version of IBEX on instruments more easily.
Include:
Current repository status is: On branch NDXEMMA-A
Your branch is up to date with 'origin/NDXEMMA-A'.
nothing to commit, working tree clean
Unexpected git status. Please confirm that configurations are being pushed to the appropriate remote repository` eevben though this is fine.
This came about while upgrading instruments to IBEX version 5.0.1 (see #3414)
The text was updated successfully, but these errors were encountered: