Closed sborn closed 3 years ago
So, to be clear, the yml configuration files do not exist as far as I can tell. They would be in that directory, correct? They should all be in /etc/rpisurv?
Hi, the correct path for the config is...
/usr/local/bin/rpisurv/conf/display1.yml
Oh, thank you. The documentation says /etc/rpisurv
I appreciate the help.
The default files are not there. Should I upload them?
pi@protect-pi-test-1:/usr/local/bin/rpisurv/conf $ dir logging.yml surveillance.yml pi@protect-pi-test-1:/usr/local/bin/rpisurv/conf $
These files should be there if you made everything right.
pi@rasp-1:~ $ ls -la /usr/local/bin/rpisurv/conf/ total 24 drwxr-xr-x 2 pi pi 4096 Sep 28 15:22 . drwxr-xr-x 8 pi pi 4096 Sep 15 00:47 .. -rw-r--r-- 1 pi pi 643 Sep 30 18:54 display1.yml -rw-r--r-- 1 pi pi 2934 Sep 14 18:47 display2.yml -rw-r--r-- 1 pi pi 2290 Sep 14 18:47 general.yml -rw-r--r-- 1 pi pi 832 Sep 14 18:46 logging.yml
I just did a fresh install on a new install of PiOS. It didn't create those...
did you execute ./install.sh and confirmed everthing with "yes" during installation?
Yes Edit: I even did it several times, and it confirmed overwriting files, etc.
I assume you didn´t install v3. For this you need to do "git checkout v3_latest" and the install.sh
https://github.com/SvenVD/rpisurv doesn't pull the latest?
If I install this over the one I messed up will it fix it? Or should I start clean again 😞
/etc/rpisurv is a symlink to /usr/local/bin/rpisurv/conf/ if the install went correctly.
rpisurv v3 is still in beta status, I did not have the time to make it production, that is why v2 is still the main version.
You could try the install.sh v3, I think it should work.
I feel like a dope. Thanks guys. It's working great.
In case anyone stumbles in here, syntax is this:
git clone -b v3_latest https://github.com/SvenVD/rpisurv
When trying to edit any of the yml files on a brand new install (it is hanging on the command prompt on boot), I get:
[ Path '/etc/rpisurv' is not a directory ]
When opening /etc/rpisurv as a file in nano (sudo nano /etc/rpisurv), it is the contents of what should be the display1.yml file:
and so forth.
What happened? Can I build back the folder as it was intended?