| 00:47 | lazerorca | thank you soooo much for your help |
| 02:06 | * | itnomad has joined |
| 02:19 | itnomad | Hello. Docker is pretty cool. I took a couple of days to familiarize myself with it. Nice to not be messing with drush, or compose, or the version problems. |
| 02:20 | itnomad | I got the image and on running it connected to the web site where the drupal installation is running. I'm having trouble with the database setup. |
| 02:21 | itnomad | I'm following these instructions. farmos.org/development/docker/ |
| 02:24 | itnomad | It's tricky. I'm using docker in a Centos7 virtual machine hosted on a Fedora 25 computer. I created the database on the Centos7 virtual machine and I wonder if I should be creating it on the farmos container or something like that. |
| 02:25 | itnomad | Maybe easier just to get a Centos 7 cloud server and set things up there. I have a couple of cloudservers with Cloudatcost, but they have been a lot of trouble to work with. So they sit idle. |
| 02:34 | * | JustTB has quit (Quit: Leaving.) |
| 03:12 | itnomad | I think I just found what I need in your documentation. There is a MariaDB database container available on the host system. |
| 03:12 | itnomad | Outstanding! You guys have really done some great work with this. |
| 03:12 | itnomad | Bedtime now. |
| 03:12 | * | itnomad has quit (Quit: Leaving) |
| 09:08 | * | JustTB has joined |
| 09:14 | * | JustTB has quit (Quit: Leaving.) |
| 09:42 | * | JustTB has joined |
| 10:04 | * | M-DzzzzzzR has quit (Write error: Connection reset by peer) |
| 10:19 | * | M-DzzzzzzR has joined |
| 12:20 | * | Don has joined |
| 12:20 | Don | I could not get my map to work, |
| 12:21 | * | Don is now known as Don |
| 12:21 | Guest4077 | i followed instruction on the drupal page... |
| 12:22 | mstenta | Hi Don |
| 12:22 | mstenta | Guest4077 ^ |
| 12:22 | mstenta | What is the issue you're seeing? |
| 12:23 | Guest4077 | Oh, i just fixed it |
| 12:23 | mstenta | Great! :-) |
| 12:23 | Guest4077 | the map was initially disappearing, then i just see the source options, the help page said option, was not looking at source option |
| 12:24 | Guest4077 | Thanks Mstenta, i can see your help on all the pages, and you are even responding here... |
| 12:25 | mstenta | Guest4077: sure thing! glad you figured it out! |
| 12:25 | mstenta | Eventually I'd like to add an option during the farmOS installation for you to enter the API key, and then connect the dots in the background - to make this easier |
| 12:26 | mstenta | And/or also have the ability to choose a different default map source (not Google) |
| 12:26 | mstenta | Most require API keys these days, though, so the problem will be the same. |
| 12:31 | mstenta | Guest4077: if you start using farmOS regularly, consider adding your farm to farmOS.org/community/farms ! |
| 12:31 | Guest4077 | That is a great idea, so they can get it running from the get go...For now, if you had written, click the source option link to add the API key, i would have finished like 5mins.. |
| 12:31 | mstenta | Looking to grow that list... :-) |
| 12:32 | Guest4077 | Ok...great, i might write a blog on this since i have a tech blog. |
| 12:32 | mstenta | Guest4077: oh ok... i can update that... are you referring to this page? v |
| 12:32 | mstenta | www.drupal.org/node/2768895 |
| 12:32 | Guest4077 | yes... |
| 12:32 | mstenta | Guest4077: awesome! let me know if you do and i'll put a link on farmOS.org/community/press ! |
| 12:33 | mstenta | :-) |
| 12:33 | Guest4077 | admin/structure/openlayers/sources/list/farm_map_source_google_hybrid/edit/options ....just add source options, and Baaaam...it is way easier... |
| 12:33 | Guest4077 | ok, i will save this now, and get back to you |
| 12:34 | mstenta | Guest4077: should i reword step 4 on this page? www.drupal.org/node/2768895 |
| 12:34 | mstenta | is that what you mean? |
| 12:36 | Guest4077 | yes, please |
| 12:37 | mstenta | Guest4077: what do you think i should change it to? |
| 12:37 | Guest4077 | At administrative settings, click on the "source options" link to enter the API key |
| 12:37 | Guest4077 | At administrative settings, click on the "Source type options" link to enter the API key.. |
| 12:37 | mstenta | Oh... but doesn't that link take you directly there? (admin/structure/openlayers/sources/list/farm_map_source_google_hybrid/edit/options) |
| 12:39 | mstenta | I figured it was easier to just provide the direct link to that page than to try to explain how to get there through the UI |
| 12:41 | Guest4077 | ohh, i will see |
| 12:41 | Guest4077 | Ohhhh, you were right |
| 12:42 | Guest4077 | i was following the UI...OMG.. |
| 12:42 | mstenta | Oh ok great! :-) |
| 12:42 | mstenta | Ah yea... it is definitely tricky to find it in the UI if you are new to the Openlayers module |
| 12:42 | Guest4077 | i was following links, so i missed that, ok...t |
| 12:42 | Guest4077 | thanks once again |
| 12:42 | mstenta | You're welcome! |
| 12:42 | mstenta | I'm impressed you found it without the link! |
| 12:42 | mstenta | :-) |
| 12:43 | Guest4077 | :) |
| 12:46 | * | Guest4077 has quit (Quit: Page closed) |
| 13:56 | * | JustTB has quit (Quit: Leaving.) |
| 13:59 | * | JustTB has joined |
| 17:05 | * | itnomad has joined |
| 18:34 | mstenta | hi itnomad - did you get it all working with docker? |
| 18:38 | itnomad | I'm being pulled in several directions today. Now, I'm following the instructions you suggested, carefully. I just ran docker-compose up. Funny the program could not be found when run with sudo. After an 'su' though, no problem. |
| 18:41 | mstenta | itnomad: i should mention - i've only tested this myself on ubuntu 16.04 |
| 18:41 | itnomad | docker-compose finished. There is an error. Could not start the www service. |
| 18:41 | mstenta | not sure why it doesn't work with sudo... sounds like a path issue? |
| 18:41 | mstenta | hmm ok... |
| 18:41 | mstenta | do you have anything else running on port 80, perchance? |
| 18:42 | mstenta | (some other folks have run into an issue on Macs, which have Apache installed by default) |
| 18:42 | mstenta | if so, you can tweak your docker-compose.yml file to make farmOS/docker run on a different port |
| 18:42 | mstenta | ie: port 81 |
| 18:43 | itnomad | apache is installed and I believe the service is called httpd not www. |
| 18:44 | mstenta | ok |
| 18:44 | itnomad | I'm going to dig around a little and check back in later. I've got some pressing matters to attend to. |
| 18:44 | mstenta | ok good luck! |
| 18:44 | mstenta | i'll put a few ideas into chat as i think of them... |
| 18:44 | mstenta | feel free to read at your liesure |
| 18:44 | mstenta | leisure* |
| 18:45 | itnomad | Thanks. Later. :) |
| 18:46 | mstenta | in the docker-compose.yml file, you'll see the "www" service and a "ports" attribute set to "80:80" |
| 18:47 | mstenta | that basically means: when you create this container (which we have decided to call "www"), map port 80 in the container to port 80 on the host |
| 18:47 | mstenta | so when a request to port 80 hits your host server (Centos?) then it is forwarded to port 80 of the container |
| 18:47 | mstenta | at that point (in the container), our docker image has Apache listening on port 80, so it picks it up, processes it (through Drupal/farmOS) and gives you back the page |
| 18:48 | mstenta | so... if you are ALREADY running Apache on your host system, then port 80 is already taken |
| 18:48 | mstenta | in that case, you can either: a) turn off Apache on your host (if you don't need it) |
| 18:49 | mstenta | or b) change the "ports" in docker-compose.yml to something like "81:80" |
| 18:49 | mstenta | which says "take any requests on the host's port 81 and forward them to port 80 in the container" |
| 18:49 | mstenta | then try docker-compose up again, and hopefully the www service is able to start |
| 18:50 | mstenta | if it does, then you can view your farmOS site at 127.0.0.1:81 |
| 18:50 | mstenta | (note the port at the end ":81") |
| 18:50 | mstenta | hope that all makes sense! and feel free to ignore if any of that was already obvious to you :-) |
| 20:55 | itnomad | when I ran 'docker-compose up' I got a lot of permissions errors. First on reading the /var/lib/mysql and then on creating all the directories the script tries to create. |
| 20:56 | mstenta | itnomad: docker-compose needs to be run as sudo too i believe |
| 20:56 | mstenta | that might be the issue... ? |
| 20:57 | mstenta | what that before or after the port 80 issue you had earlier? |
| 20:57 | itnomad | I ran it after switching to root. I don't understand why using sudo is acting differently that running as root. |
| 20:59 | itnomad | Maybe I'll download and install ubuntu 16.04. I'm not really tied to Centos, it's just what I'm most familiar with. |
| 21:00 | mstenta | hmm yea i'm not sure either |
| 21:00 | itnomad | Under sudo, docker-compose: command not found. Very odd. |
| 21:00 | mstenta | it does sound like there is some subtle difference in the way sudo works on centos vs ubuntu... |
| 21:01 | mstenta | or maybe it's just an issue with paths... ie: the directory that docker is installed in is not in the path for your user? |
| 21:03 | mstenta | but if you're open to trying ubuntu i say do that! |
| 21:03 | itnomad | /usr/local/bin is most certainly in my user's path. |
| 21:03 | mstenta | hmm |
| 21:03 | mstenta | yea i would have been surprised if it wasn't... |
| 21:04 | mstenta | where is docker and docker-compose installed? |
| 21:04 | mstenta | in mine, docker is in /usr/bin |
| 21:04 | mstenta | docker-compose is in /usr/local/bin |
| 21:06 | itnomad | docker-compose is owned by root.root and is in /usr/local/bin |
| 21:07 | itnomad | same here. docker is in /usr/bin |
| 21:07 | mstenta | hmm yea i'm not sure why it's not working |
| 21:07 | mstenta | if you run "docker" without sudo, does it also say not found? |
| 21:08 | mstenta | hmm... doing some googling... stackoverflow.com/questions/30379381/doc |
| 21:08 | mstenta | could it be that you installed that instead of the real docker? |
| 21:09 | mstenta | did you install using the centos package manager? or from the instructions on docker.com? |
| 21:09 | mstenta | or wait... nevermind... you said before that it almost worked (with "could not start www service") - so that would suggest you have docker |
| 21:10 | mstenta | what do you get when you run "docker --version" and "docker-compose --version" ? |
| 21:10 | itnomad | Interesting. If I run $docker, I get a usage error. If I run $docker images, the program is not found |
| 21:10 | itnomad | okay trying your last suggestion. |
| 21:12 | itnomad | I get docker version 1.12.6 and docker-compose version 1.12.0-rc2 |
| 21:13 | itnomad | I'm being pulled away again. I'll be back later. |
| 21:14 | mstenta | hmm ok... |
| 21:15 | mstenta | the current version of docker is 17.03.0-ce - github.com/docker/docker/blob/master/CHA |
| 21:16 | mstenta | (after 1.13.1 they changes to the 17.x.y numbering (where 17 is the year, x is the month)) |
| 21:16 | mstenta | so your version is a little old... but not that bad... it should still work |
| 21:16 | mstenta | the docker-compose version is a little more confusing... |
| 21:16 | mstenta | because the latest version is 1.11.0 - github.com/docker/compose/blob/master/CH |
| 21:17 | mstenta | are you sure yours is 1.12.0-rc2? |