andrewn / neue-radio

Neue Radio: Prototype connected object using web technologies
10 stars 6 forks source link

docs/INSTALL.md claims it will work for Pi zero #121

Open libbymiller opened 6 years ago

libbymiller commented 6 years ago

Although it could work, current installation script only works for PI3 right? (because of chromium-browser).

andrewn commented 6 years ago

I've just run the provision on a Pi Zero. It installs without error.

The web services load fine.

Chromium looks like it's running, but I don't think it really is:

pi@andrewnzero:~ $ sudo systemctl status manager
● manager.service - Radio app manager
   Loaded: loaded (/etc/systemd/system/manager.service; enabled; vendor preset: enabled)
   Active: active (running) since Wed 2018-05-02 12:45:52 UTC; 10s ago
 Main PID: 6303 (start-web-envir)
   CGroup: /system.slice/manager.service
           ├─6303 /bin/bash /opt/radiodan/rde/services/manager/start-web-environment.sh
           └─6305 /bin/bash /usr/bin/chromium-browser --headless --disable-gpu --use-fake-ui-for-media-stream --autoplay-policy=no-user-gesture-required --rem

May 02 12:45:52 andrewnzero systemd[1]: Started Radio app manager.
May 02 12:45:52 andrewnzero rde-manager[6303]: /usr/bin/chromium-browser
pi@andrewnzero:~ $ ps aux | grep chromium
pi        6374  2.4  1.3 120316  6024 ?        R    12:46   0:00 /usr/lib/chromium-browser/chromium-browser --disable-quic --enable-fast-unload --enable-tcp-fast-open --disable-gpu-compositing --ppapi-flash-version=29.0.0.140 --enable-pinch --headless --disable-gpu --use-fake-ui-for-media-stream --autoplay-policy=no-user-gesture-required --remote-debugging-port=9222 --remote-debugging-address=0.0.0.0 http://localhost:5001/
andrewn commented 6 years ago

I guess this might work now that we're using mainline chromium?