< 252018-10-26⋎27 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
15:10mstenta[m]alexheiss: I'm around today until about 3 pm (eastern) if you want to chat some more.
15:15tgrosinger[m]Hey mstenta
15:15tgrosinger[m]I left a couple more comments on that github issue
15:15tgrosinger[m]Making some progress!
15:15tgrosinger[m]But still stumped
15:16mstenta[m]Hi tgrosinger
15:16mstenta[m]I saw! I'm catching up on emails right now... was about to reply to that too :-)
15:16mstenta[m]Sounds like some good clues!
15:16mstenta[m]Let me read over it again... be right back...
15:18*farmBOT has joined
15:25mstenta[m]tgrosinger: Added some comments with things we can try...
15:27tgrosinger[m]Perfect, thank you. I will test those out and get back.
15:36mstenta[m]tgrosinger: the fact that it is happening for admin user but not others (except on /farm and /farm/areas) is very telling.
15:38mstenta[m]Drupal runs access callback functions to check that users have a role with permission to access certain pages/paths/functions etc. The admin user always has full access. So this could mean that something is running for admin because they have access, but not running for others (except on maps)
15:38mstenta[m]The fact that it happens for other users on /farm and /farm/areas makes me think it has to do with the map
15:39mstenta[m]The page /farm/assets/plantings (and other asset-listing pages) also have a map
15:39mstenta[m]So you could try that too - as well as the one I posted in the issue (/admin/structure/taxonomy/farm_areas/add)
15:39mstenta[m]Notably, all those pages have slightly different maps - so if there is any noticeable difference between them, that might also provide some clues
15:42tgrosinger[m]Interesting. /farm/assets/plantings loaded very quickly when I had no plantings, and the page to add one loaded quickly, but submitting the adding of one and now looking at the plantings listing is loading very slowly.
15:43tgrosinger[m]So adding a planting changed something that induced the problem
15:46mstenta[m]Hmm ok
15:46mstenta[m]Can you delete the planting?
15:46mstenta[m]And see if that fixes it?
15:46mstenta[m](if you created any logs with the planting you will need to delete those first)
15:48tgrosinger[m]It did solve it!
15:50mstenta[m]Ok intersting
15:50mstenta[m]Hmm
15:51mstenta[m]Did it solve it EVERYWHERE?
15:51mstenta[m]On /farm and /farm/areas too?
15:51tgrosinger[m]No, those two are still slow
15:52mstenta[m]Hmm ok
15:52mstenta[m]But /farm/assets/plantings is fast?
15:52tgrosinger[m]Right. With no plantings shown
15:52mstenta[m]OK. So that suggests it has something to do with loading shapes into the map... I think?
15:53mstenta[m]Well... actually maybe not
15:53mstenta[m](that happens via a separate HTTP request, but it seems like the initial page load is what's slowing things down... otherwise you would see the page quick, and then the shapes would be slow to show up in the map)
15:54mstenta[m]hmmmm
15:54mstenta[m]This is a real stumper :-)
15:54tgrosinger[m]It's definitely the initial page load that slows everything down. Once the main page returns, everything else is really quick
15:54mstenta[m]Yea... I remember you showing me the screenshot of the Network tab...
15:55mstenta[m]Strange
15:55mstenta[m]I'll document these things in the issue for future reference... in the meantime can you download and install the Devel module?
15:55tgrosinger[m]Yup
15:55mstenta[m]ftp.drupal.org/files/projects/devel-7.x-
15:56mstenta[m]untar that into your www volume in /sites/all/modules/devel
15:56mstenta[m]then go to /admin/modules and enable "Devel"
15:56mstenta[m](might take a while because you'll need to be admin user)
15:57mstenta[m]All those tests with /farm/assets/plantings you just did were as non-admin user, right?
15:58tgrosinger[m]Right
16:44*mstenta has joined
16:45mstentatgrosinger[m]: Riot is having issues - if you can see this, and you have IRC, I am "mstenta" in freenode
16:49*tgrosinger has joined
17:45*mstenta has quit (Quit: Leaving)
17:53*tgrosinger has quit (Quit: Page closed)
19:14*mstenta has joined
19:30*mikebrunt has joined
19:31mstentahi mikebrunt
19:33*mikebrunt has quit (Client Quit)
19:33*mikebrunt has joined
19:44*mstenta has quit (Quit: Leaving)
20:06tgrosinger[m]mstenta: I found the root issue that was causing the super long requests. I run a DNSs server in another docker container on the same host, and the host is configured to use that as its DNS server. The farmos container was not able to get to this container (haven't fixed that yet) and so it had to wait for each DNS request to time out before falling back to the next DNS server.
20:07mstenta[m]@tgrosinger:matrix.org: Ah ok! That makes sense
20:07mstenta[m]Glad we figured it all out
20:08tgrosinger[m]Me too. Thanks again for all the help.
21:06tgrosinger[m]Is there a way to see what the farm_plan and farm_plan_consideration modules add? I enabled them, but am not sure what changed.
21:07mstenta[m]They don't do anything by themselves yet... The grazing module uses them to add a grazing plan type
21:07tgrosinger[m]Oh, and I see the new plan header. Cool thank you :)
21:07mstenta[m]GitHub.com/farmos/farm_grazing
21:08mstenta[m]It's where we're headed: more planning features
21:08mstenta[m]Ie: crop plan, grazing plan, nutrient management plan, etc
21:09tgrosinger[m]That is definitely something I would be interested in. Features to aid in planning crop rotations
21:09tgrosinger[m]Yeah
21:09mstenta[m]Cool yea!
21:09mstenta[m]Me too
22:22*mikebrunt has quit (Ping timeout: 256 seconds)

< 252018-10-26⋏27 >