mintproject / mint

Entry point repository to the core software of the MINT framework
Apache License 2.0
0 stars 1 forks source link

Map is not working #8

Closed mosoriob closed 1 year ago

mosoriob commented 1 year ago

I have installed the MINT in three places: AWS EC2s, the local machine, and Jetstream2 VMs. The map in the Select Region page is working when the MINT is running on the local machine. Even though I opened all traffic (inbound/outbound) on EC2/Jetstream2, the Map is not responding.

mosoriob commented 1 year ago

I need more information

  1. Did you get a Google Maps key?
  2. Can you open the Developer tools (select console) on your browser and load the webpage?
mosoriob commented 1 year ago

Related to: https://github.com/mintproject/graphql_engine/issues/10

mosoriob commented 1 year ago

This error is a product of the database update. There are two solution

Option 1. Update the hasura database

You must change the namespace and release names

❯ kubectl -n YOUR_NAMESPACE exec -ti deployment/YOUR_RELEASE-hasura -c hasura-db  bash
kubectl exec [POD] [COMMAND] is DEPRECATED and will be removed in a future version. Use kubectl exec [POD] -- [COMMAND] instead.
bash-5.1# su - postgres
test-hasura-5b56757f4f-bczjs:~$ psql -U hasura
psql (10.23)
Type "help" for help.

hasura=# ALTER EXTENSION postgis UPDATE;
NOTICE:  version "3.2.3" of extension "postgis" is already installed
ALTER EXTENSION

Option 2

Delete the Hasura persistent volumes and reinstall