Quantcast
Channel: MultiTech Developer Resources » All Posts
Viewing all articles
Browse latest Browse all 7111

App-Manager hangs during installing custom app via command line/admin site.

$
0
0

In my install script for my Custom App I take some post install actions. However until I upgraded the Conduit firmware to 5.2.1, I never got any errors. However since I upgraded to 5.2.1 I get the following error indicated below as a result of running the following post install commands. What is weird is that even though the app-manager seems to hang and I have to force exit at the command prompt and if I go into the file system of the conduit via win-scp, I see all the necessary files have been installed, however if I login to the conduit admin site, the custom app isn’t listed on the app’s page. Here is what is run in the post install script.

# postinstall is invoked by app-manager immediately after installing a custom app.
  postinstall)
      msg="Updating the custom app launch priority on post install!"
      echo -n $msg
      logger -t Install $msg
      #update the custom app, to launch before the lora-wan-server service.
      update-rc.d -f customapp remove
      update-rc.d customapp defaults 79 1

Error I get when the update-rc.d remove command is executed:
update-rc.d: /etc/init.d/customapp exists during rc.d purge (continuing)

Also to make it worse if I try and install the custom app via the admin site, since its a new addition thru’ the app’s page in 5.2.1 conduit firmware, the web site hangs and if I exit out of the browser, I can’t seem to log back in and the web site browser just says connecting and never is able to connect.

So I rebooted the Conduit and now everything works fine, the custom app is now listed out in the app’s page. So what changed in the latest conduit firmware, that the app-manager seems to hang while installing the custom app either via the command prompt or via the admin app’s page?

Thanks,
Ajay.


Viewing all articles
Browse latest Browse all 7111

Trending Articles