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