IRC logs for #farmOS, 2020-04-13 (GMT)

2020-04-12
2020-04-14
TimeNickMessage
[20:35:17]* farmBOT has joined #farmos
[05:35:36]* JustTB has quit (Quit: Leaving.)
[06:32:29]* JustTB has joined #farmos
[12:30:50]* tool172 has joined #farmos
[12:31:34]* tool172 has quit (Remote host closed the connection)
[12:35:36]* tool172 has joined #farmos
[12:40:54]<tool172>is there an easy way to upgrade from 1.0 to 1.3
[12:40:57]<tool172>??
[12:41:56]<tool172>i run the repo update through drupal and there is no yml, after skimming the docs, it's manwell i'm guessing since packaged source
[12:42:58]<mstenta[m]>https://farmos.org/hosting/updating/
[12:43:31]<mstenta[m]>tool172: i have to run so can't help more right now... but read those docs
[12:43:34]<mstenta[m]>and BACKUP FIRST!
[12:54:20]<tool172>you could also add self-hosted in drupal section
[12:54:34]<tool172>rather "Docker notes"
[12:54:47]<tool172>because that's the same as replacing on an apache2.4 server
[13:02:00]<mstenta[m]>not sure i understand
[13:04:32]<tool172>i run on BSD
[13:04:51]<tool172>so i usually build up what i need behind the scenes then throw it on my apache server
[13:05:17]<tool172>loading a web page into apache is basically the same as copying the new files over -> setting permissions -> running updates.php
[13:10:45]<mstenta[m]>Sorry I'm still not following :-)
[13:11:43]<mstenta[m]><tool172 "you could also add self-hosted i"> What did you mean here?
[13:12:35]<tool172>if you are trying to help novice users who don't understand how apache servers or lidarr or whatever type they are running, they could use that info to help them to reach a broader audience
[13:12:52]<tool172>I am referring to the farmos.org/hosting/updating/
[13:12:54]<tool172>section
[13:31:12]<mstenta[m]>ah ok! if you'd like, that site is on github - you could suggest changes with a pull request :-)
[13:31:28]<mstenta[m]>https://github.com/farmOS/farmOS.org/blob/7.x-1.x/docs/hosting/updating.md
[13:38:55]<tool172>@mstenta, Since your on, you posted a bug about php7.2+ and bcmod() geo php math classes.
[13:39:07]<tool172>that is the error i'm seeing on my home page only after upgrading to 1.3
[13:40:14]<tool172>now i'm showing undefined function bcscale()
[13:40:24]<tool172> undefined function in farm_map.geo.inc
[13:40:34]<tool172>new bug or linked due to php 7.2.2?
[13:47:43]<mstenta[m]>Ah yes I think I fixed that after the 1.3 release
[13:47:44]<mstenta[m]>Let me see...
[13:48:28]<mstenta[m]>https://github.com/farmOS/farmOS/commit/a3b76000476a007c7375f593994934f1...
[13:48:46]<mstenta[m]>It's a pretty simple fix if you want to just manually apply it
[13:49:05]<tool172>gracias
[13:49:05]<mstenta[m]>And will be included in the next tagged release, so you'll get it again next time you upgrade
[13:49:24]<tool172>i'm making sure i'm enabling the php library first
[13:49:25]<mstenta[m]>De nada!
[13:49:27]<tool172>for 7.2
[13:49:35]<mstenta[m]>Oh ok that will fix it too
[13:49:50]<mstenta[m]>Good to have BCMath in general
[13:50:27]<mstenta[m]>@paul121:matrix.org: I've made some progress on the theme issue :-)
[13:50:33]<mstenta[m]>The plot has thickened
[13:53:28]<mstenta[m]>But... I have an easy fix for you
[13:53:53]<mstenta[m]>Just visit /admin/structure/blocks
[13:54:01]<mstenta[m]>That will fix the map on the homepage
[13:54:16]<mstenta[m]>On a case by case basis anyway
[14:45:20]* JustTB has quit (Quit: Leaving.)
[15:53:39]<paul121[m]>> Just visit /admin/structure/blocks
[15:53:39]<paul121[m]>mstenta: confirmed, that works!
[15:54:39]<mstenta[m]>cool
[15:55:02]<mstenta[m]>so... the whole `farm_theme` being disabled thing is a completely DIFFERENT issue
[15:55:19]<mstenta[m]>that actually had nothing to do with the farm map not working on the dashboard
[15:55:22]<mstenta[m]>that's just what turned me on to it
[15:56:03]<paul121[m]>fwiw I feel like I might have noticed that when the new banner map was released (unsure if that was the same time as the inclusion of farmOS-map)
[15:56:35]<paul121[m]>but I never thought much of it because I never used a Google Maps API key. and thought that might be required
[15:56:55]<paul121[m]>but I also wasn't using the map for dev so it wasn't a big deal, anyways
[15:57:52]<paul121[m]> * fwiw I feel like I might have first noticed this when the new banner map was released (unsure if that was the same time as the inclusion of farmOS-map)
[15:58:50]<paul121[m]>ah.. well yea, seeing that GH issue now. Seems like this is affecting multiple things
[15:59:04]<mstenta[m]>yea that is when you would have noticed it... that makes sense
[15:59:05]<paul121[m]>let me know if I can test anything!
[15:59:09]<mstenta[m]>actually no... i don't think it's affecting other things :-)
[15:59:19]<mstenta[m]>all in all... this is a relatively harmless issue :-)
[15:59:38]<mstenta[m]>and it's actually two separate issues... somewhat related, but not really
[16:00:06]<mstenta[m]>i'm just amazed it went unnoticed for so long
[16:00:30]<paul121[m]>something worth noting: I have two local farmOS dev instances that both had this issue
[16:00:46]<paul121[m]>I went to /admin/structure/blocks on the first one and it fixed
[16:01:17]<paul121[m]>I then loaded up the second instance (accessing with the same URL - `http://localhost`)
[16:01:28]<paul121[m]>and the second instance was already "fixed" - the banner map displayed
[16:01:41]<paul121[m]>without me going to the admin page
[16:02:00]<mstenta[m]>ok - must have triggered the same function to run over there at some other point
[16:02:15]<paul121[m]>does that make sense?
[16:02:38]<paul121[m]>they're two separate docker containers, weren't running at the same time
[16:02:43]<mstenta[m]>yea, sort of... i can't say exactly what fixed the second one... but it makes sense that something else could have
[16:03:20]<paul121[m]>hmm
[16:10:29]* JustTB has joined #farmos
[16:18:37]<mstenta[m]>but in either case, i understand the root cause of that particular issue now (the map header specifically), so i can work on a fix...
[16:18:48]<mstenta[m]>i'm going to spin up a second github issue for it shortly...
[16:18:54]<mstenta[m]>to describe
[16:20:50]<mstenta[m]>https://github.com/farmOS/farmOS/issues/273
[16:32:35]* JustTB has quit (Quit: Leaving.)
[16:59:53]* JustTB has joined #farmos
[18:23:34]* tool172 has quit (Quit: Leaving)