| [22:20:49] | * paul121[m] has joined #farmos |
| [22:21:47] | <paul121[m]> | > @appservice-irc:matrix.org kicked paul121. Reason: IRC connection failure. |
| [22:21:47] | <paul121[m]> | Did I do anything wrong? Thought the farmOS room had disappeared! |
| [22:27:39] | <paul121[m]> | Anyways, thought this was kinda cool - the next release of curl will have support for MQTT! https://daniel.haxx.se/blog/2020/04/14/curl-mqtt-true/ |
| [22:28:08] | <paul121[m]> | next up, MQTT in farmOS ?? 😁 |
| [22:34:25] | <paul121[m]> | <mstenta[m] "@paul121: I think I have the blo"> Oh shoot sorry I didn't see this. But great - I just tested, working for me! |
| [23:06:00] | * JustTB has quit (Quit: Leaving.) |
| [01:33:36] | * cpm has quit (Ping timeout: 256 seconds) |
| [01:34:20] | * cpm has joined #farmos |
| [02:11:44] | * tobiasboesch[m] has joined #farmos |
| [02:45:49] | * cpm has quit (Ping timeout: 264 seconds) |
| [03:02:59] | * cpm has joined #farmos |
| [03:23:50] | * tobiasboesch[m] has left #farmos ("User left") |
| [04:27:09] | * JustTB has joined #farmos |
| [04:46:39] | * JustTB has quit (Ping timeout: 260 seconds) |
| [05:02:03] | * JustTB has joined #farmos |
| [07:04:41] | <mstenta[m]> | > @appservice-irc:matrix.org kicked paul121. Reason: IRC connection failure. |
| [07:04:41] | <mstenta[m]> | Did I do anything wrong? Thought the farmOS room had disappeared! |
| [07:04:41] | <mstenta[m]> | Oh weird - I don't know! |
| [07:05:08] | <mstenta[m]> | Looks like a few other folks were also kicked |
| [07:05:16] | <mstenta[m]> | Something to do with the IRC bridge |
| [07:05:37] | <mstenta[m]> | > next up, MQTT in farmOS ?? 😁 |
| [07:05:37] | <mstenta[m]> | Oooooooooh! |
| [07:06:12] | <mstenta[m]> | That will still require a separate process, right? |
| [07:06:31] | <mstenta[m]> | (Next to farmOS's Apache/Nginx web server) |
| [07:07:18] | <mstenta[m]> | > Oh shoot sorry I didn't see this. But great - I just tested, working for me! |
| [07:07:18] | <mstenta[m]> | woo hoo! |
| [07:07:40] | <mstenta[m]> | That turned out to be one of the deepest bugs I've found myself in in a while! |
| [07:08:07] | <mstenta[m]> | And of course, it was two separate bugs that were intermingled... which always makes it harder to figure out |
| [07:08:49] | <mstenta[m]> | One of them actually seems to be a Drupal 7 core bug. I haven't opened an upstream issue for it yet, but might. Curious to see if it affects D8 (will be able to test that soon) |
| [07:43:29] | * skipper_is[m] has joined #farmos |
| [07:43:32] | <skipper_is[m]> | Well, that was weird |
| [07:43:45] | <skipper_is[m]> | Quick question, administering modules - is it only User 0 that can do that |
| [07:43:58] | <mstenta[m]> | User 1 yes |
| [07:44:02] | <skipper_is[m]> | (And installing new modules without file/ftp access, possible?) |
| [07:44:11] | <skipper_is[m]> | Ah ok, so that cannot be changed via permissions |
| [07:44:25] | <mstenta[m]> | I don't think there's a permission for that?? maybe there is |
| [07:44:32] | <skipper_is[m]> | Ah no worries |
| [07:44:36] | <mstenta[m]> | I've never let anyone else touch modules :-) |
| [07:44:51] | <skipper_is[m]> | I'm trying to get my organisation to use Farm OS, but they've installed it on a system they don't want to give me access to |
| [07:45:00] | <mstenta[m]> | Oh boy |
| [07:45:02] | <skipper_is[m]> | So I'm trying to administer it via their IT department... |
| [07:45:09] | <skipper_is[m]> | And it is going poorly. |
| [07:45:21] | <mstenta[m]> | Yea that's not going to be fun |
| [07:45:45] | <skipper_is[m]> | I've been waiting about a month for them to install 1.3 |
| [07:45:48] | <mstenta[m]> | It's a LOT easier to host a drupal site if you have SSH |
| [07:46:00] | <skipper_is[m]> | Oh i know.... |
| [07:50:44] | <mstenta[m]> | Drupal does have a feature that allows you to download/update modules via the UI |
| [07:50:57] | <mstenta[m]> | But I generally leave that disabled as a security precaution |
| [07:51:05] | <mstenta[m]> | And please note, DO NOT USE IT with farmOS! |
| [07:51:33] | <mstenta[m]> | (you may have already seen this but) read the top of this page: https://farmos.org/hosting/updating/ |
| [07:51:51] | <skipper_is[m]> | Yea, and if I can't get into the modules admin page anyway unless I'm user 1 (it doesn't start at index 0?) |
| [07:51:54] | <mstenta[m]> | Specifically don't use it for updates - because it will not apply patches to modules when they are downloaded |
| [07:52:32] | <mstenta[m]> | > (it doesn't start at index 0?) |
| [07:52:32] | <mstenta[m]> | User id 0 is reserved for the "Anonymous" user - which is any visitor that is not logged in |
| [07:52:38] | <mstenta[m]> | User id 1 is reserved for the super admin |
| [07:52:39] | <skipper_is[m]> | Aah |
| [07:59:36] | <skipper_is[m]> | Is there a way of checking the FarmOS version without SU rights? |
| [08:00:56] | <mstenta[m]> | Hmm unfortunately no |
| [08:01:15] | <mstenta[m]> | Well... can you get to /admin/reports/status? |
| [08:01:21] | <mstenta[m]> | It might show there... but maybe not even |
| [08:01:40] | <skipper_is[m]> | Access denied |
| [08:01:43] | <mstenta[m]> | At one point I had it printing the version in the footer |
| [08:01:52] | <mstenta[m]> | But that wasn't working in some contexts, so I removed it |
| [08:02:00] | <skipper_is[m]> | I think they might've updated, as the map on the main menu has disapeared.... |
| [08:02:05] | <mstenta[m]> | Plus not great security practice |
| [08:02:12] | <skipper_is[m]> | Oh yea |
| [08:02:13] | <skipper_is[m]> | Fair point |
| [08:03:06] | <mstenta[m]> | So are they in charge of running update.php and everything? They have experience with Drupal? |
| [08:03:21] | <skipper_is[m]> | Pff, I have no idea! |
| [08:03:42] | <mstenta[m]> | 😬 |
| [08:03:51] | <skipper_is[m]> | Oh it is a disaster waiting to happen |
| [08:04:25] | <skipper_is[m]> | I can't tell if they've disabled the map on the main menu, or the 1.2-1.3 update just broke it.. |
| [08:04:35] | <mstenta[m]> | It probably broke it |
| [08:04:48] | <skipper_is[m]> | Yea, if they haven't run update.php it is highly likely |
| [08:04:50] | <mstenta[m]> | That's been happening sometimes... but you might be able to fix |
| [08:04:55] | <mstenta[m]> | Oh yea... |
| [08:04:56] | <mstenta[m]> | UGH |
| [08:05:03] | <mstenta[m]> | DEFINITELY need to run update.php before using the site! |
| [08:05:10] | <skipper_is[m]> | I'll fire off an email to them and hope they action it... |
| [08:05:13] | <skipper_is[m]> | :sigh: |
| [08:05:16] | <mstenta[m]> | Oy. |
| [08:05:30] | <mstenta[m]> | You sure you don't want to host on Farmier? :-) |
| [08:06:08] | <skipper_is[m]> | They wan't to keep it all in house, we're a special education college, so control over data that may involve students is really tightly controlled |
| [08:43:48] | <skipper_is[m]> | Nope they did run update.php, wasn't there some other people who had issues with the map disappearing in the update? |
| [08:44:14] | <mstenta[m]> | Ok good |
| [08:44:19] | <mstenta[m]> | Yes... |
| [08:44:39] | <mstenta[m]> | So... |
| [08:44:55] | <mstenta[m]> | You may need to do two things, but they will probably require admin access |
| [08:46:00] | <mstenta[m]> | First, the farmOS theme may not actually be enabled. To check, go to /admin/appearance and make sure "Farm Theme" is both "enabled" and "default theme" |
| [08:46:36] | <mstenta[m]> | If the theme is enabled, then the max should be fixed by either a) going to /admin/structure/blocks or b) clearing the cache |
| [08:46:45] | <mstenta[m]> | * If the theme is enabled, then the map should be fixed by either a) going to /admin/structure/blocks or b) clearing the cache |
| [08:47:15] | <mstenta[m]> | (I just pushed a fix for these things yesterday, so this won't be an issue in the next release and it will automatically fix existing installs) |
| [08:47:53] | <skipper_is[m]> | Ah nice one, I'll have a prod and try to get User 1 |
| [09:12:09] | <skipper_is[m]> | admin/structure/blocks - is there meant to be a map block? |
| [09:12:33] | <mstenta[m]> | No, you actually won't see it in there |
| [09:12:40] | <mstenta[m]> | But now go back to the dashboard... map? |
| [09:13:03] | <skipper_is[m]> | I haven't yet got access.... I was just looking in mine to see what I could see |
| [09:14:45] | <mstenta[m]> | Oh ok |
| [09:15:23] | <mstenta[m]> | Yea... so the issue was: a) the theme was not being enabled on some installs, which meant that a specific hook for enabling the block was not firing |
| [09:15:31] | <mstenta[m]> | Going to /admin/structure/blocks causes that hook to fire |
| [09:15:38] | <mstenta[m]> | So 1) make sure the theme is enabled, 2) fire that hook |
| [09:16:51] | <skipper_is[m]> | Grand, cheers! |
| [09:17:19] | <skipper_is[m]> | Yea, I had the other theme issue on mine because I think I must've enabled a different theme at one point |
| [09:18:07] | <mstenta[m]> | Ah |
| [10:19:51] | * cpm has quit (Remote host closed the connection) |
| [10:20:12] | * cpm has joined #farmos |
| [11:57:20] | * tool172 has joined #farmos |
| [12:00:43] | * tool172 has quit (Client Quit) |
| [12:01:14] | * tool172 has joined #farmos |
| [12:02:34] | <tool172> | is there a taxonomy chart i can reference for the breakout and relationships |
| [12:04:56] | <mstenta[m]> | Hi tool172 do you mean for understanding the relationships between areas, assets, logs, etc? |
| [12:05:14] | <tool172> | yes |
| [12:05:53] | <mstenta[m]> | We don't have a graphic... other than maybe these slides: https://farmier.github.io/slides/#/19 |
| [12:06:07] | <mstenta[m]> | (start at slide 19, end slide 25) |
| [12:06:44] | <mstenta[m]> | basically you map your farm with "Areas", then you create "Assets" to represent the things you're managing (like animals, plantings, equipment, etc), and "Logs" are the actual events that take place, which can be related to both Areas and Assets |
| [12:07:20] | <mstenta[m]> | Logs are where most of the actual "record keeping" happens - they have a timestamp, a type (eg: activity, harvest, input, observation), and other meta data that relate them to other records |
| [12:07:41] | <tool172> | so custom modules are basically log types |
| [12:07:44] | <tool172> | ? |
| [12:08:26] | <mstenta[m]> | custom modules are Drupal modules and can do all kinds of things |
| [12:08:31] | <mstenta[m]> | they could add log types, yes |
| [12:08:49] | <mstenta[m]> | or they could do other stuff... like add layers to the map |
| [12:08:56] | <mstenta[m]> | eg: https://github.com/farmOS/farm_map_no |
| [12:09:35] | <mstenta[m]> | here is the full list of modules included in farmOS and ones available from the community: https://farmos.org/development/projects/ |
| [12:09:51] | <mstenta[m]> | ps tool172 i got your PM but don't have your email address |
| [12:10:18] | <mstenta[m]> | I don't think I'll be able to attend DEFCON on Friday, unfortunately - unless it's just for a little while in the morning (before noon) |
| [12:10:35] | <tool172> | sec, i have to go fix a computer at work |
| [12:10:40] | <mstenta[m]> | but maybe paul121 or @jgaehring would |
| [14:56:07] | * tool172 has quit (Ping timeout: 260 seconds) |