< 082020-06-09⋎10 >

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
08:33*JustTB has quit (Quit: Leaving.)
09:53*JustTB has joined
16:36canadrian[m]Any ideas on why I get an error when trying to sign into farmos.app or the iOS TestFlight beta on my phone? My installation is behind a NGINX reverse proxy, but I tested farmos.app in Chrome on my laptop and it was able to sign in.
16:37canadrian[m]I have a screenshot of the error, but I can’t find a way to post it via the Riot.im iOS app...
16:37canadrian[m]Oh found it
16:38*uploaded an image: ima_8bf1d06.jpeg (345KB) < matrix.org/_matrix/media/r0/download/mat >
17:19mstenta[m]canadrian: sorry but Field Kit is essentially broken in iOS right now
17:19mstenta[m]Apple changed one of their default settings which effectively disabled the old way of authenticating that Field Kit was using
17:19mstenta[m]Thankfully, there's a new way
17:20mstenta[m]And we are working on updating Field Kit to use it
17:21mstenta[m]It affects Safari, essentially, which is what is used under the hood in the Field Kit iOS app
17:22mstenta[m](that's a bit of an oversimplification, but it works) :-)
17:45canadrian[m]mstenta Ok no worries. The site itself works ok on my phone. By the way, for the Dev Docker image, do you know how I change the PHP memory limit so I can upload larger files?
18:03mstenta[m]Ah yea
18:03mstenta[m]Maybe that's something we should just set in the farmOS image itself
18:03mstenta[m]Otherwise you need to create your own image that you extend with
18:05mstenta[m]Eg let's just add to this: github.com/farmOS/farmOS/blob/cee33bb6e9
18:07canadrian[m]That file seems to indicate it's setting the memory limit to 256mb but I'm seeing a filesize limit of 2mb.
18:09mstenta[m]Right, so the setting we want is `max_upload_size`
18:09mstenta[m]As well as `post_max_size`
18:10mstenta[m](Different than the `memory_limit`)
18:10mstenta[m]PHP's default is 2mb
18:10mstenta[m]So that's what you're seeing
18:11canadrian[m]Ah, I misread the guide on Drupal.org. Looks like there's two variables that need to be set, for post and file. www.drupal.org/docs/7/managing-site-perf.
18:11canadrian[m]I'm pretty amateurish on this stuff.
18:13mstenta[m]Are you comfortable with Git(hub) and making pull requests? Do you want to take a stab at this?
18:15canadrian[m]I'm afraid not, at least at this point. I've done a bunch of front-end Drupal stuff in the past, some basic HTML and CSS, and I have used a lot of pre-made Docker containers, but I've never done any other programming or Git stuff. No worries, this doesn't have to be a priority.
18:16mstenta[m]no worries! would you be willing to open a feature request on github.com/farmOS/farmOS/issues
18:16mstenta[m]I can take it from there - this is an easy change, and i agree it would be a good one to do
18:16canadrian[m]Sure thing
18:16mstenta[m]I'm busy right now, so the issue will get added to my todo list ;-)
18:17canadrian[m]Thanks
18:28*sent a long message: < matrix.org/_matrix/media/r0/download/mat >
18:29symbioquine[m]^ That's more or less what I'm using
18:32symbioquine[m]<mstenta[m] "Otherwise you need to create you"> There might be an argument for leaving the default as-is, but just documenting the php-custom.ini strategy I posted above on farmOS.org for those wanting to set the limit higher...
18:34mstenta[m]Oh yes that is a good way to do it too symbioquine
18:34mstenta[m]canadrian: give that a try^
18:34mstenta[m]That works without any modifications
18:35mstenta[m]symbioquine: would you mind posting that as a comment to the new issue?
18:35mstenta[m]github.com/farmOS/farmOS/issues/310
18:35mstenta[m]I agree that is a better approach/recommendation
22:10canadrian[m]symbioquine mstenta Perfect! Updated my compose file in Portainer and now the max file size shows as 10M. Now if I could only get Drupal to take the HEIC images my phone takes by default and automatically convert them to JPG. 🙂

< 082020-06-09⋏10 >