If you find thereâs a bug there, let me know, but you will need to debug it yourself.
Obvious thing to check would be that the json that the browser receives is what you expect.
You did update the copy of the DB thatâs actually being served, right?
On my Pi#1, I have dump1090-mutability v1.15~dev. I did not want to replace it with dump1090-fa, but wanted its map. I tried following, and now my dump1090-mutabiity has same map as that of dump1090-fa.
I am also using dump1090-mutability 1.15~dev and would like to do what you did and replace the html folder.
I donât have the complete image installed on another RPi and therefore no access to the new html folder.
Any source for the folder short of installing the image on another memory card and then copy it as you did?
I am not at home and have not enabled port forwarding /SSH. When I am back home, I will try download folder public_html from github, rename it html and then copy it to folder /usr/share/dump1090-mutability (after renaming its own html folder to orig-html). I forgot the exact command to download. It is either wget or clone, but something like below:
Found I had downloaded the 3.1 image so loaded it on another memory card and went through the Filezilla routine, but when I then tried to reload the browser, it started the new map but got stuck in a loop. No luck getting it to load even after rebooting and emptying the browser cache.
Try the method below. It does not require copying html folder from another Pi or memory card. It downloads the required html folder from github.
#download the dump1090-fa files from github
cd ~
git clone https://github.com/flightaware/dump1090.git
#the above command will download a folder dump1090, which contains another folder public_html
#copy the folder public_html to folder /usr/share/dump1090-mutability
sudo cp -r dump1090/public_html /usr/share/dump1090-mutability/public_html
#now go to folder dump1090-mutability
cd /usr/share/dump1090-mutability
#first change name of folder html to original-html
#this preserves the original html folder, and enables revert in case something goes wrong
sudo mv html original-html
#now change the name of folder public_html to html
sudo mv public_html html
#now go to folder html
cd html
#change the name of file index.html to gmap.html
sudo mv index.html gmap.html
#now reboot for changes to take effect
sudo reboot
#after reboot, reload the browser. If new map does not show, clear browser's cache.
schre wrote:
âŚ
I donât have the complete image installed on another RPi and therefore no access to the new html folder.
Any source for the folder short of installing the image on another memory card and then copy it as you did?
Try the method below. It does not require copying html folder from another Pi or memory card. It downloads the required html folder from github.
I discovered I had the 3.1.0 image, and was able to use your original Filezilla instructions to copy the html folder. However, even with rebooting and clearing the browser, it refused to load, so I just tried your latest procedures and downloaded everything from github.
Am having the same result â I can see the text has loaded but the progress bar bounces back and forth in a loop, and the map never loads.
This is being run on a RPi B model under the Minibian O/S (a headless version with only the basics but raspi compatible and upgradeable) which was upgraded to Jessie some time ago and recently updated/upgraded. Since the earlier dump1090-mutability web interface runs fine, I would expect the new maps to work o.k. Minibian is however a minimalist system so something may be missing that wasnât previously required.
I reinstalled the old html folder and back in business.
Truly a mystery. Really appreciate what youâve done to help me. Thanks !
Upon further review, I lost my multi colored distance rings and totally lost my terrain limit rings. I can fix manually but curious why that happened. Seemed to retain yours!
Range circle quantity enhancement was due to modifications in file config.js
Range circle color was due to modifications in file script.js.
Both these files reside in folder âhtmlâ.
When original âhtmlâ folder is replaced by downloaded âhtmlâ folder, it gets new unmodified copies of these files, and hence ring colors are lost.
EDIT: Do not copy these old files to new downloaded html folder. Due to different User Interfaces, there may be differences in old and new files which may make new User Interface to malfunction or become blank. Instead manually modify the fresh copies of these files to get back the ring colors and quantity.
The terrain limit rings are created by file upintheair.json. It does not exist by default. It was generated by wget command, and still exists in folder original-html. However there is no copy in current html folder and that is why terrain rings disappeared totally. You can either copy it from original-html to the current html folder, or re-generate it in the current html folder by wget command. I got it back by generating upinthair.json file using wget command