| [19:54:44] | * JustTB has joined #farmos |
| [20:10:31] | * JustTB has quit (Quit: Leaving.) |
| [21:04:38] | <spicyfawkes[m]> | Yes. It is. |
| [21:05:01] | <spicyfawkes[m]> | mstenta: thanks for responding. |
| [21:08:42] | <mstenta[m]> | Ah ok. And are your maps working in general? |
| [21:09:32] | <mstenta[m]> | The ol-geocoder is just the magnifying glass button in the map that lets you search by address |
| [21:09:45] | <spicyfawkes[m]> | mstenta: yes. My maps are working. I get this error when trying to save a new area after ‘drawing’ it on the map. |
| [21:10:05] | <mstenta[m]> | Does the drawn shape save successfully? |
| [21:10:38] | <mstenta[m]> | (despite the error) |
| [21:12:25] | <spicyfawkes[m]> | ACTION uploaded an image: ima_0b487db.jpeg (68KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/KTJJszTaKPLzdNPK... > |
| [21:12:33] | <mstenta[m]> | Oh |
| [21:12:54] | <mstenta[m]> | Ok so that might be something different actually |
| [21:13:11] | <mstenta[m]> | Are you hosting it yourself or using Farmier? |
| [21:13:21] | <spicyfawkes[m]> | Yes. I’m self hosting. |
| [21:13:33] | <mstenta[m]> | There were some similar reports recently... |
| [21:13:51] | <mstenta[m]> | Of this happening on shared hosting servers |
| [21:14:01] | <mstenta[m]> | We haven't figured out exactly what the cause is yet |
| [21:14:35] | <mstenta[m]> | I'm not at my computer at the moment... Let me see if I can find the bug report |
| [21:14:52] | <spicyfawkes[m]> | This my own private |
| [21:14:52] | <spicyfawkes[m]> | Physical server I can give you logs if that would be helpful |
| [21:15:20] | <mstenta[m]> | https://www.drupal.org/project/geophp/issues/3050510 |
| [21:15:47] | <mstenta[m]> | Can you go to /admin/reports/dblog and see if you see the same error there? |
| [21:16:15] | <mstenta[m]> | The error you saw in console might be unrelated... Or it might be a clue... |
| [21:31:19] | <spicyfawkes[m]> | Just checked. It is the same error. |
| [21:33:22] | <mstenta[m]> | Great! |
| [21:33:34] | <mstenta[m]> | Well... Not great that it's happening. |
| [21:33:45] | <mstenta[m]> | But great that we know what it is. :-) |
| [21:37:56] | <spicyfawkes[m]> | Yay! |
| [22:27:45] | <generalredneck[m> | Going 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 |
| [22:27:45] | <generalredneck[m> | "optional" bits like farm_livestock, to explicitly validate it's availible, or document the process to go about doing so. |
| [22:43:30] | <generalredneck[m> | I found hook_farm_info, but I've got some possibly constructive criticism over in https://github.com/farmOS/farmOS/issues/222. Hope it helps |
| [09:21:14] | * ludwa6 has quit (Read error: Connection reset by peer) |
| [09:21:51] | * ludwa6 has joined #farmos |
| [09:23:42] | * JustTB has joined #farmos |
| [09:51:37] | * JustTB has quit (Ping timeout: 265 seconds) |
| [10:05:48] | * JustTB has joined #farmos |
| [10:56:51] | * JustTB has quit (Quit: Leaving.) |
| [11:08:50] | * JustTB has joined #farmos |
| [11:29:24] | * JustTB has quit (Ping timeout: 248 seconds) |
| [11:48:08] | * JustTB has joined #farmos |
| [12:18:09] | <paul121[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! |
| [12:19:11] | <paul121[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 |
| [12:25:05] | <mstenta[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 |
| [12:25:16] | <mstenta[m]> | Looking forward to seeing your ideas! |
| [12:26:44] | <mstenta[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 |
| [12:27:01] | <mstenta[m]> | Excited to see so much activity from everyone over the holiday though! :-) |
| [12:28:55] | <generalredneck[m> | Yeah I've got a little more time and will likely not have as much time when work starts back on the 2nd |
| [12:29:10] | <generalredneck[m> | So just throwing stuff out there while I can |
| [12:31:31] | <mstenta[m]> | Much appreciated!! |
| [12:52:33] | * JustTB has quit (Quit: Leaving.) |
| [13:20:40] | * JustTB has joined #farmos |
| [13:41:52] | * JustTB has quit (Quit: Leaving.) |
| [13:45:12] | * JustTB has joined #farmos |
| [14:15:16] | * JustTB has quit (Ping timeout: 248 seconds) |
| [15:41:08] | * JustTB has joined #farmos |
| [15:47:43] | <svenn7> | I am not quite sure what version of farmos I was using |
| [15:48:46] | <svenn7> | I 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 |
| [15:49:43] | <svenn7> | I downloaded and unpacked the 7.69 on top of my existing farmos and then started upgrading from within the farmos update tool |
| [15:50:31] | <svenn7> | I think I had the 1.0 version of farmos, and then just downloaded and dropped 1.2 on top of that |
| [15:54:44] | <svenn7> | It is all a mess, so I start from scratch again with the install |
| [16:03:01] | * JustTB has quit (Quit: Leaving.) |
| [16:28:07] | <svenn7> | the logs that I was adding was done in june 2016 with the then current version |
| [16:28:19] | <svenn7> | older than I thought |
| [16:37:25] | <mstenta[m]> | Ah ok yea |
| [16:37:40] | <mstenta[m]> | Long time ago :-) |
| [16:37:58] | <mstenta[m]> | You're one of the earliest farmOS users, svenn7 ;-) |
| [16:38:52] | <mstenta[m]> | Were you able to get back to the pre update state? |
| [16:43:14] | <mstenta[m]> | Or are you just starting fresh? |
| [16:45:02] | <svenn7> | I thought I was starting fresh, but when I punched in the database credentials, I got the message that drupal was already installed |
| [16:45:19] | <svenn7> | I am on php7.3 now |
| [16:45:42] | <svenn7> | and from my error.log I can se that openlayers has a problem : |
| [16:46:10] | <svenn7> | 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 |
| [16:47:02] | * JustTB has joined #farmos |
| [16:47:11] | <generalredneck[m> | probably need to run `phpcs` to see if farm is php 7.3 compatible. D7 has only been since 7.68 |
| [16:47:44] | <svenn7> | where to run phpcs? |
| [16:48:08] | <generalredneck[m> | That was a comment to the farmos dev team |
| [16:48:51] | <mstenta[m]> | So... That Openlayers error was fixed with a patch. It sounds like you tried to update the Openlayers module without patching it? |
| [16:49:24] | <mstenta[m]> | Generally speaking you shouldn't try to update drupal core or contrib modules individually because they may need patches |
| [16:49:49] | <svenn7> | I unpacked the farm-7.x-1.2-core.tar.gz |
| [16:49:53] | <mstenta[m]> | Always update farmOS itself as a whole (which includes drupal core, contrib modules, and patches) |
| [16:51:07] | <mstenta[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 |
| [16:51:11] | <mstenta[m]> | On my phone right now |
| [16:51:41] | <generalredneck[m> | according to phpcs it's fully compatible |
| [16:51:46] | <svenn7> | I'll go and look for an openlayer patch |
| [16:51:54] | <mstenta[m]> | Ah awesome! Thanks generalredneck (@generalredneck:matrix.org) |
| [16:52:15] | <mstenta[m]> | You shouldn't need to patch manually if you unpacked the farmOS package |
| [16:52:27] | <svenn7> | strange that I get that error then. |
| [16:52:38] | <mstenta[m]> | Yes very |
| [16:53:36] | <mstenta[m]> | I wonder if you have Openlayers module in two places and the unpatched one is taking precedence |
| [16:53:45] | <generalredneck[m> | I was thinking the same thing |
| [16:53:52] | <mstenta[m]> | Do you have any modules in your sites directory |
| [16:58:35] | <svenn7> | no, but we did develop a farm_map_kartverket thing to load maps from the norwegian map authority back then |
| [16:59:25] | <svenn7> | all/modules/ is empty except for the README.txt |
| [17:01:50] | <mstenta[m]> | I remember :-) https://github.com/farmOS/farm_map_no |
| [17:02:22] | <mstenta[m]> | Ok question: do you have a database backup from before the code was changed? |
| [17:04:35] | <mstenta[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 |
| [17:04:53] | <mstenta[m]> | That generally happens if you have lost your settings.php file |
| [17:05:25] | <svenn7> | I think I am in the state of chaos |
| [17:06:00] | <mstenta[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 |
| [17:06:03] | <mstenta[m]> | :-( |
| [17:06:21] | <mstenta[m]> | No backup? |
| [17:06:43] | <svenn7> | no backup |
| [17:06:54] | <mstenta[m]> | :-( |
| [17:06:57] | <svenn7> | forward-leaning |
| [17:07:12] | <svenn7> | out the window :) |
| [17:07:30] | <mstenta[m]> | I'm sure we can get you back on your feet |
| [17:07:54] | <mstenta[m]> | Probably not right now though... As I'm riding in a car back home |
| [17:08:42] | <svenn7> | no problem |
| [17:12:29] | <mstenta[m]> | I am a bit worried about the original error you encountered though. Regarding the movement module update |
| [17:13:16] | <mstenta[m]> | That combined with the other updates you did might have left things in a weird state |
| [17:14:32] | <svenn7> | this is stuff that you touched a year ago |
| [17:15:54] | <svenn7> | I 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 |
| [17:16:37] | <svenn7> | I even got the message that 'elements' was missing after unpacking the farmos bundle |
| [17:17:09] | <mstenta[m]> | Hmm yeah ok that's definitely confirming that you are running an unpatched Openlayers module |
| [17:17:11] | <svenn7> | so I got 'elements' and put it in the modules directory and then that message went away |
| [17:17:48] | <svenn7> | so I downloaded the wrong farmos 1.2 bundle, then? |
| [17:18:45] | <svenn7> | well, timestamp on the files are may 8th 2019 |
| [17:19:32] | <svenn7> | PATCHES.txt is from july 18th |
| [17:22:04] | <mstenta[m]> | https://farmos.org/hosting/updating/ |
| [17:22:20] | <mstenta[m]> | Do those look like the general steps you went through? |
| [17:24:47] | <svenn7> | Well, I stored away my original farmos into a backup directory so I can probably go there and look for my /sites/ |
| [17:25:28] | <svenn7> | but I *did* use the drupal update which is stated in very big letters that I should not do :) |
| [17:25:41] | * JustTB has quit (Quit: Leaving.) |
| [17:26:16] | <svenn7> | How can I get a tar.gz from the head of your github farmos version? |
| [17:26:42] | <svenn7> | I google that myself |
| [17:34:03] | <mstenta[m]> | https://www.drupal.org/project/farm/releases/7.x-1.x-dev |
| [17:47:05] | <svenn7> | well, I put the dev version on top, and still had the object error |
| [17:47:23] | <svenn7> | then I remembered somebody saying that 'clearing the cache' helped |
| [17:47:42] | <svenn7> | clearing the cache and we are back on track :) |
| [17:48:10] | <svenn7> | almost |