Skip to content
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

Update version? #1

Open
RedVox73 opened this issue Aug 22, 2022 · 5 comments
Open

Update version? #1

RedVox73 opened this issue Aug 22, 2022 · 5 comments

Comments

@RedVox73
Copy link

RedVox73 commented Aug 22, 2022

Dear Brannon,

Would it be possible to update this for the current raspberry / aprsc version? Have been trying to get it working but unfortunately my limited knowledge doesn't get me to the finish line.

@Timi7007
Copy link
Contributor

Hey Michiel,

I'm unsure if you still need this and if I've gotten to your issue, but check out #2 as it may get the system running for you.

@Timi7007
Copy link
Contributor

Ah, just stumbled across your mention of the Pi. aprsc isn't available prepackaged for the Raspberry's ARM CPU, only amd64 and i386, and thus this docker installation fails:

Get:4 http://aprsc-dist.he.fi/aprsc/apt bullseye InRelease [1905 B]
Fetched 1905 B in 1s (1306 B/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package aprsc

An ARM version can be built though.
Alternatively aprsc can be run on a "normal" PC.

@Timi7007
Copy link
Contributor

... I didn't go to bed ...
Now you should be able to run on a Raspberry, though:
Bildschirmfoto vom 2023-05-19 05-46-24

# clone the armhf branch
git clone -b armhf https://github.com/Timi7007/aprsc-docker.git
cd aprsc-docker

# create an aprsc.conf file using the example. You MUST configure this to fit
# your needs. Configuration information is available here: 
#  http://he.fi/aprsc/CONFIGURATION.html
cp aprsc.conf.example aprsc.conf
# vi [or nano] aprsc.conf

# run the service in "detach" mode
docker compose up -d

# follow the logs
docker compose logs -f

# shutdown
docker compose down

https://github.com/hessu/aprsc/blob/main/doc/BUILDING.md was immensely helpful with this and further optimization will follow (automatic platform selection, update mechanism etc.) at https://github.com/Timi7007/aprsc-docker/tree/armhf

@RedVox73
Copy link
Author

RedVox73 commented May 19, 2023 via email

@Timi7007
Copy link
Contributor

Enjoy your vacation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants