| 00:27 | paul121[m] | 👀 Maybe they can share more at our monthly call tomorrow?? |
| 01:31 | threewordchant | <jgaehring[m]> "paul121: you should have been..." <- thanks for the welcome, and the kind words jgaehring! (and for your time earlier, awesome chat from my perspective too 😊) |
| 01:31 | threewordchant | <paul121[m]> "👀 Maybe they can share more at..." <- what time is that? I'm down! |
| 01:31 | threewordchant | * I'm down in theory! |
| 01:47 | jgaehring[m] | <paul121[m]> "👀 Maybe they can share more at..." <- Oh almost forgot that was tmw, 11am Pacific 3wc ~ they/them: |
| 01:54 | symbioquine[m] | farmos.org/community/monthly-call/ |
| 02:18 | threewordchant | awesome, thanks both! 🙏 |
| 02:58 | * | farmBOT has joined |
| 03:11 | threewordchant | is this a decent place to ask for some help getting started with a deployment? I'm trying to get a Co-op Cloud hosted version going properly in time for the meeting tomorrow, in case folks are interested in a demo or some tyre-kicking – but running into some PHP errors that I haven't seen in Github issues |
| 03:15 | threewordchant | using `farmos/farmos:2.x` docker image, `postgresql:12` |
| 03:16 | threewordchant | and seeing `InvalidArgumentException: Class "\Drupal\farm_ui_dashboard\Controller\DashboardController" does not exist. in Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition()` |
| 03:16 | threewordchant | and ` Uncaught PHP Exception Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException: "The "collapsible_filter" plugin does not exist. Valid plugin IDs for Drupal\\views\\Plugin\\ViewsPluginManager are: default" at /opt/drupal/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php line 53 |
| 03:16 | threewordchant | * and `Uncaught PHP Exception Drupal\\Component\\Plugin\\Exception\\PluginNotFoundException: "The "collapsible\_filter" plugin does not exist. Valid plugin IDs for Drupal\\views\\Plugin\\ViewsPluginManager are: default" at /opt/drupal/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php line 53` |
| 03:21 | threewordchant | * – but I'm running into |
| 03:21 | threewordchant | * and seeing `InvalidArgumentException: Class "\Drupal\farm_ui_dashboard\Controller\DashboardController" does not exist. in Drupal\Core\DependencyInjection\ClassResolver->getInstanceFromDefinition()` |
| 03:41 | threewordchant | I tried ticking all the options in the installer, then... (full message at <libera.ems.host/_matrix/media/v3/downloa>) |
| 04:15 | threewordchant | update: `farmos/farmos:2.x-dev` works fine locally. trying `2.x` (non-dev) locally next |
| 04:20 | symbioquine[m] | The `2.x` docker tag might be out of date on your system... What if you try `farmos/farmos:2.0.0-beta7`? |
| 04:23 | symbioquine[m] | <threewordchant> "and seeing `InvalidArgumentExcep..." <- Were there any errors in the docker console log during the installation? How about if you go to `my-farmos-url.example.com/admin/reports/` after the install? |
| 04:26 | threewordchant | thanks symbioquine! 🙏 |
| 04:27 | threewordchant | <symbioquine[m]> "The `2.x` docker tag might be..." <- ```... (full message at <libera.ems.host/_matrix/media/v3/downloa>) |
| 04:27 | threewordchant | s/calix/user/ |
| 04:27 | threewordchant | trying the manual `2.0.0-beta7` tag now, while also trying `2.x` locally |
| 04:28 | threewordchant | <symbioquine[m]> "Were there any errors in the..." <- I ate the logs but I'll keep an eye, and try that URL, with the `2.0.0-beta7` tag deployment |
| 04:35 | threewordchant | <threewordchant> "update: `farmos/farmos:2.x-dev..." <- hmm `farmos:2.x` also works locally 🤔 so I suspect my `compose.yml` file |
| 04:36 | threewordchant | compose file is here: git.coopcloud.tech/coop-cloud/farmos/src |
| 04:55 | threewordchant | yeah some errors in docker logs before starting install:... (full message at <libera.ems.host/_matrix/media/v3/downloa>) |
| 04:56 | threewordchant | �2022-11-09T04:56:24.647603794Z 2022-11-09 04:56:24.647 UTC [117] STATEMENT: SELECT "cid", "data", "created", "expire", "serialized", "tags", "checksum" FROM "cache_config" WHERE "cid" IN ( 'core.extension' ) ORDER BY "cid" |
| 04:56 | threewordchant | �2022-11-09T04:56:24.648549296Z 2022-11-09 04:56:24.648 UTC [117] ERROR: relation "public.cache_config" does not exist at character 409 |
| 04:57 | threewordchant | some output from `drush ws` on the remote server: |
| 04:57 | threewordchant | ``` |
| 04:57 | threewordchant | Warning: is_dir(): Unable to find the wrapper "private" - did you forget to enable it when you configured PHP? in Drupal\Core\File\FileSystem->prepareDirectory() |
| 04:57 | threewordchant | ``` |
| 04:58 | threewordchant | (I see a lot of these locally too tho) |
| 04:58 | threewordchant | > <@3wc:autonomic.zone> some output from `drush ws` on the remote server:... (full message at <libera.ems.host/_matrix/media/v3/downloa>) |
| 05:02 | threewordchant | and, last for now - when I try and hit `.../dblog`:... (full message at <libera.ems.host/_matrix/media/v3/downloa>) |
| 05:04 | threewordchant | large subset of docker logs: paste.centos.org/view/1a9e34c0 |
| 05:04 | threewordchant | last 100 `drush ws` messages: paste.centos.org/view/35936a84 |
| 05:27 | symbioquine[m] | > <@3wc:autonomic.zone> some output from `drush ws` on the remote server:... (full message at <libera.ems.host/_matrix/media/v3/downloa>) |
| 05:28 | symbioquine[m] | * This is probably not related to the `DashboardController`/`ViewPageController` missing issue |
| 06:03 | paul121[m] | Hmm yeah these are some odd errors.. by chance have you tried a `drush cr` ? |
| 12:15 | mstenta[m] | > paul121: you should have been there just now for the lil demo 3wc ~ they/them just showed me, they whipped up a farmOS recipe for coopcloud.tech/ and I was just.... |
| 12:15 | mstenta[m] | ooh cool! |
| 12:21 | mstenta[m] | Huh yea... weird PHP errors indeed. I've never seen those and can't think why they would occur with the docker compose config you are using... lgtm 🤔 |
| 12:22 | mstenta[m] | The other SQL/Drush errors/notices are "normal"... no worries there |
| 12:22 | mstenta[m] | Really just seems that something is wrong with the Drupal codebase, causing issues with classes not being found |
| 12:26 | mstenta[m] | 3wc ~ they/them: we also host a weekly dev call - welcome join that too! maybe we could debug a bit together. monthly calls are usually less technical, but would be cool to hear more about coopcloud from a high level either way! feel free to add to our agenda: farmos.discourse.group/t/farmos-monthly- |
| 15:05 | threewordchant | <mstenta[m]> "Huh yea... weird PHP errors..." <- thanks so much for looking! |
| 15:07 | threewordchant | <mstenta[m]> "3wc ~ they/them: we also host..." <- ah fantastic, thanks! what time are the weekly dev calls? (sorry I did try `site:farmos.org` search this time, but no 🎲🎲) |
| 15:09 | mstenta[m] | ah yea that one isn't on the website 😅 |
| 15:10 | mstenta[m] | farmos.discourse.group/t/farmos-communit |
| 15:13 | FarmerEd[m] | Maybe they should be? |
| 15:14 | mstenta[m] | or at least a link to that forum topic |
| 15:16 | mstenta[m] | 3wc ~ they/them: my gut says its a volume issue you're experiencing, but i'm not sure what exactly |
| 15:17 | mstenta[m] | is it possible that you have changed the volume config and might have a persistent volume hanging over from a previous attempt? |
| 15:18 | mstenta[m] | maybe worth blowing everything away and trying again fresh? |
| 15:18 | mstenta[m] | eg: if you originally mounted the whole /opt/drupal codebase and then later changed to /opt/drupal/web/sites |
| 15:18 | mstenta[m] | just a guess |
| 15:19 | threewordchant | I think I tried that, but I will do again! I'm wondering if maybe the volume is mounted too deep? my working local config is `/opt/drupal`, the non-working one is `/opt/drupal/web/sites` |
| 15:19 | mstenta[m] | recommended production volume is /opt/drupal/web/sites, so that updates can be made by updating the image |
| 15:20 | mstenta[m] | otherwise you also have to manage rebuilding the codebase inside the volume |
| 15:21 | mstenta[m] | /opt/drupal/web/sites will just be the persisted settings and uploaded files |
| 15:22 | mstenta[m] | this is standard Drupal, so if you get it working then you can start hosting Drupal more generally! 😄 |
| 15:22 | mstenta[m] | (more to it than just running containers, but a first step!) |
| 15:45 | threewordchant | <paul121[m]> "Hmm yeah these are some odd..." <- did this, ran successfully, still no joy. I'll try clearing volumes and then switching the volume mountpoint. |
| 15:45 | threewordchant | thanks so much for assistance, everyone 🙏 |
| 15:46 | mstenta[m] | huh. the fact that `drush` "ran successfully" is itself perplexing... and might disprove whatever hypothesis i had with volumes 😅 |
| 15:46 | mstenta[m] | drush uses the same PHP files/classes as Drupal |
| 15:47 | mstenta[m] | something fishy is going on... |
| 17:53 | threewordchant | <threewordchant> "did this, ran successfully..." <- so weird! clearing volume didn't work, but switching to `/opt/drupal/ |
| 17:53 | threewordchant | s/`//\`//, s////` did/ |
| 17:54 | threewordchant | s////\` did/ |
| 17:54 | threewordchant | s////` did/ |
| 17:55 | threewordchant | anyway, it's working! 🎉 |
| 17:55 | threewordchant | farmos.demo.coopcloud.tech/ |
| 17:55 | mstenta[m] | oh ya know what? this might be related to bind-mount vs named volumes behavior |
| 17:55 | mstenta[m] | maybe... |
| 17:56 | mstenta[m] | > anyway, it's working! 🎉 |
| 17:56 | mstenta[m] | cool!! |
| 17:56 | mstenta[m] | maybe we can talk more on call... or dev call if you can join |
| 17:57 | mstenta[m] | typing is hard for me right now, and about to jump on a call |
| 17:57 | mstenta[m] | but good work 3wc ~ they/them ! |
| 18:04 | threewordchant | <mstenta[m]> "farmos.discourse.group/t..." <- nice thanks! I think I'm free 🙂 |
| 18:05 | threewordchant | <mstenta[m]> "oh ya know what? this might be..." <- could well be! |
| 18:38 | mstenta[m] | this is what i was thinking... but now that i think about it i don't see how it would matter in this case stackoverflow.com/a/49635340/5365545 |
| 18:39 | mstenta[m] | we have a special entrypoint script to fill in bind-mounted volumes |
| 18:39 | mstenta[m] | but i think you are using named volumes |
| 18:39 | mstenta[m] | i think both should work fine though |
| 18:40 | mstenta[m] | github.com/farmOS/farmOS/blob/2.x/docker |
| 18:50 | symbioquine[m] | farmOS monthly call in 10 minutes farmos.org/community/monthly-call/ |
| 18:51 | symbioquine[m] | * minutes farmos.org/community/monthly-call/ - meet.jit.si/farmos-community |
| 19:16 | threewordchant | <mstenta[m]> "github.com/farmOS/farmOS..." <- ah this sounds like a brilliant clue, thank you! 🙏 will take a look ASAP |
| 19:58 | mstenta[m] | paul121 jgaehring symbioquine I added you all to the farmOS.org webmaster tools |
| 20:04 | symbioquine[m] | <symbioquine[m]> "Also, it doesn't look like that..." <- Created github.com/farmOS/farmOS.org/issues/59 to track my investigation into this... |