-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux Install Bash Script Failing? #96
Comments
The 'app install' on standard distributions is by far (I mean, order of magnitude) the least used and therefore least tested approach to installation. |
I did gather as much from my reading. I can likely budget an SBC, but the value equation on these has changed in recent years. With 10MSPS being the "gold standard" these days, more CPU is often desirable for the enhanced resolution. Also, while I have you, would you expect the new-gen Airspy R2 to work with your project? I know the Mini is compatible, but I'm thinking about updating my SDR and was considering this newer model. |
I want this to work on a generic Linux version. Just give me the weekend to find time to fix this. I will fix it. I don't know about the Airspy R2. You'd have to ask on the SDR-E Discord in the adsb-containers channel. |
Hmm. So here's what I did: Install a fresh Ubuntu 22.04 LTS I'm happy to try and debug what's going wrong for you.
Can you reproduce this result and is this enough to get you going, or is there a hard requirement that is different from what I tried? |
This helped and I found the rub. The issue was that I was trying to install into a Proxmox container, instead of a VM. Containers are my preferred approach to native Linux anything, plus it would alleviate any MLAT latency issues to USB since it provides native access to the host's hardware when passed through. I was able to get the service to start under a true VM. (Ubuntu 23.10 server edition was fine, FWIW.) I should have tried that! I'll play around with the container based install and see if I can get that to work. I do know that simply offering a privileged container isn't enough. I'll update this issue if I'm able to find a working configuration. |
Ah, interesting. |
OK, I got a working methodology using Proxmox containers. I fortunately didn't have to dive into DooD or DinD! I was starting to tear apart your source as I would prefer DinD, but then realized hardware passthrough was going to be a nightmare this way. So, I banged on it several more times as I thought it "should" be possible. I think I got caught up in enough iterations where I didn't shift the right variables at the right time. In case someone follows in my footsteps, here's the procedure: To create the container in Proxmox:
The install procedure for ASDB-IM is slightly modified as doing the above changes default behavior of Docker's availability via default repositories.
To do this, you should understand the technical risks of running privileged containers using Docker and nested virtualization. Personally, I think it's safe in a home-lab environment with a low attack surface. If you're exposing your machine (container, docker, or app) to the public internet, that's a different ballgame and is highly risky. Thanks for the help. I'm excited to get this going as it looks like it solved multiple feeders quite elegantly. I appreciate your hard work with the project, especially the detailed release notes. Successful install with no service issues!
|
Hi there,
I'm interested in running this project, but I've been having troubles with the Linux installer instructions. I'd prefer to run this on a standard Linux variant as opposed to Raspberry Pi. I've tried a lot of different things and can't seem to figure it out.
I've found that the same problem happens regardless whether I use a Debian (11 or 12) or Ubuntu (23.04 or 23.10) OS. It also occurs whether I use the repository Docker or the "official" Docker via their repository. The failure codes aren't quite specific enough for me to deduce what might be going on. All dependencies have been resolved, at least according to the bash script's output. (i.e. python3, pyhton3-flask, git, docker, docker-compose) I also see the same thing when I download the script and run it locally.
All the systemd failures related to code 32 I've found seem to be file system related, issues with NFS and/or CIFS. I'm not super familiar with this methodology of invoking docker instances, so I'm not quite sure how to leverage more traditional docker debugging that I'd normally use to figure out why something doesn't start.
Help would be appreciated!
The install script failure:
Output of systemctl status adsb-docker.service:
The full journalctl -xeu adsb-docker.service output is as follows, which repeats failure 6 times and then ceases as expected:
And, FWIW, I also get the failure if I try to start the service manually. So, I think it's something related to that service.
The text was updated successfully, but these errors were encountered: