[01:41:49] cstone: hmmm is your SiteAlias set in your wmf.localhost_32353.conf in config/civicrm/amp/apache.d ? [01:41:57] also back in about 20 minutes, gottawalk the dog [02:29:51] oho, I may have found a solution to the 'no api key exists before login' problem jgleeson was having [02:30:14] I think you can run a cvapi command as the admin user under drush and that will create the contact rectod [02:30:17] *record [02:58:20] ok, I'll add that as the last step of the wmff install script [03:05:24] (PS1) Ejegg: WMFF: sync all drupal users to contacts [wikimedia/fundraising/crm/civicrm-buildkit] - https://gerrit.wikimedia.org/r/684003 [03:06:17] lessee, we should be able to set that api key with a drush command too I bet [03:06:36] hah, or maybe not, would make sense to restrict it [03:09:23] ejegg: maybe with SQL directly tho! [03:12:05] oooh, we have the 'cv' util available to run apiv4 commands [03:12:11] yep, we totally can do it [03:12:44] lessee, quotes are a bit gnarly [03:19:23] ejegg: wanna add the new bug tag to ur patches? (https://gerrit.wikimedia.org/r/c/wikimedia/fundraising/dev/+/683995/ and https://gerrit.wikimedia.org/r/683994) https://phabricator.wikimedia.org/T281609 [03:19:55] gnarly quotes are the new curly braces? [03:20:31] hmmm no utf charactres for those [03:20:49] AndyRussG: what should it be set to its gone from the etherpad [03:22:47] cstone: https://www.mediawiki.org/wiki/Fundraising_tech/CiviProxy_Docker [03:22:56] cstone: what should what be set to? [03:23:12] the SiteAlias [03:23:30] cstone: ahhh right! yeah it should be wmff.civicrm [03:23:52] supposedly it would be set automatically by buildkit with the most recent version of that patch btw [03:23:55] (PS3) Ejegg: Delete drupal settings override [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/683995 (https://phabricator.wikimedia.org/T281609) [03:24:05] just gonna +2 it in a sec [03:24:11] (PS2) Ejegg: Restore fredge db, move drupal extra settings [wikimedia/fundraising/crm/civicrm-buildkit] - https://gerrit.wikimedia.org/r/683994 (https://phabricator.wikimedia.org/T281609) [03:24:12] hmm should i have destroyed and rebuilt everything? [03:24:16] because i didnt want to hah [03:24:17] AndyRussG: tagged! [03:24:20] but maybe i needed to [03:25:26] i guess i was thinking it was its own container but didn't think about the settings changes outside of that [03:25:39] cstone: maybe not everything? [03:25:51] so the file doesn't have the SiteAlias? [03:25:56] it doesnt [03:26:05] K I mean for now you can just add it manually [03:26:09] if u prefer [03:26:18] yeah I had just thought I had grabbed the latest [03:26:39] so would i need to redo just the buildkit part or does that mean all of civi [03:26:44] to recreate [03:26:48] hmmm right... so the SiteAlias does indeed only get added when u run buildkit [03:27:07] also you could try out ejegg new patches that create the fredge db ^ [03:27:12] thx ejegg btw! [03:27:17] yeah ! [03:27:34] sure thing! [03:32:14] (PS16) AndyRussG: Add CiviProxy setup [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/673094 (https://phabricator.wikimedia.org/T268683) (owner: Jgleeson) [03:34:18] (CR) AndyRussG: [C: +2] "@Jgleeson thanks so much for writing up the doc on mediawiki.org!! Just +2'ing to share more easily around the team. :) Thanks again also " [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/673094 (https://phabricator.wikimedia.org/T268683) (owner: Jgleeson) [03:34:31] (CR) AndyRussG: [V: +2 C: +2] Add CiviProxy setup [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/673094 (https://phabricator.wikimedia.org/T268683) (owner: Jgleeson) [03:35:55] if i grab the latest dev and the one fredge patch and then the buildkit patch is that all i need then? [03:36:40] cstone: hang I can just make sure stuff's rebased [03:38:07] cstone: ah seems no rebsasing needed... so yeah try https://gerrit.wikimedia.org/r/c/wikimedia/fundraising/dev/+/683995 [03:38:39] okie cool gona rebuild then [03:38:52] and put your buildkit src to this one https://gerrit.wikimedia.org/r/683994 [03:39:02] cstone: ^ [03:39:10] yep got that one [03:39:25] cstone: and also yeah sounds like a good time to reset the volumes (to start with a fresh DB slate) [03:41:23] ejegg: do you know what the "WMF_SOURCE_REVISION" is all about? [03:42:31] hmm got an error from not where i expected [03:42:46] ? [03:42:47] Wikimedia\Rdbms\DBConnectionError from line 1420 of /var/www/html/includes/libs/rdbms/loadbalancer/LoadBalancer.php: Cannot access the database: Unknown error (database) [03:42:47] when updating the payments text [03:43:19] cstone: you need to tell it to do the wiki setup steps? [03:43:40] either that or the database container is ded? [03:43:57] hmm ok i thought i just said no to code reclone lemme see [03:45:00] cstone: aaargh the wiki setup steps default to no, you're the third person to run into that [03:45:05] I should finally make a patch [03:45:38] hah ok what part should i say yes to then [03:48:34] cstone: after it says ""**** Payments: install.php, LocalSettings.php and update.php" [03:48:56] oh haha i se the backwards [03:48:57] ok [03:49:03] the two questions that appear then, Run install.php and set up LocalSettings.php? [03:49:25] and Run update.php? [03:49:31] and then the same for e-mail preferences center [03:49:31] yep yep got that now [03:49:35] :) [03:57:08] nope AndyRussG [03:57:13] re: WMF_SOURCE_REVISION [04:01:35] AndyRussG: argh, I think that 'trap' bit is stripping a level of quotes I need [04:01:51] if I put the command in a separate bash script it executes just fine [04:02:14] lemme put up a WIP and maybe you can figure out how to get the quotes to stick? [04:05:17] ejegg: cool yeah that'd be fantasmic thx! [04:05:23] I might have the site key figured out too btw [04:07:09] (PS1) Ejegg: WIP set admin API key [wikimedia/fundraising/dev] - https://gerrit.wikimedia.org/r/684006 (https://phabricator.wikimedia.org/T268683) [04:07:33] yah, it would be easy to do with SQL too, I guess [04:07:38] but ^^^ really should work [04:08:19] ok, signing off [04:09:26] ejegg|away: thanks much, cya, stay safe! [04:13:03] argh now I'm getting the DAO errors [04:13:06] Error: Class name must be a valid object or a string in Civi\Api4\Generic\DAOGetAction->_run() [04:13:13] im gona go soon too AndyRussG but oh hey [04:13:14] Error: Class name must be a valid object or a string in Civi\Api4\Generic\DAOGetAction->_run() (line 91 of /srv/civi-sites/wmff/civicrm/Civi/Api4/Generic/DAOGetAction.php). [04:13:15] haha [04:13:22] me too [04:13:36] aaargh [04:13:46] well at least it's the same on both local setups [04:14:02] last time I got that it got fixed by destroying the db [04:14:17] i thought i had destroyed the db this run but maybe late night yes no failing haha [04:15:05] it seemed to have something to do with switching between the logging and logging-less branches [04:15:16] because the logging configs are new entities in the db [04:15:23] yeah I'm sure I did destroy the db [04:15:41] maybe something about the version of the civicrm submodule? [04:16:37] yeah i just reran with deleting the db and got the same error [04:16:41] K I didn't have the civicrm submodule on master [04:17:55] ahhh okay [04:18:02] nope still didn't work [04:18:20] now running composer update manually on both wmff and wmff/civicrm [04:20:09] cstone ^ ah that seems to be working [04:20:15] surprising since I thought buildkit did all that [04:21:01] civibuildkit is surprisingly complex [04:21:11] one day we might want to try to simplify it a bit [04:21:59] for example, earlier looking at xdebug with e jegg, we saw that even after install, there's code that remains in the builtkit source tree that actually gets run on web request [04:22:04] not what I expected anyway [04:22:27] cstone: K yeah running composer install from inside the container on both those directories worked :) [04:22:40] okie nice [04:23:39] hmm i got a big angry error when trying in wmff but i think im done for tonight [04:24:32] oh lemme try again actually [04:24:58] cstone: btw I'm also not running all of setup again each time, but rather running civibuild create wmff inside the container [04:25:13] hah okay i was like how are you in the container [04:25:59] ah yeah useful script there for opening a bash shell in the drupal dir btw [04:26:49] oh no! same error now that I tried it again aaargh [04:26:57] haha i just always want to go there [04:27:49] yee [04:28:17] ok im gona head out [04:29:44] cstone: cya! thx! :) [04:29:57] have a good evening and weekend AndyRussG [04:30:08] thx same :) [04:35:09] (PS13) AndyRussG: E-mail pref ctr queue consumer using api [wikimedia/fundraising/crm] - https://gerrit.wikimedia.org/r/682349 (https://phabricator.wikimedia.org/T268511) (owner: Eileen) [14:27:20] Hello, I have problems with Extension:CentralNotice that I just installed on my wiki. Maybe it's easy to fix, but I don't really sure how. I created Campaign out of one banner and enabled it to every device and every language but it doesn't show anywhere. What did I missed when I enabled that campaign or I missed or did something wrong in my [14:27:20] LocalSettings? Someone have any ideas what is going on? [15:48:56] =( [17:05:13] lolzzz992: hi! if you can post here a link to your LocalSettings.php and also maybe some screenshots of your campaign and banner settings, I might be able to help. There are many possible causes of what you just described [17:06:13] lolzzz992: also apologies in advance, I will be at the computer intermittently today... I'll definitely see any messages you send here, but it may take me a little while to reply :) [17:35:52] All of what I just type here deleted because I accidently pressed up arrow. [17:35:52] I uploaded LocalSettings.php at Google Drive https://drive.google.com/drive/folders/1mXbKdIHNv4kLowy3c6TPR5MDsVVfLAem?usp=sharing [17:35:53] I will upload images now. [17:49:03] Ooops I didn't commented $wgCentralSelectedBannerDispatcher, never mind about this line, it should be commented. [17:58:49] In allocation it says it will 100% appear for everyone, but in fact I can't see banners. I really don't sure what I did wrong.