| 00:11 | * | Fosten has joined |
| 00:54 | * | Fosten has quit (Quit: Leaving.) |
| 01:47 | * | Fosten has joined |
| 08:10 | * | Fosten has quit (Quit: Leaving.) |
| 08:22 | * | Fosten has joined |
| 09:40 | * | Fosten has quit (Quit: Leaving.) |
| 09:51 | * | Fosten has joined |
| 09:51 | * | Fosten has quit (Client Quit) |
| 09:52 | * | Fosten has joined |
| 11:38 | * | Fosten has quit (Quit: Leaving.) |
| 13:54 | * | sent a long message: < matrix.org/_matrix/media/v1/download/mat > |
| 13:59 | mstenta[m] | jgaehring: Whoa never saw that one before... |
| 14:00 | mstenta[m] | Try `sudo docker network prune` |
| 14:00 | mstenta[m] | Per: stackoverflow.com/questions/43720339/doc |
| 14:00 | mstenta[m] | Might be just caused by starting a lot of docker containers and having too many |
| 14:01 | mstenta[m] | (when you shut down a docker container it doesn't destroy it, nor the network, so if you're doing a lot of testing of different containers you need to clean them up from time to time) |
| 14:03 | jgaehring[m] | oh duh, it was the VPN.... i think i encountered that before the first time i ran docker-compose |
| 14:04 | * | jgaehring[m] has left ("User left") |
| 14:06 | * | jgaehring[m] has joined |
| 14:06 | jgaehring[m] | it's working now... reason i was updating though was b/c I couldn't get quick forms to work... do i need to do more than just enable the module from the GUI? |
| 14:07 | mstenta[m] | Ah yes. Do you see a Quick tab on the dashboard? |
| 14:07 | mstenta[m] | When you go to that you should see a configure form that lets you enable specific quick form |
| 14:07 | mstenta[m] | forms* |
| 14:08 | jgaehring[m] | i don't see the quick tab |
| 14:08 | jgaehring[m] | whoa, also just got this nasty error blowup when i went to the 'Areas' tab: `Fatal error: Class 'Drupal\openlayers\Types\Base' not found in /var/www/html/profiles/farm/modules/contrib/openlayers/src/Types/Map.php on line 14` |
| 14:09 | mstenta[m] | Ok sounds like you only did a partial update |
| 14:10 | jgaehring[m] | ah, ok |
| 14:10 | jgaehring[m] | i just did this: farmos.org/development/docker/#updating- |
| 14:13 | mstenta[m] | Oh haha I was just about to say "we need to write some documentation for updating docker dev environments" but there it is! :-D |
| 14:13 | mstenta[m] | Forgot I wrote that |
| 14:13 | mstenta[m] | Ok... |
| 14:13 | jgaehring[m] | hahaha |
| 14:14 | mstenta[m] | Did you do the `rm .data/www/profiles/farm/farm.info` part? |
| 14:14 | jgaehring[m] | now we can improve the documentation ;) |
| 14:14 | jgaehring[m] | i did |
| 14:14 | mstenta[m] | Ok... and did you run `sudo docker-compose down`? |
| 14:14 | mstenta[m] | `docker-compose down` is important because it destroys the container. Simply stopping the process won't. |
| 14:14 | jgaehring[m] | i did, but you what, maybe i need to run it again |
| 14:15 | jgaehring[m] | after those failed attempts to run docker-compuse up -d |
| 14:15 | mstenta[m] | oh ok |
| 14:16 | jgaehring[m] | still getting the same errors |
| 14:17 | jgaehring[m] | maybe try removing farm.info again? |
| 14:17 | mstenta[m] | did you go to /update.php and perform the automated updates? |
| 14:17 | jgaehring[m] | oh shoot |
| 14:18 | mstenta[m] | yea looking at the docs... that part's easy to miss |
| 14:18 | mstenta[m] | maybe we can make that more prominent |
| 14:19 | jgaehring[m] | hmm, at /update.php there are some errors too |
| 14:19 | jgaehring[m] | User warning: The following module is missing from the file system: libraries_cdn. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1143 of /var/www/html/includes/bootstrap.inc). |
| 14:19 | jgaehring[m] | User warning: The following module is missing from the file system: libraries_cdn. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1143 of /var/www/html/includes/bootstrap.inc). |
| 14:19 | mstenta[m] | you can ignore that |
| 14:19 | mstenta[m] | it will go away after update.php is run |
| 14:21 | jgaehring[m] | it won't let me run it |
| 14:21 | jgaehring[m] | also an openlayers error |
| 14:21 | mstenta[m] | oh? |
| 14:21 | jgaehring[m] | The configured Openlayers library variant (cdnjs:ol3:4.6.4) was not found. To install it, download it manually or use drush dl-openlayers. The library directory must be named openlayers3 to be recognized by this module. Don't forget to update your settings and select a valid library variant. |
| 14:24 | mstenta[m] | Ok can we try this again from the beginning real quick? Did you create a data-backup.tar.gz? |
| 14:25 | jgaehring[m] | i did |
| 14:26 | mstenta[m] | ok so shut down the containers, destroy them, and restore the backup |
| 14:26 | * | sent a long message: < matrix.org/_matrix/media/v1/download/mat > |
| 14:27 | mstenta[m] | Then: |
| 14:27 | mstenta[m] | `rm .data/www/profiles/farm/farm.info` |
| 14:28 | mstenta[m] | And: |
| 14:28 | mstenta[m] | `sudo docker-compose up` |
| 14:28 | mstenta[m] | Watch the output of that in terminal... you should see farmOS being built by Drush make |
| 14:28 | mstenta[m] | Don't open/reload any of the pages in the browser |
| 14:29 | mstenta[m] | It MAY be that in this particular update you NEED to go to /update.php BEFORE you go to any other pages |
| 14:29 | mstenta[m] | So let's wait for farmOS to build, and then go straight to /update.php |
| 14:31 | jgaehring[m] | ok, i'ts building with drush now |
| 14:31 | mstenta[m] | cool |
| 14:32 | jgaehring[m] | ok it's done, go to /update.php? |
| 14:33 | mstenta[m] | yep |
| 14:33 | mstenta[m] | fingers crossed :-) |
| 14:34 | jgaehring[m] | same errors, still can't complete the update |
| 14:37 | jgaehring[m] | what about going to /admin/structure/features? |
| 14:40 | * | uploaded an image: image.png (124KB) < matrix.org/_matrix/media/v1/download/mat > |
| 14:40 | jgaehring[m] | do i need to recreate those that say "Overridden"? |
| 14:42 | mstenta[m] | Sorry back... |
| 14:42 | mstenta[m] | Ok, so let's just manually fix that Openlayers dependency issue |
| 14:42 | mstenta[m] | One sec... |
| 14:44 | mstenta[m] | (PS: no, don't worry about /admin/structure/features) |
| 14:47 | mstenta[m] | Ok so this is the database command you need to run: |
| 14:47 | mstenta[m] | `UPDATE variable SET value = 'a:1:{s:10:"openlayers";a:2:{s:7:"variant";s:11:"local:4.6.4";s:5:"debug";i:0;}}' WHERE name = 'openlayers_config';` |
| 14:47 | mstenta[m] | so to do that via docker you would do... |
| 14:49 | mstenta[m] | `sudo docker exec -it farmos_db_1 mysql -u root -p -e "UPDATE farmos.variable SET value = 'a:1:{s:10:"openlayers";a:2:{s:7:"variant";s:11:"local:4.6.4";s:5:"debug";i:0;}}' WHERE name = 'openlayers_config';"` |
| 14:49 | mstenta[m] | (That is assuming your farmOS database container is named `farmos_db_`) |
| 14:50 | mstenta[m] | I mean: `farmos_db_1` |
| 14:50 | mstenta[m] | After you run that, try reloading update.php and see if it lets you continue |
| 14:51 | mstenta[m] | (btw that command will ask for you database root password, which in the Docker dev env default to simply `farmos`) |
| 14:54 | jgaehring[m] | haha, more errors |
| 14:54 | jgaehring[m] | User warning: The following module is missing from the file system: libraries_cdn. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1143 of /var/www/html/includes/bootstrap.inc). |
| 14:54 | jgaehring[m] | Warning: array_key_exists() expects parameter 2 to be array, boolean given in Drupal\openlayers\Config::get() (line 60 of /var/www/html/profiles/farm/modules/contrib/openlayers/src/Config.php). |
| 14:54 | mstenta[m] | hmm, you can ignore the first |
| 14:55 | mstenta[m] | second... not sure... but can you proceed with update.php or no? |
| 14:55 | jgaehring[m] | nope |
| 14:55 | jgaehring[m] | still disabled |
| 14:55 | jgaehring[m] | still the same open layers error too |
| 14:56 | mstenta[m] | brb phone call |
| 14:56 | jgaehring[m] | np |
| 14:57 | mstenta[m] | did we ever get drush working in your env? last time we ran into issues because apt-get couldn't communicate with the network |
| 14:58 | jgaehring[m] | hm, i can't recall |
| 15:01 | mstenta[m] | (i wonder if that was due to the VPN as well?) |
| 15:01 | jgaehring[m] | could have been |
| 15:02 | jgaehring[m] | i have it down now |
| 15:02 | mstenta[m] | `sudo docker exec -it farmos_www_1 apt-get update` |
| 15:02 | mstenta[m] | does that work? |
| 15:03 | jgaehring[m] | /update.php still shows the same errors |
| 15:10 | mstenta[m] | Did apt-get update work? |
| 15:11 | mstenta[m] | I want to get mariadb-client installed in your www container so that we can use Drush to solve the problem. |
| 15:11 | mstenta[m] | But we need to get apt-get working first. |
| 15:12 | jgaehring[m] | apt-get worked, but it didn't have to update anything |
| 15:12 | mstenta[m] | ok now do... |
| 15:12 | * | sent a long message: < matrix.org/_matrix/media/v1/download/mat > |
| 15:12 | mstenta[m] | sudo docker exec -it farmos_www_1 apt-get install -y mariadb-client |
| 15:13 | jgaehring[m] | ok, that seems to have worked |
| 15:13 | mstenta[m] | cool |
| 15:13 | mstenta[m] | now: |
| 15:13 | mstenta[m] | `sudo docker exec -it farmos_www_1 drush vget openlayers_config` |
| 15:13 | mstenta[m] | tell me what that gives you |
| 15:14 | mstenta[m] | (good to know for future reference that the VPN was preventing apt-get from working) |
| 15:15 | * | sent a long message: < matrix.org/_matrix/media/v1/download/mat > |
| 15:15 | mstenta[m] | ah ok |
| 15:16 | mstenta[m] | so i think my previous mysql query screwed that up |
| 15:17 | mstenta[m] | how about trying this... |
| 15:17 | mstenta[m] | sudo docker exec -it farmos_www_1 drush php-eval '\Drupal\openlayers\Config::set("openlayers.variant", "local:4.6.4");' |
| 15:17 | mstenta[m] | (not sure if that will work or not) |
| 15:18 | mstenta[m] | after you run that, run the previous command again to see if it changed the `openlayers_config` variable |
| 15:18 | jgaehring[m] | oh that might have worked |
| 15:18 | * | sent a long message: < matrix.org/_matrix/media/v1/download/mat > |
| 15:19 | jgaehring[m] | and /update.php seems to be working |
| 15:19 | mstenta[m] | great! |
| 15:19 | mstenta[m] | YES! |
| 15:19 | mstenta[m] | that SHOULD take care of the rest (running update.php) |
| 15:19 | jgaehring[m] | cool! |
| 15:19 | mstenta[m] | not sure why yours got hung up on the openlayers config... i didn't experience that in my own testing (nor when I rolled it out to the sites I host) |
| 15:20 | jgaehring[m] | huh, yea, i can't imagine, unless it was necessary to load update.php first |
| 15:20 | mstenta[m] | (shrug emoji) |
| 15:21 | jgaehring[m] | hehe, still not seeing quick forms though |
| 15:21 | mstenta[m] | ok - no tab at all? |
| 15:21 | jgaehring[m] | none at all |
| 15:22 | mstenta[m] | go to /admin/modules |
| 15:22 | jgaehring[m] | just tried turning it back on an off, no effect |
| 15:22 | mstenta[m] | and see if the Farm Quick module is enabled |
| 15:22 | mstenta[m] | the Quick module? |
| 15:23 | jgaehring[m] | Farm Quick Forms (farm_quick) |
| 15:23 | jgaehring[m] | there's also an openlayers quicktabs that is set to off |
| 15:23 | mstenta[m] | yup that one |
| 15:23 | mstenta[m] | no not the OL one |
| 15:23 | jgaehring[m] | but quick forms is on |
| 15:23 | mstenta[m] | ok hmm |
| 15:23 | mstenta[m] | what happens if you go directly to /farm/quick? |
| 15:24 | mstenta[m] | if you see the farm dashboard, then it's not working |
| 15:24 | jgaehring[m] | oh there they are! |
| 15:24 | mstenta[m] | oh! |
| 15:24 | mstenta[m] | weird |
| 15:24 | mstenta[m] | well... try turning on some... that might fix it |
| 15:24 | mstenta[m] | it was just the tab that wasn't working, for some reason... |
| 15:25 | mstenta[m] | turning on some quick forms may fix the tab too |
| 15:25 | jgaehring[m] | the quick forms are working, but still no tab for it |
| 15:25 | mstenta[m] | blast! |
| 15:26 | mstenta[m] | can you screenshot /farm/quick? |
| 15:27 | * | uploaded an image: image.png (65KB) < matrix.org/_matrix/media/v1/download/mat > |
| 15:28 | mstenta[m] | ok, i do see the tab there... |
| 15:28 | mstenta[m] | (Dashboard, Produce Safety, Quick forms) |
| 15:28 | mstenta[m] | (maybe "tab" was misleading? and it is working?) |
| 15:31 | jgaehring[m] | OHHHHHHH!!! |
| 15:31 | jgaehring[m] | duh |
| 15:32 | mstenta[m] | i take it that means they're working! great! :-D |
| 15:33 | * | farmBOT has joined |
| 15:34 | mstenta[m] | check out the new soil disturbance quick form |
| 15:34 | mstenta[m] | just pushed that up last week |
| 15:34 | mstenta[m] | in particular: start typing something (like "plow") into the "Activity" field under the "Disturbance Information" section - and click on one of the choices that appears |
| 15:35 | mstenta[m] | it will auto populate the STIR field below it (Soil Tillage Intensity Rating) |
| 15:35 | mstenta[m] | @dornawcox:matrix.org: check it out! ^ |
| 15:35 | mstenta[m] | (just a first step) |
| 15:40 | dornawcox[m] | Fantastic! Great to see the expanding interoperability. |
| 15:45 | jgaehring[m] | oh awesome! |
| 16:31 | dornawcox[m] | Hmm - the activity does not seem to be autopopulating. Is there a list handy of supported terms/operations? |
| 16:32 | mstenta[m] | does anything show up if you type "plow"? |
| 16:34 | jgaehring[m] | Yea! All the different categories |
| 16:35 | mstenta[m] | hmm... i am seeing the same issue @dornawcox:matrix.org - on farmier hosted sites... i will look into it |
| 16:35 | mstenta[m] | thanks jgaehring |
| 16:35 | mstenta[m] | good to know it worked for you |
| 16:35 | mstenta[m] | seems like the database table wasn't populated in these cases... |
| 16:48 | mstenta[m] | @dornawcox:matrix.org: fixed on wolfesneck.farmos.net |
| 16:49 | mstenta[m] | I need to run an update to fix other sites too... |
| 16:49 | mstenta[m] | thanks for the heads up |
| 17:10 | * | Fosten has joined |
| 17:10 | * | Fosten has quit (Client Quit) |
| 17:12 | dornawcox[m] | Very cool. One more important step. |
| 20:08 | * | Fosten has joined |
| 20:09 | * | Fosten has quit (Client Quit) |
| 20:30 | * | Fosten has joined |
| 21:02 | * | Fosten has quit (Quit: Leaving.) |
| 22:58 | * | nabil_ has joined |
| 22:58 | * | nabil_ has left ("Leaving") |
| 23:46 | * | Fosten has joined |