| 08:33 | * | JustTB has quit (Quit: Leaving.) |
| 09:53 | * | JustTB has joined |
| 16:36 | canadrian[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:37 | canadrian[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:37 | canadrian[m] | Oh found it |
| 16:38 | * | uploaded an image: ima_8bf1d06.jpeg (345KB) < matrix.org/_matrix/media/r0/download/mat > |
| 17:19 | mstenta[m] | canadrian: sorry but Field Kit is essentially broken in iOS right now |
| 17:19 | mstenta[m] | Apple changed one of their default settings which effectively disabled the old way of authenticating that Field Kit was using |
| 17:19 | mstenta[m] | Thankfully, there's a new way |
| 17:20 | mstenta[m] | And we are working on updating Field Kit to use it |
| 17:21 | mstenta[m] | It affects Safari, essentially, which is what is used under the hood in the Field Kit iOS app |
| 17:22 | mstenta[m] | (that's a bit of an oversimplification, but it works) :-) |
| 17:45 | canadrian[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:03 | mstenta[m] | Ah yea |
| 18:03 | mstenta[m] | Maybe that's something we should just set in the farmOS image itself |
| 18:03 | mstenta[m] | Otherwise you need to create your own image that you extend with |
| 18:05 | mstenta[m] | Eg let's just add to this: github.com/farmOS/farmOS/blob/cee33bb6e9 |
| 18:07 | canadrian[m] | That file seems to indicate it's setting the memory limit to 256mb but I'm seeing a filesize limit of 2mb. |
| 18:09 | mstenta[m] | Right, so the setting we want is `max_upload_size` |
| 18:09 | mstenta[m] | As well as `post_max_size` |
| 18:10 | mstenta[m] | (Different than the `memory_limit`) |
| 18:10 | mstenta[m] | PHP's default is 2mb |
| 18:10 | mstenta[m] | So that's what you're seeing |
| 18:11 | canadrian[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:11 | canadrian[m] | I'm pretty amateurish on this stuff. |
| 18:13 | mstenta[m] | Are you comfortable with Git(hub) and making pull requests? Do you want to take a stab at this? |
| 18:15 | canadrian[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:16 | mstenta[m] | no worries! would you be willing to open a feature request on github.com/farmOS/farmOS/issues |
| 18:16 | mstenta[m] | I can take it from there - this is an easy change, and i agree it would be a good one to do |
| 18:16 | canadrian[m] | Sure thing |
| 18:16 | mstenta[m] | I'm busy right now, so the issue will get added to my todo list ;-) |
| 18:17 | canadrian[m] | Thanks |
| 18:28 | * | sent a long message: < matrix.org/_matrix/media/r0/download/mat > |
| 18:29 | symbioquine[m] | ^ That's more or less what I'm using |
| 18:32 | symbioquine[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:34 | mstenta[m] | Oh yes that is a good way to do it too symbioquine |
| 18:34 | mstenta[m] | canadrian: give that a try^ |
| 18:34 | mstenta[m] | That works without any modifications |
| 18:35 | mstenta[m] | symbioquine: would you mind posting that as a comment to the new issue? |
| 18:35 | mstenta[m] | github.com/farmOS/farmOS/issues/310 |
| 18:35 | mstenta[m] | I agree that is a better approach/recommendation |
| 22:10 | canadrian[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. 🙂 |