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

Maps do not show #163

Open
manosmustang opened this issue Mar 23, 2022 · 1 comment
Open

Maps do not show #163

manosmustang opened this issue Mar 23, 2022 · 1 comment

Comments

@manosmustang
Copy link

Hi, I have installed misp-dashboard, I can see the everything but the maps! there are no maps, the boxes are blank. any ideas?
thank you

@Khayo-7
Copy link

Khayo-7 commented Jul 19, 2022

Reason:

This is because line #130 in "install_dependencies.sh",

wget http://cdn.leafletjs.com/leaflet/v${LEAFLET_VERSION}/leaflet.zip -O temp/leaflet.zip

returns Error 403: Forbidden, thus it continues without downloading the leaflet zip file that contains the necessary javascript files for the maps(with CSS and image files as well).

Solution:

Changing the Leaflet version number to the latest release solved the problem in my case.

In the file "install_dependencies.sh", change the #129 line

LEAFLET_VERSION="1.2.0"

to

LEAFLET_VERSION="1.8.0" (as of July 19, 2022, the latest version is "1.8.0").

You can check the latest release at "https://leafletjs.com/"

Or you can manually download the zip file from "https://leafletjs.com/download.html" and include

  • 'leaflet.js' file into the 'static/js' folder
  • 'leaflet.css' to 'static/css' folder
  • all contents of the 'images' folder to images into 'static/css/images' folder

Hope this helps

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