New app install failed

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
albertov
Posts: 13
Joined: 01 Nov 2015 16:53

New app install failed

Post by albertov »

Hello,
I'm facing a problem installing new apps.
The error I have in log is:

Code: Select all

[2017-04-29 15:05:31.338] [I] [core] Installing app OpenHABConnector ...
[2017-04-29 15:05:31.339] [E] [HTTP] Callback execution error: ReferenceError: installer is not defined
    at AutomationController.installModule (automation/classes/AutomationController.js:584:9)
    at ZAutomationAPIWebRequest._.extend.installModule (automation/ZAutomationAPIProvider.js:847:38)
    at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:259:41)
    at automation/WebserverRequestRouter.js:32:35
    at WebServer.document_root (automation/Webserver.js:35:11)
My platform is x86 Ubuntu Xenial. I installed z-way first using the script for ARM, then I downloaded the ubuntu package and overwritten all the files with the x86 version.

Do you have any suggestion?
albertov
Posts: 13
Joined: 01 Nov 2015 16:53

Re: New app install failed

Post by albertov »

More information:

Code: Select all

cd /opt/z-way-server; LD_LIBRARY_PATH=./libs ./z-way-server
Z-Way version v2.3.1 from 2017-03-27 16:15:34 +0300 (build 437ae1cf0052f77df8c7979386eddf86397b608a)
Looking for modules in ./modules
Module modenocean.so loaded
Module modzwave.so loaded
Module modsockets.so loaded
Module moddhs.so loaded
Module modws.so loaded
Failed to load module modhttp.so: libcurl.so.4: cannot open shared object file: No such file or directory
Failed to load module modskininstaller.so: libcurl.so.4: cannot open shared object file: No such file or directory
Module modzbw.so loaded
Failed to load module modinstaller.so: libcurl.so.4: cannot open shared object file: No such file or directory
Failed to load module modiconinstaller.so: libcurl.so.4: cannot open shared object file: No such file or directory
Module modcrypto.so loaded
Module modhomekit.so loaded
Failed to load module modnotification2ext.so: libcurl.so.4: cannot open shared object file: No such file or directory
Using default configuration file config.xml
Error: 'debug-port' number is out of range. Skipping it.

Code: Select all

/opt/z-way-server# ls -s modules
total 4596
  36 modcrypto.so   252 modenocean.so   120 modhttp.so            108 modinstaller.so          108 modskininstaller.so   364 modws.so   2096 modzwave.so
 176 moddhs.so      900 modhomekit.so   148 modiconinstaller.so    56 modnotification2ext.so   164 modsockets.so          68 modzbw.so
albertov
Posts: 13
Joined: 01 Nov 2015 16:53

Re: New app install failed

Post by albertov »

After several attemps. I found that libcurl was missing (the installer didn't added it).

To solve the problem, you just have to install this package:
apt-get install libcurl4-openssl-dev
Post Reply