Closed terkianders closed 4 years ago
Embarrasingly I just now got to see the log, and I guess webengine kiosk is missing even build happened without errors:
[error] Kiosk port application is missing. It should be at /srv/erlang/lib/webengine_kiosk-0.2.4/priv/kiosk.
Sorry for spamming, but this fixed my issues:
mix deps.update --all
Upgraded:
muontrap 0.5.0 => 0.5.1
nerves_runtime 0.10.2 => 0.11.0 (minor)
nerves_time 0.3.0 => 0.4.1 (minor)
nerves_toolchain_arm_unknown_linux_gnueabihf 1.3.0 => 1.3.1
nerves_toolchain_ctng 1.7.0 => 1.7.1
one_dhcpd 0.2.2 => 0.2.4
webengine_kiosk 0.2.4 => 0.2.5
KIOSK_URL is not used, but I can place index.html in kiosk_system_rpi3/example/rootfs_overlay/srv/erlang/lib/webengine_kiosk-0.2.5/priv/www/ to show my content, so I'm happy.
Preface: I'm new to nerves and trying to use the kiosk example project. My build environment is a fresh ubuntu 19.10 with all "getting started" stuff installed. I've done
like instructed.
~/kiosk_system_rpi3/example$ mix do deps.get, firmware, firmware.burn
works without errors. My rpi3 boots to splashscreen "Built with nerves". I can ssh into it and get to iex console. I've been at this for days now and I'm stuck. (Not listing every fruitless attempt here, to keep it readable)Question: Can anyone give a hint to how do I debug what's going wrong/why I can't see a browser? It would be greatly appreciated! (I'm probably missing something obvious, but can't figure out what it may be)