polkaroo
Missed him again!
- Joined
- Apr 14, 2002
- Messages
- 420
- Reaction score
- 93
I'm trying to wrap my head around running Trunk Recorder and Rdio Scanner on Ubuntu Server 20.04. I can find myself slowly around linux but not an engineer or claim to know anything about programming, so I'm requesting a bit of hand-holding here. I've searched and searched but things are simply fragmented, links to outdated tutorials or dead ends, etc. and getting quite frustrated.
My goal is to run trunk-recorder on two P25 systems and serve it up via rdio-scanner.
I'm stuck somewhere between the first and second post of this thread How I Setup Trunk Recorder Using Docker - Suggested Deployment For Calls Platform, where I've setup my SDR sticks (1st post) and have Trunk-Recorder in Docker setup (2nd post). And I have no idea how to build? a proper Docker container after I've grabbed the Git repository. But afaik the robotastic/trunk-recorder container works, it's just it can't find the config files (see step 7 below).
I've looked at the Wiki instructions here: robotastic/trunk-recorder but it doesn't even tell me how to pull it off Docker hub, then jumps to straight past config.json and running already: robotastic/trunk-recorder
The Gitter Lobby trunk-recorder/Lobby makes my brain explode - there's no method to the madness (I thought Microsoft Teams was bad enough.) No threading or searching, I'm sure someone has asked a similar question like this before, I just can't find it!
Hopefully I've documented my steps clearly enough. (elevated su privileges.)
Ubuntu Server 20.04:
So this is where I'm stuck and I'm not sure what to do next.
My goal is to run trunk-recorder on two P25 systems and serve it up via rdio-scanner.
I'm stuck somewhere between the first and second post of this thread How I Setup Trunk Recorder Using Docker - Suggested Deployment For Calls Platform, where I've setup my SDR sticks (1st post) and have Trunk-Recorder in Docker setup (2nd post). And I have no idea how to build? a proper Docker container after I've grabbed the Git repository. But afaik the robotastic/trunk-recorder container works, it's just it can't find the config files (see step 7 below).
I've looked at the Wiki instructions here: robotastic/trunk-recorder but it doesn't even tell me how to pull it off Docker hub, then jumps to straight past config.json and running already: robotastic/trunk-recorder
The Gitter Lobby trunk-recorder/Lobby makes my brain explode - there's no method to the madness (I thought Microsoft Teams was bad enough.) No threading or searching, I'm sure someone has asked a similar question like this before, I just can't find it!
Hopefully I've documented my steps clearly enough. (elevated su privileges.)
Ubuntu Server 20.04:
- Update package list and upgrade to latest and greatest
$ apt update
...
$ apt upgrade
- Install docker
$ apt install docker
- Check docker install with hello-world
$ docker run hello-world
Hello from Docker!
This message shows that your installation appears to be working correctly.
...
- Install RTL-SDR modules
$ apt install rtl-sdr
- Plug in SDR sticks and yes it works
$ rtl_eeprom
Found 2 device(s):
0: Generic RTL2832U OEM
1: Generic RTL2832U OEM
...
- Install trunk-recorder’s Docker image
$ docker pull robotastic/trunk-recorder
Using default tag: latest
latest: Pulling from robotastic/trunk-recorder
04a5f4cda3ee: Pull complete
ff496a88c8ed: Pull complete
0ce83f459fe7: Pull complete
58ebfd16f5c3: Pull complete
e16b9adec51f: Pull complete
e1df2917d4eb: Pull complete
0e2ef27b4858: Pull complete
e22f9b1a6e60: Pull complete
Digest: sha256:45693501c4960d8c8c99af6818ee69d7b2d506c91098b68713aac16e690b90d6
Status: Downloaded newer image for robotastic/trunk-recorder:latest
docker.io/robotastic/trunk-recorder:latest
- Following instructions at robotastic/trunk-recorder, (radio is my username). I assume this is to map a directory for trunk-recorder in Docker to access?
docker run -it \
-v ~/trunk-recorder/media:/app/media \
-v ~/trunk-recorder:/app/config \
-v ~/trunk-recorder/my_talkgroup.csv:/app/my_talkgroup.csv \
--device /dev/bus/usb robotastic/trunk-recorder:latest
gives me docker: unknown server OS: .
- Make the config.json file in ~/trunk-recorder/ anyway but no joy.
$ docker run robotastic/trunk-recorder
[2021-04-14 05:09:01.173484] (info) Using Config file: /app/config.json
[2021-04-14 05:09:01.173839] (error) Failed parsing Config: /app/config.json: cannot open file
So this is where I'm stuck and I'm not sure what to do next.