Alia

Alia

Problem with Postgis: (Postgrex.Error) ERROR 58P01 (undefined_file)

why i’m getting this while configuration?

** (Postgrex.Error) ERROR 58P01 (undefined_file) could not open extension control file "/usr/share/postgresql/14/extension/postgis.control": No such file or directory

First Post!

sergio

sergio

You probably have to install the postgis extension on Postgres. That error has nothing to do with Elixir. I would start by looking at that and confirm postgis is installed on your database, then circle back to elixir. Try to minimize the surface area for the bugs as you troubleshoot.

Most Liked

kip

kip

ex_cldr Core Team
dimitarvp

dimitarvp

Show us how you’re instaling postgis?

sergio

sergio

Post what you did for others always a good habit :wink:

Last Post!

Alia

Alia

have you installed Postgis ? if not the following command will work,
sudo apt -y install postgresql-11
sudo apt-get install postgresql-11-postgis-3-scripts

After installing postgis with these commands hopefully you can create postgis extension via migrations file successfully.

Where Next?

Popular in Questions Top

electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
komlanvi
Hi everyone, I was playing with phoenix liveView but I run into an issue. I have a form and want to validate each input text when the te...
New
marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New

Other popular topics Top

grych
Hi folks, Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
639 54260 488
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement