| 02:29 | * | farmBOT has joined |
| 09:00 | * | Noaht[m] has quit (Quit: You have been kicked for being idle) |
| 12:41 | * | Mo[m] has joined |
| 13:59 | mstenta[m] | paul121 symbioquine Looking at recent GitHub Actions workflow runs... the MariaDB issue hasn't occurred in 16 days (same in both origin and my fork) - I wonder if it was a GitHub issue and they fixed it? |
| 14:04 | symbioquine[m] | Maybe something buried in [here](github.com/actions/runner/issues?q=is%3A) got fixed...? |
| 14:04 | mstenta[m] | Hope so! glad I didn't spend more time on it :-) |
| 15:07 | symbioquine[m] | The [default_content module](www.drupal.org/project/default_content) is pretty nice btw! I'm having good results so far using it to capture test data for Asset Link... |
| 15:08 | mstenta[m] | Cool! I have yet to try it out myself |
| 17:29 | botlfarm[m] | I ran into an issue in my production environment and now things are broken. When creating a log I accidentally ended up adding a group to itself.... (full message at libera.ems.host/_matrix/media/r0/downloa) |
| 17:31 | mstenta[m] | Oh there's supposed to be some logic to prevent a circular group membership - maybe you found a way around that. 😅 |
| 17:31 | mstenta[m] | Did you try clearing your cache? I wonder if that would fix the Views... |
| 17:32 | botlfarm[m] | Just tried that with no luck. |
| 17:32 | mstenta[m] | Deleting the log should be all that's needed, but it may have cached something odd somewhere. |
| 17:33 | mstenta[m] | Hmm - are you able to get to /admin/reports/dblog? |
| 17:34 | botlfarm[m] | TypeError: Argument 1 passed to Drupal\views\Plugin\views\field\BulkForm::getEntityTranslation() must implement interface Drupal\Core\Entity\EntityInterface, null given, called in /opt/drupal/web/core/modules/views/src/Plugin/views/field/BulkForm.php on line 291 in Drupal\views\Plugin\views\field\BulkForm->... (full message at libera.ems.host/_matrix/media/r0/downloa) |
| 17:35 | mstenta[m] | Did you use `drush cr` to clear the cache? |
| 17:36 | botlfarm[m] | No, I used admin/config/development/performance "clear all caches" |
| 17:36 | mstenta[m] | OK - I wonder if that misses the Views cache or something - are you able to try `drush cr`? |
| 17:38 | botlfarm[m] | Ok, I just tried that still with the same result |
| 17:38 | mstenta[m] | Hmm |
| 17:40 | botlfarm[m] | worst case I have a back up from this morning I can revert to, but I have done a lot of record inputting today. |
| 17:40 | mstenta[m] | Were any other entities created besides that one log? Re-reading your description... |
| 17:41 | botlfarm[m] | just the 1 group and the 1 log |
| 17:41 | mstenta[m] | And the group works? But doesn't have any members? |
| 17:43 | botlfarm[m] | the group works fine. It shows me all the assets I added with that log that hsould have bene deleted |
| 17:43 | botlfarm[m] | hmm |
| 17:43 | botlfarm[m] | it does not show itself at this point, but also has no logs associated with it |
| 17:43 | mstenta[m] | oh... so there may still be a log |
| 17:43 | mstenta[m] | ? |
| 17:44 | mstenta[m] | hmm... this is a random thing to try but... |
| 17:44 | mstenta[m] | `drush cron` |
| 17:44 | mstenta[m] | (i have a hypothesis, but it feels unlikely) |
| 17:45 | mstenta[m] | and then also do `drush cr` after that again |
| 17:45 | mstenta[m] | just to be sure :-) |
| 17:45 | botlfarm[m] | still the same |
| 17:45 | mstenta[m] | k - not surprised.. hmm |
| 17:46 | mstenta[m] | for what it's worth, i've found some drupal core issues with this same error message |
| 17:46 | botlfarm[m] | looking back at the debug logs I see where the log was deleted "/log/28547/delete" |
| 17:46 | botlfarm[m] | and if I go back to that log directly it cant be found |
| 17:46 | mstenta[m] | ok |
| 17:47 | mstenta[m] | general question: have you made any customizations to the `farm_log` View? |
| 17:49 | botlfarm[m] | no, I don't think I have made and customizations in 2.x yet |
| 17:49 | mstenta[m] | ok - can you try this: |
| 17:49 | mstenta[m] | `drush en config_update_ui` |
| 17:49 | mstenta[m] | then go to /admin/config/development/configuration/report/module/farm_ui_views |
| 17:50 | mstenta[m] | under "Changed configuration items" it should say "None: no active configuration items differ from their current provided versions." |
| 17:50 | botlfarm[m] | yep, thats what I see |
| 17:50 | mstenta[m] | k |
| 17:51 | mstenta[m] | so my hunch is still that this is a caching issue... somehow |
| 17:51 | botlfarm[m] | that is what it seems like |
| 17:52 | mstenta[m] | we could go into the database directly and poke around... not sure how easy that is on your end |
| 17:52 | mstenta[m] | another idea i might try is deleting and re-importing that View - but that could cause other issues (so i would definitely backup first) |
| 17:53 | botlfarm[m] | im not super comfortable with database stuff just because im not real familiar with it. |
| 17:53 | mstenta[m] | ok let's try deleting/recreating that View... can you take a database backup first? |
| 17:53 | botlfarm[m] | yep |
| 17:53 | mstenta[m] | i'll test out the drush commands on my end |
| 17:53 | mstenta[m] | (to make sure it doesn't blow anything else up) |
| 17:54 | botlfarm[m] | I also have not updated to the new beta yet. woudl that clear enough of the catch to maybe fix it? |
| 17:55 | botlfarm[m] | if i did the update now |
| 17:55 | mstenta[m] | just to keep things simpler |
| 17:55 | mstenta[m] | hmm i'd say it's safer to fix this first |
| 17:55 | botlfarm[m] | ok |
| 17:57 | mstenta[m] | ok let's try this |
| 17:58 | mstenta[m] | this will delete the View: `drush config:delete views.view.farm_log` |
| 17:58 | mstenta[m] | after that, go back to /admin/config/development/configuration/report/module/farm_ui_views |
| 17:58 | mstenta[m] | the View should be listed under "missing configuration items" with a button to import it |
| 17:59 | mstenta[m] | that will recreate the view |
| 17:59 | mstenta[m] | maybe that will fix the cache? |
| 18:00 | botlfarm[m] | no luck :( |
| 18:00 | mstenta[m] | dang |
| 18:01 | mstenta[m] | well i think the next thing i would want to do is dig through the DB and see if there's something wrong |
| 18:02 | mstenta[m] | if something didn't get deleted properly, perhaps (can't think how that would happen - but running out of ideas) |
| 18:03 | mstenta[m] | > worst case I have a back up from this morning I can revert to, but I have done a lot of record inputting today. |
| 18:03 | mstenta[m] | or you do this... but if it's a lot of records then i'd want to avoid having to re-input |
| 18:04 | botlfarm[m] | Where would starting place for this log be in the db? or is it not that simple |
| 18:04 | mstenta[m] | actually another idea... |
| 18:04 | mstenta[m] | go to /admin/structure/views/view/farm_log |
| 18:06 | mstenta[m] | expand the "Advanced" column on the right, and next to "Caching" click "Tag based" - set it to "None", click "Apply (all displays)", then scroll down and click "Save" for the View as a whole |
| 18:06 | mstenta[m] | (you need the `views_ui` module enabled to get to that page - `drush en views_ui`) |
| 18:08 | botlfarm[m] | same error |
| 18:08 | mstenta[m] | wow |
| 18:09 | mstenta[m] | thinking... |
| 18:11 | mstenta[m] | can you run SQL queries? |
| 18:13 | botlfarm[m] | I think I can if i work inside the db container |
| 18:13 | mstenta[m] | ok |
| 18:14 | mstenta[m] | I'll send you a PM - so we don't clutter this room too much |
| 18:50 | * | AnasHaddad[m] has quit (Ping timeout: 248 seconds) |
| 18:50 | * | ThimmZwiener[m] has quit (Ping timeout: 248 seconds) |
| 18:50 | * | eddieironsmith[m has quit (Ping timeout: 248 seconds) |
| 18:51 | mstenta[m] | update in case anyone is curious... we fixed it :-) |
| 19:02 | * | AnasHaddad[m] has joined |
| 19:02 | * | ThimmZwiener[m] has joined |
| 19:03 | * | eddieironsmith[m has joined |
| 20:22 | mstenta[m] | @room I published some ideas (and a draft git repo) with some ideas for documenting "farmOS conventions" farmos.discourse.group/t/documenting-con |
| 20:23 | mstenta[m] | Would love to hear everyone's thoughts! |
| 20:23 | mstenta[m] | And maybe talk about it on the monthly call tomorrow if we have time |
| 20:33 | FarmerEd[m] | Is this workflow conventions? |
| 20:33 | FarmerEd[m] | Won't these vary vastly from farm to farm. Are you looking to document a single standard convention or multiple examples? |
| 20:35 | mstenta[m] | so... yes, yes, and yes. |
| 20:35 | mstenta[m] | the idea is: everyone might start with different conventions for different types of data recording in farmOS, but over time we can share and converge on some standards |
| 20:35 | mstenta[m] | to encourage more comparability |
| 20:36 | mstenta[m] | not a hard requirement by any means - and there will always be the same level of flexibility we have now |
| 20:36 | mstenta[m] | and there are some easy ones we can start with |
| 20:37 | mstenta[m] | but if, for example, you have your own convention, and wanted to document it - you could follow the same pattern and version it yourself in your own repo |
| 20:37 | FarmerEd[m] | Actually just seen your new post on the forum, I like the convention ID idea |
| 20:37 | mstenta[m] | and if you wanted to propose it for inclusion as a standard, it could go through a pull request process to be merged upstream |
| 20:39 | mstenta[m] | basically proposing a more formal process to what we do already, documented in versioned markdown files :-) |
| 20:39 | FarmerEd[m] | Ok, it's interesting, honestly I could probably do with seeing some convention ideas myself, still trying to figure out much of my own |
| 20:40 | mstenta[m] | take a look at the soil test example: github.com/mstenta/farmOS-conventions/bl |
| 20:40 | mstenta[m] | (still a work in progress) |
| 20:43 | FarmerEd[m] | Yea, that's pretty cool actually, could be particularly useful for regional stuff too where farms may have to record certain data in a certain way for various quality assurance schemes. |
| 20:43 | mstenta[m] | yea! good idea! |
| 20:43 | mstenta[m] | perhaps that could be part of the ID namespacing potentially |
| 20:43 | FarmerEd[m] | Exactly |
| 20:52 | mstenta[m] | Let's continue the convo in the forum! :-) farmos.discourse.group/t/documenting-con |