Problem with deploy on Rancher with external DB
AndreaNocciolini opened this issue · 10 comments
Hello!
I'm opening this issue because I'm having serious problems deploying nominatim on Rancher using an external database. I've change the yaml file following the instructions on the readme file (), but that doesn't work. After a while the installation started, it tries to drop the database just created and it goes in error. If i delete the database while is restarting, it seems to overcome this step, but then another error appear, saying that it miss a www-data user.
I'm trying since a while now, and i don't really know how to solve those problems, can i have any help? I am attaching a facsimile of the yaml with which I overwrite the data during initialization
.
Thank you very much!
Hallo @AndreaNocciolini
First of all thanks for interests in using this chart.
I was able to perform a standard installation, so the install process is working 😄
Looking into the code I found, that the database name is hardcoded. I will fix it today.
Im the meantime could you provide me some additional informations about your database instance? How you installed it? Does it have the necessary nominatim extension?
Hi @robjuz,
I'm glad that you're helping me!
About my database instance, unfortunately I can't provide much information because it was prepared for me by one of my colleagues. He installed the database on one of the amazon services (EC2) and he give me the data to connect to it. Once you've fix the problem I'll try again the installation, can you please tell me which extension are needed for Nominatim?
@AndreaNocciolini
I releases a update. Please try now.
Some important things:
- The database is always nominatim. This comes from nominatim itself.
- The database user need superuser privilages to be able to create the postgis and hstore extension
@AndreaNocciolini Any progress?
Hi @robjuz !
Sorry for the late reply, but I couldn't try as geofabrik blocked my IP :(. I'm trying to get in touch with them to get unblocked, once solved I'll let you know right away!
@AndreaNocciolini Have you successes with the installation?
hello @robjuz , yes, we finish yestarday! The installation has been completed by my CTO, he was able to make it work (I messed up a bit with postgres DBs because of my inexperience :P)!