IRC logs for #farmOS, 2019-05-15 (GMT)

2019-05-14
2019-05-16
TimeNickMessage
[22:57:02]* JustTB has quit (Ping timeout: 246 seconds)
[23:11:52]* JustTB has joined #farmos
[05:05:29]* JustTB has quit (Quit: Leaving.)
[05:20:01]* JustTB has joined #farmos
[05:38:56]* JustTB has quit (Quit: Leaving.)
[05:40:14]* JustTB has joined #farmos
[09:15:36]<karna[m]>How do we go about reconfiguring our farmOS setup to include sensor/sensor-listener modules if we didn't include these originally?
[09:23:57]<karna[m]>(hosted on Farmier)
[09:25:17]* hamishcunningham has joined #farmos
[09:46:32]* josepulido has joined #farmos
[09:50:01]* josepulido has quit (Client Quit)
[09:56:31]<mstenta[m]>Hi karna I can do that for you
[09:56:40]<mstenta[m]>Can you send me an email with your farmOS URL?
[09:56:50]<mstenta[m]>hello@farmier.com
[09:57:16]<mstenta[m]>I might not be able to immediately (out with family) but will do ASAP
[10:10:56]<hamishcunningham>thanks mstenta
[10:11:05]<hamishcunningham>I've sent a message for karna
[10:11:58]<hamishcunningham>When you have a min is this the best place to ask about the docker development instructions? (I can't get the MariaDB to talk to the Drupal)
[10:13:32]<mstenta[m]>Sure I might be able to help
[10:13:49]<mstenta[m]>Are you using the recommended setup from farmOS.org?
[10:14:27]<hamishcunningham><karna[m] "How do we go about reconfiguring"> yes I'm following the instructions here https://farmos.org/development/docker/
[10:15:20]<mstenta[m]>During the farmOS install process, did you open the Advanced database options and change it from localhost to db?
[10:15:33]<hamishcunningham>I get as far as the database configuration step at http://localhost/install.php?profile=farm&locale=en then "I get Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [2002] No such file or directory."
[10:15:41]<hamishcunningham>yes I tried the "db" version
[10:15:57]<hamishcunningham>also setting port to 3366
[10:16:05]<hamishcunningham>always the same message
[10:16:39]<mstenta[m]>Can you screenshot the DB settings page and post it here?
[10:16:51]<hamishcunningham>actually sometimes I get "Failed to connect to your database server. The server reports the following message: SQLSTATE[HY000] [1045] Access denied for user 'farm'@'172.18.0.3' (using password: YES)."
[10:17:20]<mstenta[m]>Sometimes? Is it consistent?
[10:17:31]<mstenta[m]>I would also check to make sure the db container is running
[10:17:44]<mstenta[m]>`sudo docker ps`
[10:17:50]<mstenta[m]>That will show running containers
[10:17:55]<mstenta[m]>There should be 2
[10:20:17]<hamishcunningham>ACTION sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/lUbMlSoTEnElrIvn... >
[10:20:43]<hamishcunningham>note that I installed my docker with a group, so I can run without sudo, not sure if that's relevant?
[10:21:08]<MockingbirdConsu>`0.0.0.0:3306->3306/tcp `
[10:21:09]<MockingbirdConsu>Set the port to `3306` and the server to `db`
[10:21:26]<mstenta[m]>Oh it's supposed to be port 3306
[10:21:34]<mstenta[m]>Yea thanks Mockingbird Consulting
[10:21:49]<MockingbirdConsu>the first message is because it's trying to connect to `localhost` via a socket instead of a TCP port (which is why you need to set it to `db`), the second is because it can't see the server at all
[10:23:18]<hamishcunningham>ACTION uploaded an image: Screenshot from 2019-05-15 15-22-39.png (172KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/FfpyFkxRctZGSCpQ... >
[10:23:50]<hamishcunningham>thanks, but seems like 3306 doesn't work for me either
[10:26:07]<MockingbirdConsu>Just running through this myself, hang on...
[10:28:00]<mstenta[m]>Can you post your docker-compose.yml?
[10:28:19]<mstenta[m]>I wonder if you're using an older one that used "farmos" instead of "farm"
[10:28:44]<hamishcunningham>ACTION posted a file: docker-compose.yml (0KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/KcmYQFgrxvkjQybh... >
[10:30:27]<MockingbirdConsu>FWIW, I just did a fresh run of those instructions and it's installing fine...
[10:30:48]<hamishcunningham>I modified it to change "farm" to "unisheffarm" the first time I tried, but then changed it back and tried again after it didn't work, so I'm running the same one as the current github version. perhaps something persisted between the first time and later runs?
[10:31:28]<MockingbirdConsu>did you run `docker-compose down` between runs, or just re-run `docker-compose up`?
[10:31:49]<mstenta[m]>Oh yes if you didn't delete the db folder then it would persist
[10:32:27]<MockingbirdConsu>Ah, yes, of course :)
[10:32:29]<mstenta[m]>The db folder is where the database is persisted. You can shut down the containers, delete that, and then try again
[10:33:53]<hamishcunningham>ok tnx will try that :)
[10:35:19]<hamishcunningham>brilliant, I deleted the db dir and tried again and it worked :)
[10:35:20]<hamishcunningham>tnx folks!
[10:35:28]<MockingbirdConsu>\o/
[10:36:37]<mstenta[m]>:-D
[11:15:54]<karna[m]>Just caught up on all this. Thanks a lot guys!
[13:37:59]* r3c4ll[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[13:50:09]* bodie1[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[13:51:59]* southerndan[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[13:53:04]* alekospantazis[m has quit (Quit: Idle kick: User has been idle for 30 days.)
[13:57:53]* oneironautical[m has left #farmos ("Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30 days.")
[14:02:25]* berryfarmer[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[14:05:40]* germarsh[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[14:16:33]* slarmour[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[14:17:10]* robcert[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[14:37:37]* golfredom[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[14:37:41]* ntropy[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[14:38:46]* tdelongc[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[14:38:59]* zackmuma[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[14:42:15]* chrowe[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[14:46:06]* nikasert[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[14:46:19]* alexasbeet[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30 days.")
[14:54:03]* amonteclicworld[ has quit (Quit: Idle kick: User has been idle for 30 days.)
[15:01:46]* todrobbins[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[15:03:09]* frankkurylo[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[15:03:25]* margeo[m] has quit (Quit: Idle kick: User has been idle for 30 days.)
[15:04:31]* gmarx[m] has left #farmos ("Kicked by @appservice-irc:matrix.org : Idle kick: User has been idle for 30 days.")
[16:54:12]* JustTB has quit (Quit: Leaving.)
[16:55:52]* JustTB has joined #farmos