| [10:14:43] | <drastik-jw> | Where are the variables coming from that go to .drush/sys/provision/http/Provision/Config/Nginx/vhost.tpl.php ? |
| [10:14:57] | <drastik-jw> | Frequently having db_port empty |
| [10:15:21] | <drastik-jw> | For importing D6 sites into Aegir/BOA, can I just put a var $db_port in settings.php? |
| [10:47:48] | * Egyptian[Home] has joined #aegir |
| [11:18:19] | * Egyptian[Home] has quit (Ping timeout: 272 seconds) |
| [11:56:39] | * gusaus has quit (Quit: gusaus) |
| [12:02:41] | * realityloopAFK is now known as realityloop |
| [12:12:31] | * realityloop is now known as realityloopAFK |
| [12:30:46] | * btopro has joined #aegir |
| [12:35:46] | * iswilson has joined #aegir |
| [12:42:52] | * jerryitt has quit (Quit: Connection closed for inactivity) |
| [12:47:46] | * iswilson has quit (Quit: Leaving) |
| [12:48:41] | * johnstorey has joined #aegir |
| [13:04:02] | * fatguylaughing has joined #aegir |
| [13:04:10] | * realityloopAFK is now known as realityloop |
| [13:05:13] | * btopro has quit (Quit: Leaving.) |
| [13:11:51] | * johnstorey has quit (Quit: joining all red shirts in their final fate) |
| [13:13:44] | * realityloop is now known as realityloopAFK |
| [13:17:38] | * Egyptian[Home] has joined #aegir |
| [13:34:17] | * gusaus has joined #aegir |
| [13:43:21] | * p_stampy has quit (Ping timeout: 272 seconds) |
| [13:50:33] | * Egyptian[Home] has quit (Ping timeout: 272 seconds) |
| [13:58:02] | * gusaus has quit (Quit: gusaus) |
| [14:04:40] | * realityloopAFK is now known as realityloop |
| [14:14:46] | * realityloop is now known as realityloopAFK |
| [14:21:34] | * gusaus has joined #aegir |
| [14:38:23] | * nicholasalipaz has quit (Ping timeout: 258 seconds) |
| [14:42:31] | <omega8cc> | drastik-jw: try to patch drush with: https://gist.github.com/omega8cc/774a7561dd2e3b9b3257 |
| [14:42:31] | <hefring> | omega8cc: 3 days 12 hours ago <jonpugh> Tell omega8cc Thanks!! |
| [14:42:48] | <omega8cc> | :) |
| [14:58:22] | * beautifulmind has joined #aegir |
| [14:58:43] | <omega8cc> | hefring: tell drastik-jw: Drush should read db_port from server_localhost.alias.drushrc.php so if it works for D7 but sometimes fails for D6, it suggests a problem with Drush and not Provision, and this patch is a forced workaround https://gist.github.com/omega8cc/774a7561dd2e3b9b3257 — just remove that extra debugging which exposes complete site’s db credentials in the task log |
| [14:58:43] | <hefring> | omega8cc: I'll pass that on when drastik-jw is around. |
| [14:59:52] | * gusaus has quit (Quit: gusaus) |
| [15:05:39] | * realityloopAFK is now known as realityloop |
| [15:15:46] | * realityloop is now known as realityloopAFK |
| [15:28:29] | * mozodev has joined #aegir |
| [15:36:16] | * rokk has joined #aegir |
| [15:36:45] | <drastik-jw> | omega8cc: not working for D7 either, and localhost alias does have port # :( |
| [15:36:45] | <hefring> | drastik-jw: 38 min 2 sec ago <omega8cc> tell drastik-jw: Drush should read db_port from server_localhost.alias.drushrc.php so if it works for D7 but sometimes fails for D6, it suggests a problem with Drush and not Provision, and this patch is a forced workaround https://gist.github.com/omega8cc/774a7561dd2e3b9b3257 — just remove that extra debugging which exposes complete site’s db credentials in the task log |
| [15:37:02] | * rokk has quit (Client Quit) |
| [15:37:02] | <drastik-jw> | looking @ drush changes from that gist |
| [15:38:04] | <omega8cc> | I have never seen missing db_port in D7 site, only in some random D6 |
| [15:38:52] | <drastik-jw> | fresh BOA install, on new box as of this morning |
| [15:39:11] | <drastik-jw> | we were importing D6 & D7 sites in (from non-boa environment) |
| [15:39:14] | <omega8cc> | but site imported? |
| [15:39:23] | <omega8cc> | yeah |
| [15:39:34] | <drastik-jw> | Yeah, just couldn't restart nginx from syntax error |
| [15:39:46] | <omega8cc> | how do you import them? |
| [15:39:52] | <drastik-jw> | (and site dead until I add port of course) |
| [15:40:06] | <drastik-jw> | they were doing single stacks instead of multi so |
| [15:40:14] | <drastik-jw> | just dropped em in /data/disk/o1/static/PLATFORM and add via UI |
| [15:40:19] | <drastik-jw> | verify task finds the site, etc etc |
| [15:40:39] | <omega8cc> | it is not a correct method at all |
| [15:41:01] | <drastik-jw> | uh oh |
| [15:41:11] | <omega8cc> | you should really follow the docs |
| [15:42:28] | <omega8cc> | but even when you folow the docs i may happen randomly to D6 site, but typically the site must have sone issues which may break drush anyway |
| [15:42:47] | <drastik-jw> | wait.. it's exactly like this: https://omega8.cc/import-your-sites-to-aegir-in-8-easy-steps-109 |
| [15:42:51] | <drastik-jw> | what I did |
| [15:42:56] | <omega8cc> | ouch, so much typos |
| [15:43:26] | <drastik-jw> | I've done this with over 300 sites in the past few months alone |
| [15:43:34] | * p_stampy has joined #aegir |
| [15:43:38] | <omega8cc> | no, you wrote above something totally different |
| [15:43:50] | <drastik-jw> | well maybe I worded in a way that didn't sound the same |
| [15:43:54] | <drastik-jw> | but that link is what I did |
| [15:44:13] | <omega8cc> | you should start with blan site created and drop platform with sites to discover |
| [15:44:32] | <omega8cc> | ok, then it is weird |
| [15:45:36] | <omega8cc> | we have even added this stupid workaround: https://github.com/omega8cc/boa/commit/c8104aaf59e397944a6e27930360358c9... |
| [15:46:16] | <drastik-jw> | There are some little nuance differences to how I did it, I will see if it makes any difference |
| [15:46:40] | <drastik-jw> | I was curious if the params came from settings.php or something but if they are from server_localhost drush alias file they should be there :( |
| [15:47:07] | <omega8cc> | I guess there must be something related to internal site issues, because otherwise it would affect all sites |
| [15:47:59] | <omega8cc> | I would recommend to review db credentials and related varaiables in the site’s drushrc.php file |
| [15:48:08] | <omega8cc> | also those at the bottom of that file |
| [15:48:24] | <omega8cc> | and compare with not affected site |
| [15:48:37] | <drastik-jw> | What does the "db_port.*" in the s/ portion of sed do? |
| [15:49:20] | <omega8cc> | adds missing argument/port in all vhosts, to minimize downtime if this happens to any site you host |
| [15:50:28] | <omega8cc> | dirty workaround until we will find the real culprit |
| [15:52:13] | <omega8cc> | it just doesn’t make any sense why 1. this happens randomly, 2. affects D6 sites, 3. only this variable may got missing |
| [15:52:53] | <drastik-jw> | yeah I placed some drush print r's doing debug to watch what variables flew through during imports but |
| [15:53:01] | <drastik-jw> | db_port always absent when the others are there |
| [15:59:42] | <omega8cc> | hmm, function install_verify_settings() has this line: $db_port = isset($url['port']) ? urldecode($url['port']) : ''; |
| [16:00:09] | <omega8cc> | it should be $db_port = isset($url['port']) ? urldecode($url['port']) : ‘3306’; imho |
| [16:00:33] | <omega8cc> | otherwise it may erase the port value |
| [16:01:08] | <omega8cc> | just looking for db_port everywhere in Provision |
| [16:02:43] | <omega8cc> | also not that this weird line is present only in install_6.inc |
| [16:02:45] | <drastik-jw> | omega8cc: I was thinking the same thing on tha tline |
| [16:03:02] | <omega8cc> | which seems to confirm why this affects only d6 sites |
| [16:03:34] | <drastik-jw> | I almost made a patch for that line but I decided not to |
| [16:05:21] | <omega8cc> | https://github.com/omega8cc/provision/commit/61b175a59093f1465eaf5f2dbd4... |
| [16:05:31] | <drastik-jw> | Well, off for tonight. omega8cc: Thanks for the reply, I'll check in tomorrow |
| [16:05:41] | <omega8cc> | we will test this in boa first |
| [16:05:41] | <drastik-jw> | omega8cc: oh nice haha |
| [16:05:47] | <omega8cc> | ;) |
| [16:06:26] | <drastik-jw> | I will test that tomorrow too |
| [16:06:40] | * realityloopAFK is now known as realityloop |
| [16:16:45] | * realityloop is now known as realityloopAFK |
| [16:25:20] | <hefring> | Git => Make sure that db_port is never empty and defaults to 3306. => http://cgit.drupalcode.org/provision/commit/?id=45cf874d6c89f360fcd6cb31... |
| [16:41:15] | * nicholasalipaz has joined #aegir |
| [17:07:41] | * realityloopAFK is now known as realityloop |
| [17:17:49] | * realityloop is now known as realityloopAFK |
| [17:51:37] | * beautifulmind has quit (Ping timeout: 272 seconds) |
| [18:04:45] | * beautifulmind has joined #aegir |
| [18:08:46] | * realityloopAFK is now known as realityloop |
| [18:10:13] | * fatguylaughing has quit (Quit: fatguylaughing) |
| [18:19:09] | * realityloop is now known as realityloopAFK |
| [18:23:00] | * beautifulmind has quit (Quit: Leaving.) |
| [18:24:21] | * gusaus has joined #aegir |
| [18:30:09] | * mozodev has quit (Remote host closed the connection) |
| [18:30:39] | * mozodev has joined #aegir |
| [18:40:17] | * realityloopAFK is now known as realityloop |
| [19:08:35] | * mozodev has quit (Remote host closed the connection) |
| [19:10:30] | * mozodev has joined #aegir |
| [19:18:05] | * e-anima has joined #aegir |
| [19:24:09] | * omega8cc has quit (Quit: Cheers! It's Time for Offline Reality) |
| [19:40:13] | * nicholasalipaz has quit (Remote host closed the connection) |
| [19:41:13] | * nicholasalipaz has joined #aegir |
| [19:56:49] | * realityloop is now known as realityloopAFK |
| [20:13:00] | * gusaus has quit (Quit: gusaus) |
| [20:29:21] | * mozodev has quit (Remote host closed the connection) |
| [20:30:47] | * mozodev has joined #aegir |
| [20:45:59] | * Egyptian[Home] has joined #aegir |
| [20:58:37] | * realityloopAFK is now known as realityloop |
| [21:09:08] | * Egyptian[Home] has quit (Ping timeout: 260 seconds) |
| [21:17:33] | * nicholasalipaz has quit (Ping timeout: 260 seconds) |
| [21:53:59] | * realityloop is now known as realityloopAFK |
| [21:54:35] | * realityloopAFK is now known as realityloop |
| [22:16:32] | * realityloop is now known as realityloopAFK |
| [22:22:47] | * mozodev has quit () |
| [22:41:19] | * realityloopAFK is now known as realityloop |
| [23:23:16] | * realityloop is now known as realityloopAFK |
| [00:01:37] | * zz_cdracars is now known as cdracars |
| [00:01:47] | * Egyptian[Home] has joined #aegir |
| [00:03:30] | * fatguylaughing has joined #aegir |
| [00:05:22] | * realityloopAFK is now known as realityloop |
| [00:18:22] | * cdracars is now known as zz_cdracars |
| [00:33:15] | * jerryitt has joined #aegir |
| [01:07:59] | * realityloop is now known as realityloopAFK |
| [01:09:56] | * realityloopAFK is now known as realityloop |
| [01:12:39] | * Egyptian[Home] has quit (Ping timeout: 272 seconds) |
| [01:38:13] | * zz_cdracars is now known as cdracars |
| [01:53:54] | * realityloop is now known as realityloopAFK |
| [01:53:57] | * realityloopAFK is now known as realityloop |
| [03:56:19] | * fatguylaughing has quit (Read error: Connection reset by peer) |
| [03:56:39] | * fatguylaughing has joined #aegir |
| [04:28:14] | * realityloop is now known as realityloopAFK |
| [04:32:54] | * realityloopAFK is now known as realityloop |
| [04:33:49] | * cdracars is now known as zz_cdracars |
| [05:19:39] | * DecipheredAFK is now known as Deciphered |
| [05:31:59] | * realityloop is now known as realityloopAFK |
| [05:47:45] | * stijnvbrande has joined #aegir |
| [05:58:33] | * stijnvbrande has quit (Remote host closed the connection) |
| [05:58:54] | * daften has joined #aegir |
| [05:59:33] | * daften has left #aegir () |
| [06:26:53] | * gusaus has joined #aegir |
| [08:11:44] | * fatguylaughing has quit (Quit: fatguylaughing) |
| [08:14:47] | * Deciphered is now known as DecipheredAFK |
| [08:21:29] | * rokk has joined #aegir |
| [08:28:28] | * rokk has quit (Ping timeout: 258 seconds) |
| [09:14:22] | * realityloopAFK is now known as realityloop |
| [09:38:23] | * realityloop is now known as realityloopAFK |
| [09:43:36] | * Egyptian[Home] has joined #aegir |
| [10:17:24] | * fatguylaughing has joined #aegir |
| [10:17:24] | * fatguylaughing has quit (Client Quit) |