IRC logs for #aegir, 2015-09-07 (GMT)

2015-09-06
2015-09-08
TimeNickMessage
[11:02:07]* iribarne has joined #aegir
[11:02:15]* iribarne has quit (Client Quit)
[12:08:17]* VeggieMeat_ has joined #aegir
[12:14:08]* zz_drakythe has joined #aegir
[12:15:26]* drakythe has quit (*.net *.split)
[12:15:29]* VeggieMeat has quit (*.net *.split)
[12:15:32]* zz_drakythe is now known as drakythe
[12:20:44]* Egyptian[Home] has quit (Quit: Leaving.)
[12:33:24]* pstampy has joined #aegir
[12:33:35]* liammcdermott_ has joined #aegir
[12:34:40]* DecipheredAFK has quit (Ping timeout: 272 seconds)
[12:34:41]* Einherjer has quit (Ping timeout: 272 seconds)
[12:34:41]* p_stampy has quit (Ping timeout: 272 seconds)
[12:34:41]* liammcdermott has quit (Ping timeout: 272 seconds)
[12:34:42]* cmoates has quit (Ping timeout: 272 seconds)
[12:34:42]* pstampy is now known as p_stampy
[12:34:42]* E1nherjer has joined #aegir
[12:34:45]* DecipherL has joined #aegir
[12:35:09]* cmoates has joined #aegir
[12:50:41]* cmoates_ has joined #aegir
[12:51:18]* E1nherjer is now known as Einherjer
[12:57:28]* cmoates has quit (*.net *.split)
[13:08:01]* cdracars has quit (Ping timeout: 265 seconds)
[13:08:30]* mstenta has quit (Ping timeout: 265 seconds)
[13:09:02]* mstenta has joined #aegir
[13:14:29]* hefring has joined #aegir
[13:16:37]* cdracars has joined #aegir
[14:15:03]* jerryitt has quit (Quit: Connection closed for inactivity)
[16:00:55]* David_Hernandez has joined #aegir
[17:02:45]* stijnvbrande has joined #aegir
[17:06:58]* boshtian has joined #aegir
[17:28:14]* gandhiano has joined #aegir
[17:43:26]* e-anima has joined #aegir
[17:59:39]* ratioweb has joined #aegir
[18:37:03]* sdrycroft has joined #aegir
[18:37:30]* gandhiano has quit (Ping timeout: 240 seconds)
[18:52:09]* gandhiano has joined #aegir
[19:10:52]* Yaazkal has quit (Remote host closed the connection)
[19:11:15]* gandhiano has quit (Ping timeout: 246 seconds)
[19:11:33]* Yaazkal has joined #aegir
[19:11:39]* gandhiano has joined #aegir
[21:53:04]* David_Hernandez has quit (Quit: :wq!)
[22:01:37]* Egyptian[Home] has joined #aegir
[22:31:41]* Yaazkal has quit ()
[23:07:27]* johnstorey has joined #aegir
[23:18:35]* Yaazkal has joined #aegir
[23:30:48]* vantage|work has joined #aegir
[23:44:24]* jerryitt has joined #aegir
[23:47:00]* johnstorey has quit (Ping timeout: 272 seconds)
[00:12:00]* johnstorey has joined #aegir
[00:24:20]* boshtian has quit (Quit: boshtian)
[00:57:56]* vantage|work has quit (Remote host closed the connection)
[01:02:59]* DecipherL has quit (Ping timeout: 256 seconds)
[01:03:43]* DecipheredAFK has joined #aegir
[01:08:42]* DecipheredAFK has quit (Ping timeout: 272 seconds)
[01:10:04]* DecipheredAFK has joined #aegir
[01:11:26]* realityloop has quit (Quit: ZNC - http://znc.in)
[01:15:13]* realityloop has joined #aegir
[01:19:07]* DecipheredAFK has quit (Quit: ZNC - http://znc.in)
[01:20:19]* DecipheredAFK has joined #aegir
[01:48:06]* stijnvbrande has quit (Quit: Connection closed for inactivity)
[02:30:11]* johnstorey has quit (Quit: Nodding off now.)
[02:42:11]* sdrycroft has quit (Quit: Leaving.)
[03:08:10]<hefring>Git => Issue #2562467: Adding mention of d() to the documentation blocks for the "config alter" hooks. => http://cgit.drupalcode.org/provision/commit/?id=f36d2c5bc0f8ec87859a6295...
[03:55:04]* jerryitt has quit (Quit: Connection closed for inactivity)
[04:18:08]* boshtian has joined #aegir
[04:32:48]* ratioweb has quit (Ping timeout: 264 seconds)
[05:46:53]* stemount has quit (Quit: Connection closed for inactivity)
[05:49:15]* shahzadanwar has joined #aegir
[05:49:35]<shahzadanwar>Hi guys
[05:50:22]<shahzadanwar>Drush is not working. it gives this error
[05:50:23]<shahzadanwar>PHP Fatal error: Call to a member function get_services() on a non-object in /usr/share/drush/commands/provision/Provision/Context.php on line 298
[05:52:20]<formatC_vt>is it work before?
[05:52:46]<shahzadanwar>Yes
[05:53:21]<shahzadanwar>I deleted a platform from aegir hostmaster site and during platform delteion this error occured
[05:53:59]<shahzadanwar>After that i logged into the server via ssh and that platform was deleted in platform dir
[05:54:23]<shahzadanwar>Then i tried to download fresh drupal core and above error occurs
[05:54:29]<shahzadanwar>drush dl drupal
[05:54:53]<shahzadanwar>I also tried only drush command and it didn’t work either
[05:59:16]<shahzadanwar>Just found out that drush command works on root user
[06:00:15]<shahzadanwar>But it won’t work on aegir user
[06:15:56]* gandhiano has quit (Ping timeout: 244 seconds)
[06:22:22]<shahzadanwar>My Drush Version : 6.6.0
[06:23:30]<formatC_vt>i think 'drush dl drupal' not a good idea under aegir =)
[06:25:59]<shahzadanwar>ok
[06:26:16]<shahzadanwar>overall drush is not working
[06:26:31]<shahzadanwar>Aegir
[06:27:00]<shahzadanwar>I think almost every thing in aegir is done by drush commands
[06:28:59]<shahzadanwar>I am stuck here. I cannot do anything.
[06:29:21]<shahzadanwar>On root which drush return “/usr/local/bin/drush”
[06:30:13]<shahzadanwar>On Aegir User which drush returns “/var/aegir/.composer/vendor/bin/drush”
[06:30:20]<shahzadanwar>Just sharing if it helps
[06:31:44]* gandhiano has joined #aegir
[06:35:01]<formatC_vt>yes, done by drush with commands like 'drush @hostmaster hosting-task bla-bla-bla'
[06:35:04]* ivanjaros has joined #aegir
[06:35:27]<formatC_vt>or drush @hostmaster @platform_NAME bla-bla-bla
[06:36:40]<formatC_vt>you should use drush commands provided by aegir
[06:39:22]<shahzadanwar>Ohh, so i alwys have to provide the @hostmaster
[06:39:42]<shahzadanwar>that’s why it was giving the non object error
[06:40:01]<shahzadanwar>I didn’t know that. Nice. This is new information
[06:41:41]<shahzadanwar>Great. Thanks
[06:43:05]<formatC_vt>you are welcome =)
[06:45:15]* gandhiano has quit (Ping timeout: 256 seconds)
[06:58:36]* shahzadanwar has quit (Ping timeout: 264 seconds)
[06:58:40]* gandhiano has joined #aegir
[07:30:45]* ivanjaros has quit (Quit: https://drupal.org/user/135190)
[07:37:04]* ivanjaros has joined #aegir
[07:38:54]* ivanjaros has quit (Client Quit)
[07:39:40]* Yaazkal has quit ()
[07:52:56]* shahzadanwar has joined #aegir
[07:55:16]<shahzadanwar>formatC_vt: that drush issue is still not fixed yet. Does the platform directory hase to have the ownership of aegir user ?
[07:56:25]* jerryitt has joined #aegir
[07:56:36]<shahzadanwar>I downloaded a new drupal core with root user , like you suggested by not using aegir user. I downloaded it with root user.
[07:56:58]<shahzadanwar>then is went to add a new platform and that drush command error occurs.
[07:57:48]<shahzadanwar>Drush command terminated abnormally due to an unrecoverable error. Error: Call to a member function get_services() on a non-object in /usr/share/drush/commands/provision/Provision/Context.php, line 298
[07:57:48]<formatC_vt>yes ownership for platforms directory aegir user
[07:58:01]<shahzadanwar>ok. Let me try again
[07:58:30]<shahzadanwar>Does this error has to anything with that permissions or i am just assuming it could be the problem
[07:58:41]<shahzadanwar>Nop
[07:58:46]<shahzadanwar>Error still ther
[07:58:49]<shahzadanwar>*There
[07:59:33]<shahzadanwar>Above error occurs after this notice message in console
[07:59:34]<shahzadanwar>Loading apache driver for the http service [0.62 sec, 7.23 MB]
[07:59:41]<shahzadanwar>Drush command terminated abnormally due to an unrecoverable error.
[07:59:45]<shahzadanwar>Error: Call to a member function get_services() on a non-object in /usr/share/drush/commands/provision/Provision/Context.php, line 298 [0.62 sec, 22.4 MB]
[07:59:45]<shahzadanwar>PHP Fatal error: Call to a member function get_services() on a non-object in /usr/share/drush/commands/provision/Provision/Context.php on line 298
[08:00:24]<shahzadanwar>Fatal error: Call to a member function get_services() on a non-object in /usr/share/drush/commands/provision/Provision/Context.php on line 298
[08:00:25]<shahzadanwar>The external command could not be executed due to an application error. [0.63 sec, 22.38 MB] [error]
[08:00:26]<shahzadanwar>Backend invoke: /usr/bin/php /var/aegir/.composer/vendor/drush/drush/drush.php --php=/usr/bin/php --backend=2 --verbose --debug provision-verify 2>&1 [0.63 sec, 22.37 MB] [command]
[08:00:50]<shahzadanwar>I think it is http service problem
[08:01:24]<shahzadanwar>What do you think?
[08:01:43]<shahzadanwar>I need to to solve this, as i cannot do anything.
[08:02:06]<formatC_vt>you should install core with aegir drush commands, not directly
[08:05:34]<shahzadanwar>I am installing it via GUI
[08:05:46]<shahzadanwar>i am just placing the core filed in platform folder
[08:06:10]<shahzadanwar>and then i go to /node/add/platform
[08:06:21]<shahzadanwar>And specify my path there.
[08:07:45]<shahzadanwar>but verify task fails by giving me that error
[08:17:00]<shahzadanwar>The command which gives this error is php /var/aegir/.composer/vendor/drush/drush/drush.php --backend=2 provision-verify 2>&1
[08:17:15]<shahzadanwar>i executed this command and below is the result
[08:17:30]<shahzadanwar>php /var/aegir/.composer/vendor/drush/drush/drush.php --backend=2 provision-verify 2>&1
[08:17:31]<shahzadanwar>DRUSH_BACKEND:{"type":"bootstrap","message":"Bootstrap to phase 0.","timestamp":1441664139.217,"memory":7381304,"error":null,"packet":"log"}
[08:17:32]<shahzadanwar>DRUSH_BACKEND:{"type":"bootstrap","message":"Bootstrap to phase 0.","timestamp":1441664139.2184,"memory":7386952,"error":null,"packet":"log"}
[08:17:34]<shahzadanwar>DRUSH_BACKEND:{"type":"bootstrap","message":"Found command: provision-verify (commandfile=provision)","timestamp":1441664139.219,"memory":7388264,"error":null,"packet":"log"}
[08:17:35]<shahzadanwar>DRUSH_BACKEND:{"type":"bootstrap","message":"Bootstrap to phase 0.","timestamp":1441664139.2191,"memory":7389632,"error":null,"packet":"log"}
[08:17:37]<shahzadanwar>DRUSH_BACKEND:{"type":"notice","message":"Loaded alias @server_master from file \/var\/aegir\/.drush\/server_master.alias.drushrc.php","timestamp":1441664139.2233,"memory":7415000,"error":null,"packet":"log"}
[08:17:38]<shahzadanwar>DRUSH_BACKEND:{"type":"notice","message":"Driver type not specified for the db service, provide it with --db_service_type","timestamp":1441664139.2238,"memory":7419864,"error":null,"packet":"log"}
[08:17:40]<shahzadanwar>DRUSH_BACKEND:{"type":"notice","message":"Loading apache driver for the http service","timestamp":1441664139.2245,"memory":7509008,"error":null,"packet":"log"}
[08:17:41]<shahzadanwar>PHP Fatal error: Call to a member function get_services() on a non-object in /usr/share/drush/commands/provision/Provision/Context.php on line 298
[08:17:42]<shahzadanwar>Fatal error: Call to a member function get_services() on a non-object in /usr/share/drush/commands/provision/Provision/Context.php on line 298
[08:17:43]<shahzadanwar>DRUSH_BACKEND:{"error":"DRUSH_NOT_COMPLETED","message":"Drush command terminated abnormally due to an unrecoverable error.\nError: Call to a member function get_services() on a non-object in \/usr\/share\/drush\/commands\/provision\/Provision\/Context.php, line 298","packet":"set_error"}
[08:30:39]<shahzadanwar>This code is causing that error
[08:30:44]<shahzadanwar> * Return the merged list of services and the associated servers supplying them.
[08:30:46]<shahzadanwar> *
[08:30:47]<shahzadanwar> * This function will check with the parent_key to retrieve any service subscription
[08:30:49]<shahzadanwar> * it may have, and will add any additional subscriptions.
[08:30:50]<shahzadanwar> *
[08:30:52]<shahzadanwar> * Once the call chain reaches the @server_master object, it will provide the fallbacks
[08:30:53]<shahzadanwar> * if no subscriptions were available.
[08:30:55]<shahzadanwar> */
[08:30:56]<shahzadanwar> function get_services() {
[08:30:58]<shahzadanwar> $services = array();
[08:30:59]<shahzadanwar> if (!is_null($this->parent_key)) {
[08:31:01]<shahzadanwar> $services = $this->{$this->parent_key}->get_services();
[08:31:02]<shahzadanwar> }
[08:31:04]<shahzadanwar> if (sizeof($this->service_subs)) {
[08:31:05]<shahzadanwar> foreach ($this->service_subs as $service => $server) {
[08:31:07]<shahzadanwar> $services[$service] = $server;
[08:31:08]<shahzadanwar> }
[08:31:10]<shahzadanwar> }
[08:31:11]<shahzadanwar> return $services;
[08:31:12]<shahzadanwar> }
[08:31:13]<shahzadanwar>if i comment out the line $services = $this->{$this->parent_key}->get_services();
[08:31:14]<shahzadanwar>everything works good
[08:31:18]<shahzadanwar>Drush also works good
[08:31:32]<shahzadanwar>But i need to know what does this line do
[08:32:00]* e-anima has quit (Read error: Connection reset by peer)
[08:51:03]* gandhiano has quit (Ping timeout: 256 seconds)
[09:02:23]* formatC_vt has quit (Ping timeout: 256 seconds)
[09:02:46]* formatC_vt has joined #aegir
[09:02:46]* formatC_vt has quit (Changing host)
[09:02:46]* formatC_vt has joined #aegir
[09:10:21]* DecipheredAFK has quit (Quit: ZNC - http://znc.in)
[09:12:40]* anarcat has joined #aegir
[09:14:46]* DecipheredAFK has joined #aegir
[09:17:15]* DecipheredAFK is now known as Deciphered
[09:17:15]* Deciphered has quit (Changing host)
[09:17:16]* Deciphered has joined #aegir
[09:37:35]* Yaazkal has joined #aegir