< 292024-07-30⋎31 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
15:23mstenta[m]GOAT 2024 Applications are open! docs.google.com/forms/d/e/1FAIpQLScl0-aO
15:24mstenta[m]We should rebroadcast via our own community newsletter
15:24mstenta[m](And blog?)
15:31symbioquine[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:32symbioquine[m](If not the actual dates, at least something like "in early November")
15:32mstenta[m]Good point symbioquine I shared that with the organizers
15:33symbioquine[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:33mstenta[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:08mstenta[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:42YahyaKhaled[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:42mstenta[m]Hi Yahya Khaled
17:42YahyaKhaled[m]I made sure to enter the correct databasename, username, password, and hostname. I also made sure the database is running properly
17:42mstenta[m]Are you using farmos.org/hosting/install/ or farmos.org/development/environment/?
17:43mstenta[m](production environment or development environment?)
17:43YahyaKhaled[m]I'm using farmos.org/development/environment/
17:43mstenta[m]Oh sorry, you said development earlier
17:43YahyaKhaled[m]no worries, you're good
17:44mstenta[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:44mstenta[m]But my understanding is that the docker-compose.yml file should have everything necessary
17:45mstenta[m]But it sounds like the db hostname is not reachable. Docker is responsible to set that up.
17:45YahyaKhaled[m]I'm actually running it on Ubunto, I'm using my local browser to access it
17:45mstenta[m]Ah OK.... so are they on different machines?
17:45YahyaKhaled[m]mstenta[m]: That's why I'm confused why it's not working. everything looks fine to me
17:46mstenta[m]Well I suppose that shouldn't matter... what matters is that the web container can access the db container.
17:46mstenta[m]s/web/`www`/, s//`/, s//`/
17:47YahyaKhaled[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:48mstenta[m]OK that all sounds fine
17:48mstenta[m]Are you sure that the PostgreSQL container is running? Do you see it if you run docker ps?
17:50YahyaKhaled[m]yes it is
17:50YahyaKhaled[m]I even tried connecting to using the farm username on my terminal, and that worked fine
17:50mstenta[m]Hmm OK
17:51mstenta[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:51mstenta[m]I'm not sure what would be wrong. You could try searching for this issue more generally.
17:52YahyaKhaled[m]I'll look more into it, thank you
17:53mstenta[m]You could try getting into the www container, install postgres-client and try connecting directly in various ways
17:53mstenta[m]If you're comfortable doing that
17:53YahyaKhaled[m]I'll try that
17:54mstenta[m]I would also just try simple things like restarting the containers, just in case :-)
17:55YahyaKhaled[m]yeah I tried that already, I wish it worked...
17:56mstenta[m]ah ok
18:32farmBOT@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

< 292024-07-30⋏31 >