rern/rOS

RPI Browser Setup

ceejayemm opened this issue · 0 comments

@rern

I had originally posted this problem on the rAudio-1 Issues list (see Issue 160 there) but I think it is actually a ROS issue. The problem I encountered was that although the completed installation generally ran and work as expected I was unable to access the Features page where a JSON error was reported.

During my build of the ROS Installation when I it came to the selection of 'Features' the only Feature I selected was the RPI Browser settings, I don't have a use for any of the others and I think this was the cause of the problem.

I also have a Pi Zero (standard image install) as well as the a 3B+ (running ROS DIY image) both running update 202102051. On the Zero the Features page works correctly but on the 3B+ I get the error noted above. After a bit of investigation I have found that (at least) the following files are missing from the 3B+

/etc/default/snapclient
which on the Zero contains:
START_SNAPCLIENT=true
SNAPCLIENT_OPTS="--latency=800"

/etc/default/snapserver
which on the Zero contains:
START_SNAPSERVER=true
SNAPSERVER_OPTS=""

I created both these files on the 3B+ and the Features page now at least renders and allows me to configure the RPi Browsers settings (which is all I wanted to do at this stage). However when the page renders it appears a lot more 'bits' are missing, see the image below:

image

I guess this is because of the 'Features' I selected (or didn't) in the build process. However it seems that the Features page needs the snapclient/snapserver config files in order to render the page correctly. I don't know if the content I used to create them is correct as I had to guess but as they came from a running version on the PI Zero I guess they cant be far away.

Chris