[TIP] How to resolve deviceHQ node-red app install failure

Home Forums Conduit: AEP Model [TIP] How to resolve deviceHQ node-red app install failure

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #30889
    projectmentor
    Participant

    Hi,
    Platform:
    MTCAP-915-001A (Conduit AEP v. 5.0.0)

    Symptoms:
    After successful checkin by conduit to deviceHQ.

    Hang after Node Red app update is d/l but not installed by DeviceHQ

    DeviceHQ reports sucessful app install/download

    On conduit GUI Apps…Node-RED Apps

    custom-node-red-app-name status = ‘Updating’
    >>> expected = ‘Running’ <<<

    At this point the default ‘Development’ node red app seems to be running.

    Inspection of: /var/log/app/node-red.log shows:
    `
    [info] Node-RED version: v0.15.3
    [info] Node.js version: v0.10.48
    [info] Linux 4.9.87 arm LE
    [info] Loading palette nodes
    [info] Settings file : /var/config/app/install/development/settings.js
    [info] User directory : /var/config/app/install/development
    [info] Flows file : /var/config/app/install/development/flows.json
    [info] Creating new flow file
    [info] Starting flows
    [info] Started flows
    [info] Server now running at http://127.0.0.1:1881/
    `
    However; /var/config/app/install/<appId> exists and DOES contain updated node-red application. But there is no way from GUI to start it.

    Conduit restart does not fix
    Check/Uncheck/Check Node-RED Apps enabled on GUI does not fix
    console command sudo /etc/init.d/node-red restart does not fix

    Fix:
    `
    ssh to conduit console as admin
    admin@mtcap:$ rm -rf /var/config/app/install/<appId>
    save and restart conduit

    login to deviceHQ
    select conduit
    re-schedule application update

    After conduit has rebooted

    login to coduit GUI as admin
    Administration…Remote Management…Check-In to DeviceHQ
    wait for ‘success’ flash message.
    Apps…Node-RED Apps…<app-name> shows ‘Ready’
    Check Enabled check box to start node-red service.
    Apps…Node-RED Apps…<app-name> shows ‘Running’
    `
    HTH

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.