IRC logs for #farmOS, 2017-03-08 (GMT)

2017-03-07
2017-03-09
TimeNickMessage
[21:38:17]* JustTB has quit (Quit: Leaving.)
[04:26:31]* JustTB has joined #farmos
[04:36:37]* JustTB has quit (Ping timeout: 246 seconds)
[07:35:07]* baekelandt has joined #farmos
[07:35:25]* baekelandt has quit (Client Quit)
[13:28:59]* baekelandt has joined #farmos
[13:59:43]* Fosten has joined #farmos
[14:00:43]* CB_ has joined #farmos
[14:01:12]* Alex______ has joined #farmos
[14:01:30]<Alex______>Hi!
[14:01:30]<farmBOT>ni hao
[14:03:13]<CB_>Hi!
[14:03:13]<farmBOT>privet
[14:05:40]<CB_>I have Docker 1.13.1 installed on a Mac running 10.10.5. I have this docker-compose.yml file on the local filesystem: https://github.com/farmOS/farmOS/blob/7.x-1.x/docker-compose.yml I execute docker-compose up -d and get:
[14:05:53]<CB_>farmos_db_1 is up-to-date Starting farmos_www_1 ERROR: for www Cannot start service www: driver failed programming external connectivity on endpoint farmos_www_1 (cfc99a2b374780f21079b2911f16c07a10e49c3837c245f7b3fe81c1866009c5): Error starting userland proxy: Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE) ERROR: Encountered errors while bringing up the project.
[14:07:04]<mstenta>hey!
[14:07:04]<farmBOT>hey
[14:07:12]<mstenta>sorry... be right back... moving back to the office...
[14:08:17]<mstenta>hi Alex______
[14:08:19]<mstenta>hi CB_
[14:08:28]<mstenta>ok, so CB_...
[14:08:36]<mstenta>i've never seen that error before...
[14:09:06]<mstenta>but... one thing i have heard from someone else is that they had Apache running on port 80 on their Mac, and that conflicted with the www container (which also wants to use port 80)
[14:09:20]<mstenta>so one thing you could try... in the docker-compose.yml, is to set it to use port 81 instead
[14:09:46]<mstenta>then you would go to localhost:81 to view it
[14:09:53]<mstenta>looking at your docker-compose.yml now...
[14:10:17]<mstenta>so on line 22...
[14:10:29]<mstenta>try changing it to '81:80'
[14:10:39]<mstenta>that will map port 81 on your host to port 80 on the www container
[14:11:28]<mstenta>i wouldn't be surprised if that is the issue... considerring that the error you're seeing is "Bind for 0.0.0.0:80: unexpected error (Failure EADDRINUSE)"
[14:11:48]<mstenta>the EADDRINUSE sounds like "error address in use" which could be an indication that port 80 is already in use on the mac
[14:14:27]<Fosten>mstenta: thanks, the call was helpful. gave me a chance to rss subscribe to the issue tracker, github commits, farmier news feed, twitter feed, etc. is the newsletter just a repeat of the news feed?
[14:15:27]<mstenta>Fosten: haha yea there's a lot of different things... i'm open to ways of consolidating if you think of any...
[14:15:36]<mstenta>the newsletter is it's own thing
[14:15:47]<mstenta>i don't really use the news feed on farmier.com much anymore
[14:16:07]<mstenta>i use the newsletter to announce most major updates
[14:17:28]<Fosten>i was gonna suggest making the monthly call schedule gcal/ical subscribeable, i put each date in manually, but would be easier for people to just click once.
[14:17:42]<mstenta>Fosten: cool that's a great idea
[14:18:13]<mstenta>i've never done that before... is it something we could easily add via Git? farmOS.org is managed via http://github.com/farmOS/farmOS.org
[14:19:59]* Alex______ has quit (Ping timeout: 260 seconds)
[14:20:17]<Fosten>iirc, maybe create events as content on farmier, then whatever cal module you're using, should produce a link.
[14:20:36]<mstenta>ok gotcha
[14:20:51]<mstenta>i think i have it in google calendar... maybe i can create a link from that?
[14:21:23]* AlexBeet has joined #farmos
[14:21:26]<CB_>mstenta, the port change worked. But now, in the drupal installation sequence, I enter "farmos" for dbname, dbusername and dbpassword and I get:
[14:21:27]<CB_>Resolve all issues below to continue the installation. For help configuring your database server, see the installation handbook, or contact your hosting provider. Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2002] No such file or directory. Is the database server running? Does the database exist, and have you entered the correct database name? Have you entered the correct username
[14:21:47]<mstenta>CB_: awesome!
[14:22:03]<mstenta>ok so yea... for the db... make sure you click on the "Advanced" fieldset and change "localhost" to "db"
[14:22:25]<mstenta>because the database is technically on a different machine (the db container) not on localhost (which is the www container in that context)
[14:22:26]<AlexBeet>Hi again - had to drop off for a sec!
[14:22:32]<mstenta>hi AlexBeet :-)
[14:23:07]<mstenta>i'll be right back everyone... gotta hangout with a work colleague to discuss something...
[14:23:07]<mstenta>brb
[14:24:16]<CB_>mstenta, of course... i tried 0.0.0.0 127.0.0.1, localhost, and I tried all of these with and without the db port 3306, but of course this would need the db as it was named in the compose file. Thanks!
[14:24:31]<mstenta>CB_: great! :-D
[14:26:04]<CB_>mstenta, I see that you're using volumes, so I should be able to make my changes and then push to a private dockerhub repo, correct?
[14:28:23]<Fosten>mstenta: good idea. https://support.google.com/calendar/answer/37083?hl=en
[14:29:59]<mstenta>CB_: yea i think so!
[14:31:13]<AlexBeet>I'll go ahead and describe my issue, and it's fine if you can't get to it right away
[14:33:21]<AlexBeet>I uploaded the 7.x-1.0-beta12 files onto my server, configured the mySql database, and successfully completed the installation
[14:34:05]<AlexBeet>I immediately applied all the updates that were available
[14:34:52]<AlexBeet>And I was able to create fields, add plantings, move things around, and all that good stuff
[14:34:56]<AlexBeet>I then logged off
[14:35:13]<AlexBeet>And when I try to return to the site I do not get a login prompt
[14:35:23]<mstenta>AlexBeet: ah ok... try going to /user
[14:35:34]<mstenta>that's where the login page is
[14:35:57]<AlexBeet>I tried that - it says the page doesn't exist
[14:36:15]<mstenta>i use an additional module in Farmier to make that easier, called LoginToboggan, but i decided to leave that out of farmOS to reduce dependencies
[14:36:17]<mstenta>oh huh.
[14:36:38]<mstenta>AlexBeet: brb...
[14:39:05]* Fosten has left #farmos ()
[14:52:28]<AlexBeet>Hi Michael - I actually need to get back to work in the greenhouse right now, but are you planning to be in the IRC another time? Thanks so much for your help!
[14:54:25]<mstenta>hi AlexBeet yea let's find another time - sorry i'm still in my work hangout right now
[14:54:37]<mstenta>i'm usually on this chat! feel free to join next time you're available!
[15:06:39]* AlexBeet has quit (Ping timeout: 260 seconds)
[15:23:34]* baekelandt has quit (Quit: Page closed)
[17:30:09]* CB_ has quit (Ping timeout: 260 seconds)