Planning Analytics

Planning Analytics

Get AI-infused integrated business planning

 View Only
  • 1.  PAW clean.sh

    Posted Thu December 20, 2018 11:46 AM
    Hi there
    I have just upgraded to new PAW v2.0.36 from a previous version.
    I have followed the upgrade steps from this URL:
    https://www.ibm.com/support/knowledgecenter/en/SSD29G_2.0.0/com.ibm.swg.ba.cognos.tm1_inst.2.0.0.doc/t_paw_upgrade.html

    When I try to run clean.sh (i'm on windows) I get the following errors:

    Removes images for this release. Run after upgrading to a newer release.
    Clean images? (default n): y
    error during connect: Delete http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.37/images/pa-docker:6000/planninganalytics/admintool:1.0.107: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
    error during connect: Delete http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.37/images/pa-docker:6000/planninganalytics/bss:1.0.316.1: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.
    error during connect: Delete http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.37/images/pa-docker:6000/planninganalytics/bss-init:1.0.109: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running.


    Anyone seen this before ?.



    ------------------------------
    Nick Waters
    ------------------------------

    #PlanningAnalyticswithWatson


  • 2.  RE: PAW clean.sh

    Posted Thu December 20, 2018 12:20 PM
    Hey Nick,

    There is github related to this issue

    https://github.com/docker/for-win/issues/1825

    ------------------------------
    paul YOUNG
    ------------------------------



  • 3.  RE: PAW clean.sh

    Posted Thu December 20, 2018 01:15 PM
    Thanks Paul - I will check that out !.
    Just out of interest does this run inside the new PAW folder and/or against the old PAW folders ?.
    The documentation is a bit *hazy* - "Running this script removes images for the release in which it is run. After you upgrade, you can run this script to remove images from the previous release."

    ------------------------------
    Nick Waters
    ------------------------------



  • 4.  RE: PAW clean.sh

    Posted Wed January 30, 2019 03:04 AM
    Hi Nick, 

    In my experience and against what is stated in the documentation (and doesn't work anyway), when upgrading PAW I found it better to proceed this way :
    - stop PAW
    - make a full backup of the databases using the script included in paw/scripts folder (not needed because the new version uses the same databases, but you never know)
    - remove manually all images & containers from docker using

      docker rmi $(docker images -a -q)
      docker rm $(docker ps -a -q)
    - run start.ps1 from the new PAW to install and start the new version.

    Works like a charm, except when docker decides to have fun with network connections :)

    Cheers, 
    Laurent 



    ------------------------------
    Laurent Henssien
    ------------------------------