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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Directus
  3. Directus Map Interface requires the PostGIS extension on postgres

Directus Map Interface requires the PostGIS extension on postgres

Scheduled Pinned Locked Moved Solved Directus
9 Posts 4 Posters 2.4k Views 5 Watching
  • 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 Offline
      M Offline
      markjames
      wrote on last edited by
      #1

      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!

      girishG 1 Reply Last reply
      4
      • M markjames

        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!

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #2

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

        M M 2 Replies Last reply
        3
        • girishG girish

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

          M Offline
          M Offline
          markjames
          wrote on last edited by
          #3

          Great, thanks @girish!

          1 Reply Last reply
          1
          • girishG girish

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

            M Offline
            M Offline
            msbt
            App Dev
            wrote on last edited by
            #4

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

            luckowL girishG 2 Replies Last reply
            0
            • M msbt

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

              luckowL Offline
              luckowL Offline
              luckow
              translator
              wrote on last edited by
              #5

              @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
              0
              • luckowL luckow

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

                M Offline
                M Offline
                msbt
                App Dev
                wrote on last edited by
                #6

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

                luckowL 1 Reply Last reply
                0
                • M msbt

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

                  luckowL Offline
                  luckowL Offline
                  luckow
                  translator
                  wrote on last edited by
                  #7

                  @msbt hmm.

                  Pronouns: he/him | Primary language: German

                  1 Reply Last reply
                  0
                  • M msbt

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

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    @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
                    4
                    • girishG girish

                      @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 Offline
                      M Offline
                      msbt
                      App Dev
                      wrote on last edited by
                      #9

                      @girish nice, thanks!

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search