Dear Forum,
my dasher on RPI is not starting anymore with “dashing start” but comes back with
pi@hassbian:~/hadashboard $ dashing start
scheduler caught exception:
undefined method gsub' for nil:NilClass /home/pi/hadashboard/jobs/homeassistant.rb:308:in
block in <top (required)>’
/var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in call' /var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:230:in
trigger_block’
/var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/jobs.rb:204:in block in trigger' /var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in
call’
/var/lib/gems/2.1.0/gems/rufus-scheduler-2.0.24/lib/rufus/sc/scheduler.rb:430:in `block in trigger_job’
Thin web server (v1.6.4 codename Gob Bluth)
Maximum connections set to 1024
Listening on 0.0.0.0:3030, CTRL+C to stop
/var/lib/gems/2.1.0/gems/eventmachine-1.2.3/lib/eventmachine.rb:530:in start_tcp_server': no acceptor (port is in use or requires root privileges) (RuntimeError) from /var/lib/gems/2.1.0/gems/eventmachine-1.2.3/lib/eventmachine.rb:530:in
start_server’
from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/backends/tcp_server.rb:16:in connect' from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/backends/base.rb:63:in
block in start’
from /var/lib/gems/2.1.0/gems/eventmachine-1.2.3/lib/eventmachine.rb:194:in call' from /var/lib/gems/2.1.0/gems/eventmachine-1.2.3/lib/eventmachine.rb:194:in
run_machine’
from /var/lib/gems/2.1.0/gems/eventmachine-1.2.3/lib/eventmachine.rb:194:in run' from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/backends/base.rb:73:in
start’
from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/server.rb:162:in start' from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/controllers/controller.rb:87:in
start’
from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/runner.rb:200:in run_command' from /var/lib/gems/2.1.0/gems/thin-1.6.4/lib/thin/runner.rb:156:in
run!’
from /var/lib/gems/2.1.0/gems/thin-1.6.4/bin/thin:6:in <top (required)>' from /usr/local/bin/thin:23:in
load’
from /usr/local/bin/thin:23:in `’
after running
$ sudo apt-get update
$ sudo apt-get -y upgrade
$ sudo systemctl stop [email protected]
$ sudo su -s /bin/bash homeassistant
$ source /srv/homeassistant/bin/activate
$ pip3 install --upgrade homeassistant
$ exit
$ sudo systemctl start [email protected]
Home-assistant is 0.42.2 is running fine
Thanks for your support
Ralf