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