Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Directus Map Interface requires the PostGIS extension on postgres

    Directus
    4
    9
    829
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      markjames last edited by

      Hi Girish,
      Great work bundling up Directus 9, however, I've run into a problem.

      While looking to implement the built in map interface, it errored because PostGIS isn't installed.

      The logs files during startup also highlights this issue -

      PostGIS isn't installed. Geometry type support will be limited.
      

      A quick google suggests this is an extension that can be added to Postgres.

      https://postgis.net/install/

      Is this something I can add into the postgres bundled with Cloudron?

      Thanks!

      girish 1 Reply Last reply Reply Quote 4
      • girish
        girish Staff @markjames last edited by girish

        @markjames I have enabled the postgis extensions in the next release (7.1). Should be out next week.

        M M 2 Replies Last reply Reply Quote 3
        • M
          markjames @girish last edited by

          Great, thanks @girish!

          1 Reply Last reply Reply Quote 1
          • M
            msbt App Dev @girish last edited by

            @girish I just installed a fresh Directus and it still shows what @markjames mentioned earlier. Are the changes live yet?

            luckow girish 2 Replies Last reply Reply Quote 0
            • luckow
              luckow translator @msbt last edited by

              @msbt Is your Cloudron instance on version 7.1.x?
              7e3a91d3-51d6-4638-8598-12969c3c4be3-grafik.png

              Pronouns: he/him | Primary language: German

              M 1 Reply Last reply Reply Quote 0
              • M
                msbt App Dev @luckow last edited by

                @luckow yes, v7.1.2 (Ubuntu 20.04.4 LTS)

                luckow 1 Reply Last reply Reply Quote 0
                • luckow
                  luckow translator @msbt last edited by

                  @msbt hmm.

                  Pronouns: he/him | Primary language: German

                  1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff @msbt last edited by

                    @msbt yes. So, the expectation was that the app will do "CREATE EXTENSION postgis" if it needs it but looks like directus doesn't do this automatically. I will fix the app package but in the meantime, Web Terminal -> Postgresql -> CREATE EXTENSION postgis . Then restart directus.

                    M 1 Reply Last reply Reply Quote 4
                    • M
                      msbt App Dev @girish last edited by

                      @girish nice, thanks!

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Powered by NodeBB