ISISComputingGroup / IBEX

Top level repository for IBEX stories
5 stars 2 forks source link

Deployment: Update the upgrade script #3492

Open ghost opened 6 years ago

ghost commented 6 years ago

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:

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)

FreddieAkeroyd commented 6 years ago

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

davidkeymer commented 5 years ago

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

davidkeymer commented 5 years ago

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.```
davidkeymer commented 5 years ago

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 aWeb\Dashboards\redirect.html"

davidkeymer commented 5 years ago

As mentioned above, script provides confusing/incorrect instructions for creating shortcut to ibex_system_boot.bat in Startup Group of start menu.

Correct procedure here: https://github.com/ISISComputingGroup/ibex_developers_manual/wiki/Deployment-on-an-Instrument-Control-PC#creating-ibex-auto-startup

John-Holt-Tessella commented 5 years ago

Add a step which selects a blank configuration or the top configuration in the list. After boot.

LiamPanchaud commented 5 years ago
LiamPanchaud commented 5 years ago

PR: https://github.com/ISISComputingGroup/ibex_utils/pull/32

FreddieAkeroyd commented 5 years ago

Wiki page for ibex_system_boot.bat corrected

ThomasLohnert commented 5 years ago

Some more issues I noticed in recent deployments: