I have a spare Raspberry Pi that I was using as a “MagicMirror” and I thought I’d add it as a flightaware feeder. Anyway, after installing FlightAware “SkyAware” has taken over 127.0.0.1:8080.
Is there a way I can reconfigure so I can get my old MagicMirror back and still run FlightAware in the background?
Ok, so in etc/lighttpd there are 2 folders and 1 file:
conf-available
conf-enabled
lighttpd.conf
In both conf-available and conf-enabled there is the file 89-skyaware.conf
I’ve #'ed every line in both files.
I’ve also ran sudo lighttpd-disable-mod skyaware
When I type “npm run start” (the command to start Magic mirror) the Raspberry pi still goes into a full screen display of SkyAware. The one thing that has changed is that 127.0.0.1:8080 now yields “this site can’t’ be reached”. However SkyAware is still lurking somewhere in the background because I can’t start MagicMirror.
Just reboot, seems my explanation didn’t take.
(the key was to restart lighttpd, it’s a service … how to restart it, well google something like “restart lighttpd”)
Oh, sorry. Yes, multiple reboots yield the same thing. On startup, a script runs to start magic mirror. Instead of a full screen of magic mirror, I get a full screen of piaware, skyaware.
is there a 89-dump1090-fa.conf there?
And where on :80 or :8080 ?
Which screen do you get exactly, provide a screenshot.
It has to be in one of the configuration files, look for 8080 if that’s the port you care about.
Not sure how you access your Pi but if you ssh into it then type sudo netstat -tulnp it will give you a list of port numbers and what program started the ports.
Well, sure. You didn’t say anything about needing port 80, you said you needed to turn off port 8080.
It looks like nothing is listening on 8080 now so it’s working as expected - lighttpd has bound port 80 only and is leaving 8080 free for whatever you needed there.
If you want to entirely stop lighttpd from taking any ports including port 80, then try sudo systemctl mask lighttpd and reboot.
Admittedly I’m a cut and past kind of guy but I’m learning, This is a sample from the config file for my magicmirror. You can see the reference to port 8080. That’s why I assumed that. Thanks for helping troubleshoot.
Annoying, guess you didn’t have backup of Magic Mirror. Sometimes the easiest remedy is a reload. I have found in the past the time spent trying to sort out a problem is better spent reinstalling. Not always practical, appreciate that. Installing PiAware on a blank disk is easy and not too time consuming, the magic mirror I’ve never tried and may be an issue.
Thanks… yeah, I might have to reformat. I’m not sure what piaware did to the setup but it certainly seems to have overwritten something. No, no backup for my original installation. I was just using magicmirror as an electronic “picture frame” and thought it’d be easy to just slap a FlightAware dongle in to add a feeder. Well, it WAS simple to get piaware running… but at a big cost to my time now.