I see this in the log when I try to update an app in the smart home UI
And I get an error that it cannot download the update. I can however delete apps. I was suspecting that I had some folder permission issues.
[2018-07-26 18:08:11.333] [core] Installing app MailNotifier ...
[2018-07-26 18:08:11.334] [E] [HTTP] Callback execution error: ReferenceError: installer is not defined
at AutomationController.installModule (automation/classes/AutomationController.js:652:3)
at ZAutomationAPIWebRequest._.extend.updateModule (automation/ZAutomationAPIProvider.js:929:29)
at ZAutomationAPIWebRequest.ZAutomationWebRequest.handleRequest (automation/WebserverRequestRouter.js:259:35)
at automation/WebserverRequestRouter.js:32:29
at WebServer.document_root (automation/Webserver.js:35:11)
Can't update apps
Re: Can't update apps
Actually I am seeing more errors in different areas and have tried on a brand new installation too. I am suspecting that my installation of ubuntu either has some missing folders don't have the right folder permission. Could anyone tell me what folders zway downloads to?
Re: Can't update apps
Looks you are using some of the beta v2.3.8. Please confirm
Re: Can't update apps
I am using 3.0.0 RC15. I just installed and tested 2.3.6 release after moving my config files to it and have the same problem so I doubt it is a problem with the zway itself. It is more likely due to some settings with my ubuntu install. I did not have these errors when I was on 3.0.0 RC12.
Re: Can't update apps
It should be with libraries. Start the s/w in shell and look in the stderr
Re: Can't update apps
aha... found something:
Code: Select all
Looking for modules in ./modules
Failed to load module modskininstaller.so: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./modules/modskininstaller.so)
Module modcrypto.so loaded
Module modenocean.so loaded
Module modzbw.so loaded
Failed to load module modnotification2ext.so: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./modules/modnotification2ext.so)
Module moddhs.so loaded
Module modws.so loaded
Failed to load module modiconinstaller.so: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./modules/modiconinstaller.so)
Module modhomekit.so loaded
Failed to load module modhttp.so: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./modules/modhttp.so)
Module modzwave.so loaded
Module modsockets.so loaded
Failed to load module modinstaller.so: /usr/lib/x86_64-linux-gnu/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./modules/modinstaller.so)
-
- Posts: 1
- Joined: 31 Jul 2018 09:53
- Contact:
Re: Can't update apps
Hey guys,
if you not already stumbled over it here is a workaround taken from https://depts.washington.edu/bitblog/20 ... ntu-18-04/
which shows you how to use libcurl3 "parallel" to libcur4 on Ubuntu 18.04
following lines should do the trick:
after that adjust the z-way-server script to inject the following line before lib injection:
This solves this problem for me
if you not already stumbled over it here is a workaround taken from https://depts.washington.edu/bitblog/20 ... ntu-18-04/
which shows you how to use libcurl3 "parallel" to libcur4 on Ubuntu 18.04
following lines should do the trick:
Code: Select all
# install libcurl3
# this will temporarely overwrite/remove libcurl4
apt-get -y install libcurl3
# Making a copy of libcurl.so.4.5.0 and rename it to libcurl3.so.4.5.0
cp /usr/lib/x86_64-linux-gnu/libcurl.so.4.5.0 /usr/lib/x86_64-linux-gnu/libcurl3.so.4.5.0
# reinstall libcurl4 - libcurl3 will be overwritten but copied file will be still there
apt-get -y install libcurl4 libcurl4-openssl-dev
Code: Select all
# stop z-way-server
$ sudo /etc/init.d/z-way-server stop
# open init script in editor
$ sudo nano /etc/init.d/z-way-server
# add this line after: "# adding z-way libs to library path"
$env LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libcurl3.4.5.0
# next line is: "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/z-way-server/libs"
# close editor by pressing [Ctrl]+[X] > Y > [Enter]
# start z-way-server
$ sudo /etc/init.d/z-way-server start
Re: Can't update apps
Hi, found via google. I have z-way installed on ubuntu. I can't install any app.
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-99-generic x86_64)
Tried to install mqtt app but get error.
I have tried to apply above code. but how to proceed?
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-99-generic x86_64)
Tried to install mqtt app but get error.
I have tried to apply above code. but how to proceed?
- Attachments
-
- error.png (33.51 KiB) Viewed 5218 times