homeassistant-addons icon indicating copy to clipboard operation
homeassistant-addons copied to clipboard

Angry IP Scanner does not start

Open user45876 opened this issue 2 years ago • 6 comments

HA 2022.6.7 as HA OS Installation on Intel x86

After cleanly installing the Angry IP Scanner addon from the addon store, it can not be started. This is in the log:

s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/nginx.sh /package/admin/s6-overlay-3.1.0.1/etc/s6-rc/scripts/cont-init: 14: /package/admin/s6-overlay-3.1.0.1/etc/s6-rc/scripts/cont-init: /etc/cont-init.d/nginx.sh: Permission denied cont-init: info: /etc/cont-init.d/nginx.sh exited 126 cont-init: info: running /etc/cont-init.d/novnc.sh /package/admin/s6-overlay-3.1.0.1/etc/s6-rc/scripts/cont-init: 14: /package/admin/s6-overlay-3.1.0.1/etc/s6-rc/scripts/cont-init: /etc/cont-init.d/novnc.sh: Permission denied cont-init: info: /etc/cont-init.d/novnc.sh exited 126 cont-init: warning: some scripts exited nonzero s6-rc: warning: unable to start service legacy-cont-init: command exited 1 /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container. s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped

user45876 avatar Jul 09 '22 22:07 user45876

Is this a 32bit installation?

MaxWinterstein avatar Jul 10 '22 21:07 MaxWinterstein

No 32 bit install, it is a standard x86-64 ha os install:

# uname -a Linux homeassistant 5.15.52 #1 SMP Thu Jul 7 15:15:30 UTC 2022 x86_64 HAOS #

user45876 avatar Jul 11 '22 05:07 user45876

mhm, cant really reproduce :(

Tried using dev containers on my macbook but had no issue.

image

Might give me some more information? What hardware are you using? Can you show me a screenshot of /config/system_health?

MaxWinterstein avatar Jul 13 '22 06:07 MaxWinterstein

Of course, Max, I am glad that you are having a look. I copied it from system health 'for github' and this is the output - how great is that 🥳

Hardware is a Dell 7040M, i5-6500T, 16GB RAM, 256GB SSD.

System Health

version core-2022.7.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.5
os_name Linux
os_version 5.15.52
arch x86_64
timezone Europe/Berlin
config_dir /config
Home Assistant Community Store
GitHub API ok
GitHub Content ok
GitHub Web ok
GitHub API Calls Remaining 4791
Installed Version 1.26.0
Stage running
Available Repositories 1141
Downloaded Repositories 30
Home Assistant Cloud
logged_in true
subscription_expiration 5. August 2022, 02:00
relayer_connected true
remote_enabled true
remote_connected true
alexa_enabled false
google_enabled false
remote_server eu-central-1-0.ui.nabu.casa
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 8.3
update_channel beta
supervisor_version supervisor-2022.07.0
agent_version 1.2.1
docker_version 20.10.14
disk_total 234.0 GB
disk_used 22.6 GB
healthy true
supported true
board generic-x86-64
supervisor_api ok
version_api ok
installed_addons ESPHome (2022.3.1), InfluxDB (4.5.0), Grafana (7.6.0), Network UPS Tools (0.11.0), Home Assistant Google Drive Backup (0.108.2), File editor (5.3.3), Mosquitto broker (6.1.2), TasmoAdmin (0.20.0), Z-Wave JS to MQTT (0.44.0), SSH & Web Terminal (11.0.1), chrony (2.4.0), MariaDB (2.5.0), phpMyAdmin (0.8.0), Log Viewer (0.14.0), RaspberryMatic CCU (3.63.9.20220625), Angry IP Scanner (0.1.0), AdGuard Home (4.6.0)
Dashboards
dashboards 3
resources 18
views 17
mode storage
Recorder
oldest_recorder_run 12. Juni 2022, 21:06
current_recorder_run 12. Juli 2022, 08:54
estimated_db_size 2592.73 MiB
database_engine mysql
database_version 10.6.8

PS: Greetings from Bavaria ;)

user45876 avatar Jul 13 '22 07:07 user45876

Max, I also tried pulling the log from the container, it unsurprisingly it is just the same as the one above.

Do you know of a way to access the in container log of a crashed container?

# docker logs 95faf516d656 s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/nginx.sh /package/admin/s6-overlay-3.1.0.1/etc/s6-rc/scripts/cont-init: 14: /package/admin/s6-overlay-3.1.0.1/etc/s6-rc/scripts/cont-init: /etc/cont-init.d/nginx.sh: Permission denied cont-init: info: /etc/cont-init.d/nginx.sh exited 126 cont-init: info: running /etc/cont-init.d/novnc.sh /package/admin/s6-overlay-3.1.0.1/etc/s6-rc/scripts/cont-init: 14: /package/admin/s6-overlay-3.1.0.1/etc/s6-rc/scripts/cont-init: /etc/cont-init.d/novnc.sh: Permission denied cont-init: info: /etc/cont-init.d/novnc.sh exited 126 cont-init: warning: some scripts exited nonzero s6-rc: warning: unable to start service legacy-cont-init: command exited 1 /run/s6/basedir/scripts/rc.init: warning: s6-rc failed to properly bring all the services up! Check your logs (in /run/uncaught-logs/current if you have in-container logging) for more information. /run/s6/basedir/scripts/rc.init: fatal: stopping the container. s6-rc: info: service fix-attrs: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped #

user45876 avatar Jul 13 '22 10:07 user45876

I've got exactly the same error. Also x86-64 ha os, different hardware and core version

Version core-2022.6.2
Installation type Home Assistant OS
Development version false
Supervisor true
Docker true
User root
Virtual environment false
Python version 3.9.12
Operating system family Linux
The version of the operating system 5.15.45
CPU architecture x86_64
Time zone Europe/Warsaw

etimuh avatar Jul 16 '22 16:07 etimuh

Nothing new on this bug ? I got too

williamhelle avatar Sep 23 '22 15:09 williamhelle

Nope - for me also, on the current 2022.9.6.

user45876 avatar Sep 23 '22 18:09 user45876

Got same problem :

nginx.sh: Permission denied

/package/admin/s6-overlay-3.1.2.1/etc/s6-rc/scripts/cont-init: 14: /package/admin/s6-overlay-3.1.2.1/etc/s6-rc/scripts/cont-init: /etc/cont-init.d/nginx.sh: Permission denied

Maybe require the nginx addon to be started before ? But this addon make my home assistant instance glitchy and buggy so don't want to test 😂

williamhelle avatar Sep 26 '22 04:09 williamhelle

So, this took me a while, as prio was not that high to be honest ;)

I did some rework on the image build process and now it works fine for me on my synology - a x86 arch:

image image

@williamhelle / @user45876 / @etimuh -- Might give it a new try? :)

MaxWinterstein avatar Dec 02 '22 20:12 MaxWinterstein

Thanks a lot, Max, working perfectly now. Thanks for taking the time ☺️

user45876 avatar Dec 02 '22 20:12 user45876