IRC logs for #farmOS, 2024-07-30 (GMT)

2024-07-29
2024-07-31
TimeNickMessage
[11:23:48]<mstenta[m]>GOAT 2024 Applications are open! https://docs.google.com/forms/d/e/1FAIpQLScl0-aO2Ip28OIKR5l3g0CyZjgaIgrs...
[11:24:15]<mstenta[m]>We should rebroadcast via our own community newsletter
[11:24:55]<mstenta[m]>(And blog?)
[11:31:38]<symbioquine[m]>IMHO the conference dates should be in the first sentence of the [Goat info page](https://goatech.org/2024/07/08/goat-2024/) and should be mentioned on the application form too.
[11:32:14]<symbioquine[m]>(If not the actual dates, at least something like "in early November")
[11:32:50]<mstenta[m]>Good point symbioquine I shared that with the organizers
[11:33:42]<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.
[11:33:43]<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.
[12:08:26]<mstenta[m]>The pages have been updated with your suggestions symbioquine! :-)
[13:39:21]* YahyaKhaled[m] has joined #farmos
[13:41:51]<YahyaKhaled[m]>ACTION uploaded an image: (281KiB) < https://matrix.org/_matrix/media/v3/download/matrix.org/TjRjBDylPBTKIJgH...(15).png >
[13:42:06]<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
[13:42:41]<mstenta[m]>Hi Yahya Khaled
[13:42:51]<YahyaKhaled[m]>I made sure to enter the correct databasename, username, password, and hostname. I also made sure the database is running properly
[13:42:52]<mstenta[m]>Are you using https://farmos.org/hosting/install/ or https://farmos.org/development/environment/?
[13:43:13]<mstenta[m]>(production environment or development environment?)
[13:43:16]<YahyaKhaled[m]>I'm using https://farmos.org/development/environment/
[13:43:26]<mstenta[m]>Oh sorry, you said development earlier
[13:43:58]<YahyaKhaled[m]>no worries, you're good
[13:44:29]<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.
[13:44:46]<mstenta[m]>But my understanding is that the docker-compose.yml file should have everything necessary
[13:45:02]<mstenta[m]>But it sounds like the db hostname is not reachable. Docker is responsible to set that up.
[13:45:09]<YahyaKhaled[m]>I'm actually running it on Ubunto, I'm using my local browser to access it
[13:45:39]<mstenta[m]>Ah OK.... so are they on different machines?
[13:45:57]<YahyaKhaled[m]>mstenta[m]: That's why I'm confused why it's not working. everything looks fine to me
[13:46:03]<mstenta[m]>Well I suppose that shouldn't matter... what matters is that the web container can access the db container.
[13:46:26]<mstenta[m]>s/web/`www`/, s//`/, s//`/
[13:47:39]<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.
[13:48:16]<mstenta[m]>OK that all sounds fine
[13:48:59]<mstenta[m]>Are you sure that the PostgreSQL container is running? Do you see it if you run docker ps?
[13:50:17]<YahyaKhaled[m]>yes it is
[13:50:36]<YahyaKhaled[m]>I even tried connecting to using the farm username on my terminal, and that worked fine
[13:50:51]<mstenta[m]>Hmm OK
[13:51:30]<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)
[13:51:44]<mstenta[m]>I'm not sure what would be wrong. You could try searching for this issue more generally.
[13:52:37]<YahyaKhaled[m]>I'll look more into it, thank you
[13:53:06]<mstenta[m]>You could try getting into the www container, install postgres-client and try connecting directly in various ways
[13:53:17]<mstenta[m]>If you're comfortable doing that
[13:53:47]<YahyaKhaled[m]>I'll try that
[13:54:25]<mstenta[m]>I would also just try simple things like restarting the containers, just in case :-)
[13:55:01]<YahyaKhaled[m]>yeah I tried that already, I wish it worked...
[13:56:12]<mstenta[m]>ah ok
[14:32:11]<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! https://goatech.org/2024/07/08/goat-2024/ => https://fosstodon.org/@farmOS/112876142335078418