| 03:48 | symbioquine[m] | <symbioquine[m]> "I really need to dust that one..." <- I took a first pass at dusting it off this evening and published some [next steps](github.com/farmOS/farmOS/pull/458#issuec) (mostly for me)... 😅 |
| 05:36 | FarmerEd[m] | > <@noaht:matrix.org> Could anyone help me figure out this issue? I tried setting up a local instance of farmOS 2.x using the default docker-compose file, but it hasn't been working. I think it's failing to generate the correct files in the www directly, but not sure why. Heres the output message from the farmos/... (full message at libera.ems.host/_matrix/media/r0/downloa) |
| 08:22 | ludwa6[m] | <symbioquine[m]> "I'm curious why it makes much..." <- To put this in perspective: not a big hairy deal... Just enough of a PITA that it kinda takes the fun out of working with data. |
| 08:28 | ludwa6[m] | <symbioquine[m]> "Is it a performance problem?" <- Occasionally (as described above) when i try to pull a single set of some hundreds of records, i might get a server error... But now it's a human performance problem, in that i have to compile a data set via multiple operations, i.e.: copy/paste these 50-size subsets into a google sheet, 10x to get my 500 record set. Do this enough times, and i start to question the meaning of life! |
| 08:34 | FarmerEd[m] | You need node red 😉 |
| 08:34 | FarmerEd[m] | Not sure if I've mentioned it previously🤣 |
| 08:41 | ludwa6[m] | <symbioquine[m]> "If so, what are you trying to..." <- Immediate problem is trying to whittle my 250-ish set of 'Plant type' records down to the ~100-ish set that it should be, once i eliminate dupes (too easily created via typo, absent date entry constraints) and orphans (i.e. those w/ no related records), and then ensure each of my (more numerous) 'Plant asset' records is related to its proper 'Plant type' record. Not easy, since (as |
| 08:41 | ludwa6[m] | symbioquine well knows ;-) there is no reasonable way to find via 'Plant asset" record all the other records that point to it :-( |
| 08:44 | ludwa6[m] | <symbioquine[m]> "I took a first pass at dusting..." <- Great to hear, symbioquine ! And from the sounds of this todo list: github.com/farmOS/farmOS/pull/458#issuec |
| 08:45 | ludwa6[m] | ... "em principio, ja esta feito," as we would say here in Portugal (i.e. already done -in principle :-) |
| 08:47 | ludwa6[m] | 'course principles in PT are not quite as exacting as they are in other places, arguably... But don't get me started on that topic :-) |
| 08:49 | ludwa6[m] | <FarmerEd[m]> "Not sure if I've mentioned it..." <- You may have dropped a hint or few, Farmer Ed ... Which i will eventually follow-thru on i expect, once the pain of copy/pasting from farmOS to google sheets hits my pain threshold! |
| 09:12 | FarmerEd[m] | 😁 |
| 09:13 | FarmerEd[m] | I worked for IBM for nearly 17 years and probably never have promoted a product of theirs as much as I have Node Red since I left. |
| 09:14 | FarmerEd[m] | s/17/18/ |
| 09:19 | ludwa6[m] | That is the surest indicator of a product worthy of trial: that it needs no professional sales force to drive adoption |
| 09:33 | FarmerEd[m] | Well I honestly think it is great for those data transfer operations like from file to API or even API to API. |
| 09:33 | FarmerEd[m] | I'm probably over using it at the moment as it has been a great tool to produce quick stop gap tools and definitely useful for prototyping my workflows but ultimately I'd like to build some of these as proper farmOS modules. |
| 13:06 | ludwa6[m] | <paul121[m]> "You could get all of your..." <- Q paul121 : did you happen to test this script? I've developed a GET request in Postman to pull me Name, ID (short) and UUID for all my 'Plant type' records... But when i replace UUID in your script with the actual value, i get no results, even for a 'Plant type' that i know is referenced as "Crop/variety" on many records. So: can you please test this script, just to confirm that i'm an idiot? |
| 13:06 | ludwa6[m] | <8-)... |
| 15:17 | symbioquine[m] | <ludwa6[m]> "... "em principio, ja esta feito..." <- Yeah, I think it's ready for another review pass now - probably from mstenta . I know he's busy though so it could still take a while to get through review and merged 😅 |
| 21:42 | Noaht[m] | > <@farmer-ed:matrix.org> Did you ever get any further? |
| 21:42 | Noaht[m] | > I think I had similar issue with trying to install over an existing failed installation. You need to completely remove any directories that are a bind mount. |
| 21:42 | Noaht[m] | Yeah, I figured it out. I didn't realize how long it could take to finish initialization of the farmos container. If I may suggest something, I recommend adding a line at the end of the "1. Set up Docker containers" block at farmos.org/development/environment/ saying it may take some time for this setup to complete. |
| 21:45 | FarmerEd[m] | As a matter of interest what OS are you running? It seems it takes much longer on some OS's. |
| 21:47 | Noaht[m] | macOS Monterey |
| 21:47 | Noaht[m] | Took around 10 minutes or so to complete |
| 21:47 | Noaht[m] | Give or take a few |
| 21:47 | mstenta[m] | WOW! |
| 21:47 | mstenta[m] | It's like <10 seconds on Linux |
| 21:48 | mstenta[m] | What exactly took so long? Do you have any idea? |
| 21:49 | Noaht[m] | Surprised me too! The postgres DB was super fast. I think the longest part was copying the farmOS codebase |
| 21:49 | FarmerEd[m] | So not just an issue with the Linux subsystem for Windows then? |
| 21:50 | mstenta[m] | Are you using the development docker-compose config? |
| 21:50 | Noaht[m] | Yes |
| 21:50 | mstenta[m] | (The production docker-compose only mounts the `sites` directory... not the whole codebase FWIW) |
| 21:52 | Noaht[m] | farmos-www-1 | farmOS codebase not detected. Copying from pre-built files in the Docker image. |
| 21:52 | Noaht[m] | Attaching to farmos-www-1, farmos-db-1 |
| 21:53 | Noaht[m] | Not sure if it was the entire code base or not, but following the line above is what took some time. |
| 21:59 | mstenta[m] | Wow that is outrageous |
| 21:59 | mstenta[m] | I know I've heard that bind-mounts on Mac were slow... but wow. |
| 21:59 | mstenta[m] | And I thought that was fixed |
| 22:00 | mstenta[m] | maybe not... github.com/docker/for-mac/issues/3677 |
| 22:01 | mstenta[m] | (Docker issue, not farmOS) 🤷 |
| 23:55 | Noaht[m] | I'm using the farmos.py module and I created a self signed local ssl key. When I attempt to authorize the client it's throwing a error because it's self signed.... (full message at libera.ems.host/_matrix/media/r0/downloa) |
| 23:55 | Noaht[m] | I running the server on my local machine. |
| 23:58 | symbioquine[m] | Maybe github.com/symbioquine/farmOS_wfs/blob/2 |