Page 22 of 55

Re: [MyDomoAtHome] Support thread

Posted: Monday 22 February 2016 14:15
by epierre
@doler the nodejs is restarted with children's holidays free time for me ;-)

This is on another thread: viewtopic.php?f=21&t=8951&p=76176#p76176

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 18:38
by Evelen
Just installed MyDomoAtHome, but can't start it?
help
Image

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 19:39
by epierre
@Eleven what gives:
sudo /etc/init.d/MyDomoAtHome.sh status

also do you see a running starman process ?

also try (as mentioned above):

Try to find and kill ALL mdah fork processes, by using following cmd ex.
sudo kill -9 `ps -ef |grep tarman |awk '{print $2}'`

then remove pid file:
sudo rm /var/run/MyDomoAtHome.pid

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 20:36
by Evelen
epierre wrote:@Eleven what gives:
sudo /etc/init.d/MyDomoAtHome.sh status

also do you see a running starman process ?

also try (as mentioned above):

Try to find and kill ALL mdah fork processes, by using following cmd ex.
sudo kill -9 `ps -ef |grep tarman |awk '{print $2}'`

then remove pid file:
sudo rm /var/run/MyDomoAtHome.pid

Hi
Image
*reboot*
Image
Image
(I'm not that great with linux)

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 20:47
by epierre
@Doler I've tested on my PI B running Wheezy the script is fine on start/stop from my last commit on github, waiting from your infos on that.

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 20:49
by epierre
@Evelen there is a quote and a backquote that is why you had terminating issues:
sudo kill -9 `ps -ef |grep tarman |awk '{print $2}'`

what gives you:
ps -ef |grep tarman

if no starman is running, try starting start2.sh to see if installation is successful or not

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 21:10
by Evelen
epierre wrote:@Evelen there is a quote and a backquote that is why you had terminating issues:
sudo kill -9 `ps -ef |grep tarman |awk '{print $2}'`

what gives you:
ps -ef |grep tarman

if no starman is running, try starting start2.sh to see if installation is successful or not

This is what I got
Image

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 21:22
by epierre
@Evelen, do you have a MyDomoAtHome in the domoticz directory ? start2.sh is in this directory

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 22:02
by Evelen
epierre wrote:@Evelen, do you have a MyDomoAtHome in the domoticz directory ? start2.sh is in this directory
yes it is.
used the wiki install guide.
Image

PS: I run this on a virtual VMware ESXi server, and I have a backup for before i installed MyDomoAtHome
let me know whether you think I should try from the start again. (and how)

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 22:11
by epierre
@Evelen well... how to say... this is weird.

normally a "git pull" should bring back some files but maybe the issue is elsewhere

try this, then try run-once.sh and then start2.sh again to see if this fixes this error which is fatal (you're the first to have it congratulations ;-)

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 22:41
by Evelen
heh :P
did not work


Image
Image
This is btw my config changes:
MyDomoAtHome.sh:
APP_DIR="/home/flemmingss/domoticz/"
config.yml:
domo_path: "http://localhost:8080"

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 23:00
by epierre
@Evelen much better yet for missing files have been added.

edit start2.sh to match your /home/flemmingss/ and start it again

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 23:13
by Doler
epierre wrote:@Doler I've tested on my PI B running Wheezy the script is fine on start/stop from my last commit on github, waiting from your infos on that.
Sorry, I've been occupied by some urgent family business. Gave it a short try on both my working version after git pull and a version after an update. I couldn't get it to work on both. If time permits I'll try a clean, new install tomorrow (still on Wheezie).

Re: [MyDomoAtHome] Support thread

Posted: Tuesday 23 February 2016 23:29
by Evelen
epierre wrote:@Evelen much better yet for missing files have been added.

edit start2.sh to match your /home/flemmingss/ and start it again
got this now
Image

Re: [MyDomoAtHome] Support thread

Posted: Wednesday 24 February 2016 10:59
by epierre
@Evelen ok we advance, can you run ./update-mdah.sh there a missing lib

Re: [MyDomoAtHome] Support thread

Posted: Wednesday 24 February 2016 13:17
by Doler
Doler wrote:
epierre wrote:@Doler I've tested on my PI B running Wheezy the script is fine on start/stop from my last commit on github, waiting from your infos on that.
Sorry, I've been occupied by some urgent family business. Gave it a short try on both my working version after git pull and a version after an update. I couldn't get it to work on both. If time permits I'll try a clean, new install tomorrow (still on Wheezy).
Ok, did a clean install (on Wheezy) following the wiki and everything is fine. Next is install on Jessie once I got that up and running, will be continued...
Thanks for the help so far, Mark

Re: [MyDomoAtHome] Support thread

Posted: Wednesday 24 February 2016 15:47
by Evelen
epierre wrote:@Evelen ok we advance, can you run ./update-mdah.sh there a missing lib
Hi.
Results:
Image

Re: [MyDomoAtHome] Support thread

Posted: Wednesday 24 February 2016 15:48
by Doler
Installing on Jessie gives a problem. Output of run-once.sh (second time install so most is up-to-date):
Spoiler: show
pi@raspberrypi:~/domoticz/MyDomoAtHome $ sh ./run-once.sh
Will update packages list first...
Will update packages list first...
Now getting the needed software...
Now getting getting and installing dependencies...
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdancer-perl is already the newest version.
libdancer2-perl is already the newest version.
libfile-slurp-perl is already the newest version.
liblwp-protocol-psgi-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'perl' instead of 'libtime-piece-perl'
libcrypt-ssleay-perl is already the newest version.
libdatetime-format-strptime-perl is already the newest version.
libdatetime-perl is already the newest version.
libjson-perl is already the newest version.
libplack-perl is already the newest version.
perl is already the newest version.
starman is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libdbd-sqlite3-perl is already the newest version.
libdbi-perl is already the newest version.
sqlite3 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
libaudio-mpd-perl is already the newest version.
libnet-upnp-perl is already the newest version.
libpoe-component-client-mpd-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
sudo: cpanm: command not found
Now installing the service
The installation stops with 'cpanm: command not found' which imho means that the plackserver cannot be installed. Any suggestion how to solve this?
Thanks, Mark

Re: [MyDomoAtHome] Support thread

Posted: Wednesday 24 February 2016 16:36
by epierre
looks we had this issue on another VM try... no clue why...

Re: [MyDomoAtHome] Support thread

Posted: Wednesday 24 February 2016 17:02
by Doler
epierre wrote:looks we had this issue on another VM try... no clue why...
Hmm...
If I do "dpkg -l | grep cpan" I get " libcpan-meta-perl (Perl module to access CPAN distributions meta data)" as a result. So there is something available? Could it be that the path is not correct? "echo $PATH" gives "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games", maybe there is something missing?
Thanks, Mark