< 282019-12-29⋎30 >

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
00:54*JustTB has joined
01:10*JustTB has quit (Quit: Leaving.)
02:04spicyfawkes[m]Yes. It is.
02:05spicyfawkes[m]mstenta: thanks for responding.
02:08mstenta[m]Ah ok. And are your maps working in general?
02:09mstenta[m]The ol-geocoder is just the magnifying glass button in the map that lets you search by address
02:09spicyfawkes[m]mstenta: yes. My maps are working. I get this error when trying to save a new area after ‘drawing’ it on the map.
02:10mstenta[m]Does the drawn shape save successfully?
02:10mstenta[m](despite the error)
02:12*uploaded an image: ima_0b487db.jpeg (68KB) < matrix.org/_matrix/media/r0/download/mat >
02:12mstenta[m]Oh
02:12mstenta[m]Ok so that might be something different actually
02:13mstenta[m]Are you hosting it yourself or using Farmier?
02:13spicyfawkes[m]Yes. I’m self hosting.
02:13mstenta[m]There were some similar reports recently...
02:13mstenta[m]Of this happening on shared hosting servers
02:14mstenta[m]We haven't figured out exactly what the cause is yet
02:14mstenta[m]I'm not at my computer at the moment... Let me see if I can find the bug report
02:14spicyfawkes[m]This my own private
02:14spicyfawkes[m]Physical server I can give you logs if that would be helpful
02:15mstenta[m]www.drupal.org/project/geophp/issues/305
02:15mstenta[m]Can you go to /admin/reports/dblog and see if you see the same error there?
02:16mstenta[m]The error you saw in console might be unrelated... Or it might be a clue...
02:31spicyfawkes[m]Just checked. It is the same error.
02:33mstenta[m]Great!
02:33mstenta[m]Well... Not great that it's happening.
02:33mstenta[m]But great that we know what it is. :-)
02:37spicyfawkes[m]Yay!
03:27generalredneck[mGoing to put this as an issue... but something to consider in the api... should probably add a "capabilities" section where modules can define that the site has a feature installed.. This will allow for the field kit (or any other application consuming the api) to know what it can support. You do a lot of this right now with checking resources, farmasset, and log for the particulars... but it would be handy for the
03:27generalredneck[m"optional" bits like farm_livestock, to explicitly validate it's availible, or document the process to go about doing so.
03:43generalredneck[mI found hook_farm_info, but I've got some possibly constructive criticism over in github.com/farmOS/farmOS/issues/222. Hope it helps
14:21*ludwa6 has quit (Read error: Connection reset by peer)
14:21*ludwa6 has joined
14:23*JustTB has joined
14:51*JustTB has quit (Ping timeout: 265 seconds)
15:05*JustTB has joined
15:56*JustTB has quit (Quit: Leaving.)
16:08*JustTB has joined
16:29*JustTB has quit (Ping timeout: 248 seconds)
16:48*JustTB has joined
17:18paul121[m]@generalredneck:matrix.org: right now the API has a `resources` array that shows enabled `log` types and `vocabularies` but you're right, this will probably need to be expanded a bit more!
17:19paul121[m]I think they've got some ideas for how field kit will pull in field modules and make them discoverable via the api, too. Good things to think about
17:25mstenta[m]Yea the /farm.json endpoint was a simple stop gap solution for some of the things we needed in Field Kit, but I agree I think we can approach it a bit differently in 2.x
17:25mstenta[m]Looking forward to seeing your ideas!
17:26mstenta[m]FYI I'm all booked up with family stuff through the new year, hence why I've been unable to follow up with stuff
17:27mstenta[m]Excited to see so much activity from everyone over the holiday though! :-)
17:28generalredneck[mYeah I've got a little more time and will likely not have as much time when work starts back on the 2nd
17:29generalredneck[mSo just throwing stuff out there while I can
17:31mstenta[m]Much appreciated!!
17:52*JustTB has quit (Quit: Leaving.)
18:20*JustTB has joined
18:41*JustTB has quit (Quit: Leaving.)
18:45*JustTB has joined
19:15*JustTB has quit (Ping timeout: 248 seconds)
20:41*JustTB has joined
20:47svenn7I am not quite sure what version of farmos I was using
20:48svenn7I got back to farmos from a year or two ago to look at it again, and got message that my core drupal was at risk
20:49svenn7I downloaded and unpacked the 7.69 on top of my existing farmos and then started upgrading from within the farmos update tool
20:50svenn7I think I had the 1.0 version of farmos, and then just downloaded and dropped 1.2 on top of that
20:54svenn7It is all a mess, so I start from scratch again with the install
21:03*JustTB has quit (Quit: Leaving.)
21:28svenn7the logs that I was adding was done in june 2016 with the then current version
21:28svenn7older than I thought
21:37mstenta[m]Ah ok yea
21:37mstenta[m]Long time ago :-)
21:37mstenta[m]You're one of the earliest farmOS users, svenn7 ;-)
21:38mstenta[m]Were you able to get back to the pre update state?
21:43mstenta[m]Or are you just starting fresh?
21:45svenn7I thought I was starting fresh, but when I punched in the database credentials, I got the message that drupal was already installed
21:45svenn7I am on php7.3 now
21:45svenn7and from my error.log I can se that openlayers has a problem :
21:46svenn7 PHP Fatal error: Cannot use 'Object' as class name as it is reserved in /home/www/doc/7901/bjerkem.de/www/farmos/profiles/farm/modules/contrib/openlayers/src/Types/Object.php on line 18
21:47*JustTB has joined
21:47generalredneck[mprobably need to run `phpcs` to see if farm is php 7.3 compatible. D7 has only been since 7.68
21:47svenn7where to run phpcs?
21:48generalredneck[mThat was a comment to the farmos dev team
21:48mstenta[m]So... That Openlayers error was fixed with a patch. It sounds like you tried to update the Openlayers module without patching it?
21:49mstenta[m]Generally speaking you shouldn't try to update drupal core or contrib modules individually because they may need patches
21:49svenn7I unpacked the farm-7.x-1.2-core.tar.gz
21:49mstenta[m]Always update farmOS itself as a whole (which includes drupal core, contrib modules, and patches)
21:51mstenta[m]Secondly: yea I'm not sure the status of PHP 7.3 support. I think I tested it and it worked. But i forget... Will need to look closer when I'm back at my computer
21:51mstenta[m]On my phone right now
21:51generalredneck[maccording to phpcs it's fully compatible
21:51svenn7I'll go and look for an openlayer patch
21:51mstenta[m]Ah awesome! Thanks generalredneck (@generalredneck:matrix.org)
21:52mstenta[m]You shouldn't need to patch manually if you unpacked the farmOS package
21:52svenn7strange that I get that error then.
21:52mstenta[m]Yes very
21:53mstenta[m]I wonder if you have Openlayers module in two places and the unpatched one is taking precedence
21:53generalredneck[mI was thinking the same thing
21:53mstenta[m]Do you have any modules in your sites directory
21:58svenn7no, but we did develop a farm_map_kartverket thing to load maps from the norwegian map authority back then
21:59svenn7all/modules/ is empty except for the README.txt
22:01mstenta[m]I remember :-) github.com/farmOS/farm_map_no
22:02mstenta[m]Ok question: do you have a database backup from before the code was changed?
22:04mstenta[m]I'm a little confused about what state you are in right now too because you mentioned that your saw the message about Drupal already being installed
22:04mstenta[m]That generally happens if you have lost your settings.php file
22:05svenn7I think I am in the state of chaos
22:06mstenta[m]Then drupal doesn't know that it is installed, so it sends you to the install process. And then when you type in the DB credentials it sees that the tables already exist
22:06mstenta[m]:-(
22:06mstenta[m]No backup?
22:06svenn7no backup
22:06mstenta[m]:-(
22:06svenn7forward-leaning
22:07svenn7out the window :)
22:07mstenta[m]I'm sure we can get you back on your feet
22:07mstenta[m]Probably not right now though... As I'm riding in a car back home
22:08svenn7no problem
22:12mstenta[m]I am a bit worried about the original error you encountered though. Regarding the movement module update
22:13mstenta[m]That combined with the other updates you did might have left things in a weird state
22:14svenn7this is stuff that you touched a year ago
22:15svenn7I was looking for the patch files and found several attempts to patch openlayers for php 7.2, but it is a bit confusing to read in retrospect
22:16svenn7I even got the message that 'elements' was missing after unpacking the farmos bundle
22:17mstenta[m]Hmm yeah ok that's definitely confirming that you are running an unpatched Openlayers module
22:17svenn7so I got 'elements' and put it in the modules directory and then that message went away
22:17svenn7so I downloaded the wrong farmos 1.2 bundle, then?
22:18svenn7well, timestamp on the files are may 8th 2019
22:19svenn7PATCHES.txt is from july 18th
22:22mstenta[m]farmos.org/hosting/updating/
22:22mstenta[m]Do those look like the general steps you went through?
22:24svenn7Well, I stored away my original farmos into a backup directory so I can probably go there and look for my /sites/
22:25svenn7but I *did* use the drupal update which is stated in very big letters that I should not do :)
22:25*JustTB has quit (Quit: Leaving.)
22:26svenn7How can I get a tar.gz from the head of your github farmos version?
22:26svenn7I google that myself
22:34mstenta[m]www.drupal.org/project/farm/releases/7.x
22:47svenn7well, I put the dev version on top, and still had the object error
22:47svenn7then I remembered somebody saying that 'clearing the cache' helped
22:47svenn7clearing the cache and we are back on track :)
22:48svenn7almost

< 282019-12-29⋏30 >