| 02:04 | * | JustTB has quit (Quit: Leaving.) |
| 06:27 | * | JustTB has joined |
| 07:11 | * | JustTB has quit (Quit: Leaving.) |
| 07:33 | * | JustTB has joined |
| 10:44 | skipper_is[m] | Just ordered a new dedicated server, and am busy getting FarmOS installed on it. I'll try and put 2 versions on, a Postgresql and a Mysql version as well, so I can do some field testing of Postgresql functionality |
| 10:47 | skipper_is[m] | @mstenta, Is the mobile version on the play store the farmOS-Client as well? |
| 10:52 | mstenta[m] | @skipper_is awesome! |
| 10:52 | mstenta[m] | Yes farmOS-client == field kit |
| 10:56 | skipper_is[m] | Awesome, I'll drop a issue log on there. I've not managed to debug it at all, just had the crash when I opened it... Will do some poking at one point |
| 12:41 | * | sent a long message: < matrix.org/_matrix/media/v1/download/mat > |
| 12:42 | skipper_is[m] | Oh, that wasn't the actual error page...: |
| 12:42 | * | sent a long message: < matrix.org/_matrix/media/v1/download/mat > |
| 12:43 | mstenta[m] | skipper_is: Is this a fresh installation you are attempting? |
| 12:44 | mstenta[m] | That error would indicate that you are trying to install into a database that was already created. |
| 12:44 | mstenta[m] | Hence the tables already exist |
| 12:56 | skipper_is[m] | It was a blank database, just created it for the test. Completely empty apart from the public schema |
| 12:57 | mstenta[m] | Hmm, well try blowing away the database completely and trying again. See if it happens a second time. |
| 12:57 | skipper_is[m] | That was the 2nd time... |
| 12:58 | skipper_is[m] | I'll try wiping the server files as well, and doing a complete fresh install |
| 12:58 | mstenta[m] | You could check sites/default/settings.php |
| 12:58 | mstenta[m] | that's where the database credentials get stored for farmOS to connect |
| 12:59 | mstenta[m] | Maybe they are pointing to a different db? |
| 12:59 | mstenta[m] | Just guessing at this point... |
| 12:59 | mstenta[m] | Starting fresh is always a good approach :-) |
| 13:55 | skipper_is[m] | That's what I thought too.. No idea. done a complete wipe anyway, database wipe and file wipe |
| 13:55 | skipper_is[m] | 3rd time lucky! |
| 13:57 | mstenta[m] | Ah great! |
| 13:58 | mstenta[m] | Probably just some artifact leftover from a previous install. |
| 13:58 | skipper_is[m] | Yea, or some dependency I've missed on the new server install... |
| 13:59 | mstenta[m] | skipper_is: I forget if I've mentioned this to you already or not... but there is a Docker image available for farmOS |
| 13:59 | mstenta[m] | which packages all the dependencies |
| 13:59 | mstenta[m] | (except the database) |
| 14:00 | skipper_is[m] | I've not used Docker before, so I'm trying to avoid learning something new.. |
| 14:01 | mstenta[m] | Fair enough - it is definitely another layer |
| 14:01 | mstenta[m] | And it's good to have you testing all of this outside of Docker - because that needs to work too |
| 14:02 | skipper_is[m] | I'm just trying to figure out how to patch...... |
| 14:02 | skipper_is[m] | Without reading the instructions.... |
| 14:03 | mstenta[m] | `patch -p1 < [filename.patch]` |
| 14:03 | mstenta[m] | (back up your codebase before you run it, so you can easily roll back) |
| 14:04 | mstenta[m] | the patch command has an ability to roll back too... but since you don't feel like reading instructions ;-) |
| 14:05 | skipper_is[m] | Ooooh, that is too easy. I was going to manually edit all the files the .patch file touches.. |
| 14:05 | mstenta[m] | well you could do that if you really way :-) |
| 14:05 | mstenta[m] | want* |
| 14:05 | skipper_is[m] | I'm assuming you do that in the install directory.. |
| 14:09 | mstenta[m] | what patch are you applying? the one to drupal core for postgresql? |
| 14:09 | mstenta[m] | if so, then you run that in the webroot directory |
| 14:09 | skipper_is[m] | Yea |
| 14:09 | skipper_is[m] | www.drupal.org/files/issues/2019-04-30/2 |
| 14:09 | skipper_is[m] | That one |
| 14:22 | skipper_is[m] | Seems to be working! |
| 14:27 | mstenta[m] | Great!! |
| 14:27 | mstenta[m] | Can you add a comment to that issue and close it if you think it's all set? |
| 16:38 | skipper_is[m] | Hmm, the issue cropped up again |
| 16:48 | mstenta[m] | Oh? |
| 16:48 | mstenta[m] | Same error? |
| 16:48 | mstenta[m] | Or something similar but different perhaps? |
| 17:06 | skipper_is[m] | Same error I think: |
| 17:06 | skipper_is[m] | PDOException: SQLSTATE[42803]: Grouping error: 7 ERROR: column "ss_log.timestamp" must appear in the GROUP BY clause or be used in an aggregate function LINE 1: SELECT ss_log.timestamp AS ss_logtimestamp, ss_log.id AS ss_... ^: SELECT ss_log.timestamp AS ss_logtimestamp, ss_log.id AS ss_logid, SUM(ss_fdffiv.field_farm_inventory_value_numerator / ss_fdffiv.field_farm_inventory_value_denominator) AS inventory FROM {log} |
| 17:06 | skipper_is[m] | ss_log INNER JOIN {field_data_field_farm_inventory} ss_fdffi ON ss_fdffi.entity_type = 'log' AND ss_fdffi.entity_id = ss_log.id AND ss_fdffi.deleted = 0 INNER JOIN {field_data_field_farm_inventory_asset} ss_fdffia ON ss_fdffia.entity_id = ss_fdffi.field_farm_inventory_value AND ss_fdffia.deleted = 0 INNER JOIN {field_data_field_farm_inventory_value} ss_fdffiv ON ss_fdffiv.entity_id = ss_fdffi.field_farm_inventory_value |
| 17:06 | skipper_is[m] | AND ss_fdffiv.deleted = 0 WHERE (ss_log.timestamp <= 1559233593) AND (ss_log.done = 1) AND (ss_fdffia.field_farm_inventory_asset_target_id = 1) ORDER BY ss_log.timestamp DESC, ss_log.id DESC LIMIT 1 OFFSET 0; Array ( ) in farm_inventory() (line 417 of /var/www/html/farmOSpost/profiles/farm/modules/farm/farm_inventory/farm_inventory.module). |
| 17:08 | skipper_is[m] | Am just going through verifying that I've got everything updated now |
| 18:53 | skipper_is[m] | Yea, seems to be ok, but I'll try a fresh install again, just to be sure |
| 19:28 | mstenta[m] | > seems to be ok |
| 19:28 | mstenta[m] | Do you mean it's fixed? |
| 19:55 | skipper_is[m] | So, complete fresh install. Fully updated, same error |
| 19:56 | skipper_is[m] | And weirdly 2 new ones I've not seen before |
| 19:56 | mstenta[m] | Did you re-patch? |
| 19:56 | skipper_is[m] | Warning: Invalid argument supplied for foreach() in views_handler_filter->prepare_filter_select_options() (line 1208 of /var/www/html/farmOSpost/profiles/farm/modules/contrib/views/handlers/views_handler_filter.inc). |
| 19:56 | skipper_is[m] | and |
| 19:56 | skipper_is[m] | Notice: Undefined variable: options in views_handler_filter_term_node_tid->value_form() (line 238 of /var/www/html/farmOSpost/profiles/farm/modules/contrib/views/modules/taxonomy/views_handler_filter_term_node_tid.inc). |
| 19:56 | skipper_is[m] | Yup |
| 19:57 | mstenta[m] | Oh are you using 7.x-1.x-dev? Or 7.x-1.1? |
| 19:57 | skipper_is[m] | dev |
| 19:57 | skipper_is[m] | I just cloned the git |
| 19:57 | skipper_is[m] | and drush make the build-farm.make |
| 19:57 | mstenta[m] | Ah ok |
| 19:58 | mstenta[m] | So the new ones... those may be caused by a recent update to the Views module |
| 19:59 | mstenta[m] | I updated it in farmOS when the new version was released, and then started seeing some notices like those too |
| 19:59 | mstenta[m] | I haven't investigated yet |
| 19:59 | mstenta[m] | I think they are harmless, because they are just notices - but it needs to be fixed upstream in the Views module, I believe... |
| 19:59 | skipper_is[m] | Yea, they're just at the top of the screen |
| 19:59 | mstenta[m] | Regarding the patch... if you ran drush make on the dev branch, then it would already be patched |
| 20:00 | skipper_is[m] | Everything still works, well, it doesnt, hence the main error |
| 20:00 | mstenta[m] | Did you also run a `patch` command? |
| 20:00 | mstenta[m] | (Drush downloads and applies the patch automatically) |
| 20:00 | mstenta[m] | I wonder if maybe you accidentally undid the patch? |
| 20:00 | mstenta[m] | Just guessing... :-) |
| 20:01 | skipper_is[m] | I did not, just did build-farm.make |
| 20:01 | skipper_is[m] | I can try and repatch |
| 20:01 | mstenta[m] | ok hmm. can you check to see if the patch was applied? |
| 20:02 | mstenta[m] | i think it would be listed in PATCHES.txt in the webroot |
| 20:03 | mstenta[m] | farmOS applies two core patches, if i remember correctly, so that file should show two |
| 20:03 | * | sent a long message: < matrix.org/_matrix/media/v1/download/mat > |
| 20:03 | mstenta[m] | Ok yea that's both of them |
| 20:04 | mstenta[m] | well i guess we could check to make sure the file is patched by looking at it |
| 20:04 | mstenta[m] | includes/database/pgsql/select.inc |
| 20:04 | mstenta[m] | do you see `public function orderBy` in that function? |
| 20:04 | mstenta[m] | you shouldn't |
| 20:05 | skipper_is[m] | No, just see one function, orderRandom |
| 20:05 | mstenta[m] | ok good |
| 20:06 | mstenta[m] | well, now i'm stumped |
| 20:08 | skipper_is[m] | Do you have a dependency list? Are there any others aside from what is in the install menu? |
| 20:22 | mstenta[m] | farmos.org/hosting/installing/ |
| 20:23 | mstenta[m] | Question: you did see the error go away the first time you applied the patch, correct? |
| 21:09 | * | JustTB1 has joined |
| 21:09 | * | JustTB has quit (Read error: Connection reset by peer) |
| 23:28 | * | JustTB1 has quit (Quit: Leaving.) |
| 23:30 | * | JustTB has joined |