| 15:23 | mstenta[m] | GOAT 2024 Applications are open! docs.google.com/forms/d/e/1FAIpQLScl0-aO |
| 15:24 | mstenta[m] | We should rebroadcast via our own community newsletter |
| 15:24 | mstenta[m] | (And blog?) |
| 15:31 | symbioquine[m] | IMHO the conference dates should be in the first sentence of the [Goat info page](goatech.org/2024/07/08/goat-2024/) and should be mentioned on the application form too. |
| 15:32 | symbioquine[m] | (If not the actual dates, at least something like "in early November") |
| 15:32 | mstenta[m] | Good point symbioquine I shared that with the organizers |
| 15:33 | symbioquine[m] | I know there was a "save the date" post and the info is there eventually, but I'm just saying what I naive reader (at least me) expects to find up front and center. |
| 15:33 | mstenta[m] | It's during the election too, so that should be highlighted. They mentioned it in the email that went out but not in these pages. |
| 16:08 | mstenta[m] | The pages have been updated with your suggestions symbioquine! :-) |
| 17:39 | * | YahyaKhaled[m] has joined |
| 17:41 | * | uploaded an image: (281KiB) < matrix.org/_matrix/media/v3/download/mat > |
| 17:42 | YahyaKhaled[m] | Hi everyone, I'm trying to set up a local farmOS development environment using docker, and I'm following the installation guide on the website. I've done all the initiall steps fine, but now I'm stuck with this error message |
| 17:42 | mstenta[m] | Hi Yahya Khaled |
| 17:42 | YahyaKhaled[m] | I made sure to enter the correct databasename, username, password, and hostname. I also made sure the database is running properly |
| 17:42 | mstenta[m] | Are you using farmos.org/hosting/install/ or farmos.org/development/environment/? |
| 17:43 | mstenta[m] | (production environment or development environment?) |
| 17:43 | YahyaKhaled[m] | I'm using farmos.org/development/environment/ |
| 17:43 | mstenta[m] | Oh sorry, you said development earlier |
| 17:43 | YahyaKhaled[m] | no worries, you're good |
| 17:44 | mstenta[m] | Hmm I see you're running Windows. I'm not sure if that has different considerations. I've only done this on Linux. |
| 17:44 | mstenta[m] | But my understanding is that the docker-compose.yml file should have everything necessary |
| 17:45 | mstenta[m] | But it sounds like the db hostname is not reachable. Docker is responsible to set that up. |
| 17:45 | YahyaKhaled[m] | I'm actually running it on Ubunto, I'm using my local browser to access it |
| 17:45 | mstenta[m] | Ah OK.... so are they on different machines? |
| 17:45 | YahyaKhaled[m] | mstenta[m]: That's why I'm confused why it's not working. everything looks fine to me |
| 17:46 | mstenta[m] | Well I suppose that shouldn't matter... what matters is that the web container can access the db container. |
| 17:46 | mstenta[m] | s/web/`www`/, s//`/, s//`/ |
| 17:47 | YahyaKhaled[m] | mstenta[m]: Basically I'm connected to the Ubunto server from my laptop's terminal. I ran everything on the terminal, then for accessing the page from the browser, I did that from my laptops local browser using Ubunto's ip address instead of localhost. |
| 17:48 | mstenta[m] | OK that all sounds fine |
| 17:48 | mstenta[m] | Are you sure that the PostgreSQL container is running? Do you see it if you run docker ps? |
| 17:50 | YahyaKhaled[m] | yes it is |
| 17:50 | YahyaKhaled[m] | I even tried connecting to using the farm username on my terminal, and that worked fine |
| 17:50 | mstenta[m] | Hmm OK |
| 17:51 | mstenta[m] | Well then it seems like a Docker networking issue. Docker should set it up automatically so that the hostname db resolves to the correct container from within the www container (and vice versa) |
| 17:51 | mstenta[m] | I'm not sure what would be wrong. You could try searching for this issue more generally. |
| 17:52 | YahyaKhaled[m] | I'll look more into it, thank you |
| 17:53 | mstenta[m] | You could try getting into the www container, install postgres-client and try connecting directly in various ways |
| 17:53 | mstenta[m] | If you're comfortable doing that |
| 17:53 | YahyaKhaled[m] | I'll try that |
| 17:54 | mstenta[m] | I would also just try simple things like restarting the containers, just in case :-) |
| 17:55 | YahyaKhaled[m] | yeah I tried that already, I wish it worked... |
| 17:56 | mstenta[m] | ah ok |
| 18:32 | farmBOT | @farmOS@fosstodon.org => #GOAT 2024 Applications are open through 8/30! Come join the community at the beautiful Paicines Ranch in California this November! goatech.org/2024/07/08/goat-2024/ => fosstodon.org/@farmOS/112876142335078418 |