IRC logs for #aegir, 2014-02-14 (GMT)

2014-02-13
2014-02-15
TimeNickMessage
[11:00:48]* boshtian has quit (Quit: boshtian)
[11:10:58]* ivanjaros has quit (Quit: https://drupal.org/user/135190)
[11:16:36]* mreh has quit (Ping timeout: 252 seconds)
[11:27:49]* keke420 has quit (Remote host closed the connection)
[11:40:09]* Aciid has joined #aegir
[11:40:14]<Aciid>hey, does anyone have a problem with "The domain name xxx is already in use"
[11:41:07]<Aciid>or what could cause it
[11:47:59]* mrconnerton has quit (Ping timeout: 240 seconds)
[11:59:01]* gandhiano has quit (Ping timeout: 245 seconds)
[12:03:05]* mreh has joined #aegir
[12:03:11]<gboudrias>Aciid: It means the site name is already in use, either as a site name or an alias
[12:03:21]<gboudrias>Aciid: I assume you mean when you're adding a site
[12:03:38]<gboudrias>Sometimes it can be from sites that weren't properly deleted
[12:04:26]<Aciid>gboudrias: the thing is that it's not
[12:04:34]<Aciid>it's a bug that I'm having
[12:04:55]<gboudrias>Aciid: Can you be more specific
[12:05:02]<Aciid>sure uh hold on
[12:05:08]<gboudrias>Try drush sa and see if it's in there btw
[12:05:55]<gboudrias>I'm not sure where the function checks drush aliases but if hostmaster thinks it has the site, chances are it didn't delete the alias either
[12:06:08]<Aciid>drush sa output; @none @self mysite.com default
[12:06:45]<gboudrias>And I assume mysite.com isn't the one you're trying to create? Are we talking about the site node creation form or somewhere else?
[12:06:54]<Aciid>we're not talking about creating a site
[12:06:59]<Aciid>I'm updating a site's settings
[12:07:04]<Aciid>thats the weird occurance
[12:07:21]<gboudrias>Where? The edit form?
[12:07:23]<Aciid>yes
[12:07:35]<gboudrias>What version are you using?
[12:07:44]<gboudrias>(I've encountered that bug before I believe)
[12:07:52]* gusaus has quit (Quit: gusaus)
[12:08:50]<Aciid>takes a moment to find out I'm using BOA
[12:09:29]<gboudrias>Hmm, I'm not familiar with the specifics of BOA. Maybe try updating if possible (it's an old bug I think?)
[12:09:37]<gboudrias>Otherwise maybe someone else can chime in
[12:09:46]<gboudrias>Or you can open an issue in the BOA queue
[12:10:05]<gboudrias>(I really doubt you'd be the first one to experience this)
[12:10:35]<Aciid>yeah , it's so strange I dont have it in all my servers
[12:10:37]<Aciid>just this one server
[12:10:55]<Aciid>if I clear out the site alias's textbox
[12:10:59]<Aciid>it lets me update the settings
[12:11:19]<Aciid>after I've changed eg. backup settings , and the process has finished, I'll just copy paste the site aliases back
[12:11:33]<Aciid>sounds very much like it's iterating wrong
[12:11:39]<gboudrias>Sounds like it
[12:12:07]<gboudrias>If you open an issue, I would encourage you to open it with BOA first, they can kick it upstream if it's an Aegir core bug (which I doubt)
[12:18:48]<Aciid>yeah Ill see what I can do
[12:28:44]<Aciid>gboudrias: i think i know where this is also coming from
[12:28:56]<gboudrias>Aciid: ?
[12:28:59]<Aciid>I fiddled with the db earlier, to fix another unrelated problem
[12:29:11]<Aciid>so I think aegir is iterating me twice, as a customer or something
[12:29:19]<Aciid>I added the admin user to some silly relations
[12:29:45]<gboudrias>Well if you put that in the bug report they'll probably tell you not to fiddle with the DB :P
[12:29:53]<gboudrias>But that sounds plausible
[12:29:54]<Aciid>thats why im not writing a bug report
[12:30:02]<Aciid>I get shitposted everytime i do
[12:30:09]<Aciid>I once suggested something
[12:30:14]<Aciid>and it went straight to trash
[12:30:20]<Aciid>6months later its in the core
[12:31:49]<gboudrias>Ah well, there's only so much you can do
[12:34:00]<Aciid>gboudrias: yup I see myself as a client on the user edit
[12:34:01]<Aciid>lolll
[12:34:22]* Aciid slaps himself with a big norwegian fish
[12:34:51]<gboudrias>hmmm weird
[12:35:14]<Aciid>kids dont fiddle with the database
[12:37:57]<gboudrias>hahah
[12:41:32]<Aciid>ah wasnt that
[12:41:36]<Aciid>hmm
[12:43:54]<Aciid>need to step debug
[12:45:38]<Aciid>okey found
[12:45:41]<Aciid>some
[12:45:43]<Aciid>functions
[12:45:46]<Aciid>hosting_alias_allow_domain
[12:48:18]* gusaus has joined #aegir
[12:54:01]<ergonlogic>Aciid: there'a hook that allows different modules to validate domains
[12:54:13]<ergonlogic>so you'll want to find invocations of that
[12:55:41]<ergonlogic>http://api.aegirproject.org/api/aegir/hosting2%21hosting.api.php/functio...
[12:56:46]<Aciid>ergonlogic: yeah i'm in those now I found four one for cdn, one for api, one for site and one for alias
[12:57:02]<ergonlogic>the api one is just an example
[12:57:17]<Aciid>ergonlogic: can you verify that alias/hosting_alias.module is the one called when I edit a site's settings through the edit form?
[12:57:23]<ergonlogic>since clearing the alias field seems to remove the issue, you're probably on the right track
[12:57:42]<Aciid>seems like the site/hosting_site.module is one used on the create form
[12:57:46]* Juc1 has quit (Ping timeout: 245 seconds)
[12:58:02]<ergonlogic>it's a hook that's called, so all of them get a chance
[12:58:05]* e-anima has quit (Quit: reallife not found)
[12:58:09]<Aciid>oh yeah right :D
[12:58:16]<ergonlogic>any one can block it
[12:59:08]<ergonlogic>I'd suggest looking in the hosting_site_alias table for duplicate entries
[13:00:21]<ergonlogic>but it's certainly odd that it lets you add the alias back after...
[13:00:40]<ergonlogic>... if I read above correctly...
[13:00:46]<Aciid>no duplicates in hosting_site_alias, the nag is about the first alias always
[13:01:19]<Aciid>for example if I have 5 aliases, and remove them one by one from top down, the form will submit once they are all cleared but it will always iterate the whole list
[13:01:26]<Aciid>so once the alias list is clear it will submit
[13:01:37]<Aciid>and after the task is done I can re-add the alias's
[13:02:05]<Aciid>since this is BOA I'm reluctant to make a issue about this because I solely am responsible for my actions and this is so complicated that I dont want to waste anyones time
[13:03:02]* mreh has quit (Read error: Operation timed out)
[13:03:53]<Aciid>ergonlogic: what kind of expectations should I have about attaching xdebug in there and trying to catch it?
[13:04:46]<ergonlogic>I don't have much experience with it, really
[13:05:33]<Aciid>actually removing the return results from the functions should also work
[13:05:37]<Aciid>so I can see which one is catching
[13:05:40]<ergonlogic>Aciid: if there's a cdn invocation of that hook, it might be worth looking at too
[13:12:52]<Aciid>I just ran one of the queries it uses in the hooks and the result is correct
[13:12:57]<Aciid>returns 1
[13:13:01]<Aciid>so it's not that
[13:13:12]<Aciid>but maybe these comparisons
[13:15:13]<Aciid>hmm I think I could use Firephp or something so I wont break the damn thing
[13:15:42]<Aciid>actually log to file is safer
[13:25:34]* josh_k has quit (Remote host closed the connection)
[13:29:37]<Aciid>ergonlogic: I set it to send me emails about the results
[13:29:56]<Aciid>it runs the hook 4 times
[13:29:59]<ergonlogic>what are you trying to do exactly?
[13:30:00]<Aciid>.____.
[13:30:13]<ergonlogic>get debug data?
[13:30:23]<ergonlogic>there are easier ways
[13:30:25]<Aciid>oh
[13:30:44]<Aciid>please share
[13:30:53]<ergonlogic>these are in the drupal context, to dsm() should work
[13:31:36]<Aciid>but will I experience problems if I enable devel on aegir?
[13:31:44]<ergonlogic>no
[13:32:08]<Aciid>but yeah the weird thing is it ran the hook for alias 4 times
[13:32:09]<ergonlogic>well, I've never seen devel *cause* a problem
[13:32:17]<Aciid>first ran gave result 1
[13:32:27]<Aciid>3 last runs nothing
[13:32:41]<Aciid>site modules hook returned 1 in all 4 runs
[13:32:58]<Aciid>so I see that the problem is in the alias module hook
[13:33:14]<ergonlogic>well, it's checking for each alias, right?
[13:33:18]<Aciid>yeah
[13:33:20]<ergonlogic>and the site name
[13:33:24]<Aciid>yeah
[13:33:37]<ergonlogic>do these add up to 4?
[13:34:10]<Aciid>yes
[13:34:17]<Aciid>1 site domain the primary
[13:34:19]<Aciid>4 alias's
[13:34:30]<Aciid>but I still don't understand
[13:34:48]<ergonlogic>fyi, to debug drush components, I often drop drush_print_r() wherever I need, then run hosting-queued manually in a screen session
[13:35:17]<ergonlogic>or invoke the task directly with 'drush @hostmaster hosting-task <nid>'
[13:35:38]<ergonlogic>it's calling the hooks on each alias
[13:36:48]<Aciid>yeah, but it doesn't make sense why it's saying that it can't add it since it should "replace"
[13:36:51]<Aciid>or "skip"
[13:37:00]<Aciid>since I'm resubmitting the form
[13:38:14]* anarchat is now known as anarcat
[13:42:17]* mreh has joined #aegir
[13:59:29]* chertzog has quit (Remote host closed the connection)
[14:04:53]* chertzog has joined #aegir
[14:18:57]* fatguylaughing has quit (Quit: fatguylaughing)
[14:37:46]* mreh has quit (Ping timeout: 245 seconds)
[14:48:08]* dman_nz has quit (Quit: dman_nz)
[15:03:27]* josh_k has joined #aegir
[15:06:46]* keke420 has joined #aegir
[15:11:43]* rahulbile has joined #aegir
[15:36:00]* josh_k has quit (Remote host closed the connection)
[15:38:26]* mengi has joined #aegir
[15:43:52]* josh_k has joined #aegir
[15:59:01]* chertzog has quit (Remote host closed the connection)
[16:05:41]* benjaminkyta has joined #aegir
[16:08:25]* beautifulmind has joined #aegir
[16:11:13]* gusaus has quit (Quit: gusaus)
[16:19:12]* josh_k has quit (Remote host closed the connection)
[16:31:17]* josh_k has joined #aegir
[16:40:06]* gusaus has joined #aegir
[16:48:05]* dman_nz has joined #aegir
[16:50:18]* josh_k has quit ()
[16:58:36]* dman_nz has quit (Quit: dman_nz)
[17:16:32]* stijnvbrande has joined #aegir
[17:18:08]* boshtian has joined #aegir
[18:18:12]* beautifulmind has quit (Quit: Leaving.)
[18:35:26]* manarth|offline is now known as manarth
[18:46:19]* mnlund has joined #aegir
[18:53:00]* rteijeiro has joined #aegir
[19:02:43]* boshtian has quit (Ping timeout: 272 seconds)
[19:15:09]* boshtian has joined #aegir
[19:16:10]* gandhiano has joined #aegir
[19:27:13]* mengi has quit (Quit: Leaving)
[19:30:04]* boshtian has quit (Quit: boshtian)
[19:34:15]* boshtian has joined #aegir
[19:39:13]* mnlund has quit (Quit: Computer has gone to sleep.)
[19:40:42]* mnlund has joined #aegir
[19:55:18]* David_Hernandez has joined #aegir
[19:57:00]* stijnvbrande has quit (Remote host closed the connection)
[19:59:23]* mreh has joined #aegir
[20:02:11]* stijnvbrande has joined #aegir
[20:09:56]* stijnvbrande has quit (Remote host closed the connection)
[20:13:59]* stijnvbr_ has joined #aegir
[20:20:52]* Juc1 has joined #aegir
[20:31:31]* keke420 has quit (Remote host closed the connection)
[20:41:07]* dman_nz has joined #aegir
[20:44:02]* ivanjaros has joined #aegir
[20:52:37]* dman_nz has quit (Ping timeout: 248 seconds)
[20:54:24]* ivanjaros has quit (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
[21:03:12]* dman_nz has joined #aegir
[21:06:01]* beautifulmind has joined #aegir
[21:17:36]* e-anima has joined #aegir
[21:18:11]* rteijeiro has quit (Remote host closed the connection)
[21:58:03]* gusaus has quit (Quit: gusaus)
[22:01:56]* rteijeiro has joined #aegir
[22:07:15]* dman_nz has quit (Quit: dman_nz)
[22:28:13]* mnlund has quit (Quit: Computer has gone to sleep.)
[22:36:03]* benjaminkyta has quit (Read error: Connection reset by peer)
[22:37:23]* rahulbile1 has joined #aegir
[22:37:41]* rahulbile has quit (Ping timeout: 248 seconds)
[22:40:27]* mnlund has joined #aegir
[22:43:49]* stijnvbr_ has quit (Remote host closed the connection)
[22:46:20]* David_Hernandez is now known as David_Hdez|AFK
[23:03:44]* boshtian has quit (Ping timeout: 246 seconds)
[23:11:12]* stijnvbrande has joined #aegir
[23:23:22]* rahulbile has joined #aegir
[23:26:38]* rahulbile1 has quit (Ping timeout: 260 seconds)
[23:38:11]* boshtian has joined #aegir
[23:38:46]* mreh has quit (Ping timeout: 260 seconds)
[00:07:13]* David_Hdez|AFK is now known as David_Hernandez
[00:09:54]* gandhiano has quit (Ping timeout: 252 seconds)
[00:17:04]* ivanjaros has joined #aegir
[00:21:45]* dsnopek has joined #aegir
[00:29:11]* rahulbile has left #aegir ()
[00:31:14]* boshtian has quit (Quit: boshtian)
[00:50:23]* batfastad has joined #aegir
[00:50:25]* JeremyR has joined #aegir
[00:54:03]<batfastad>Hi everyone. Upgrading modules on a platform. Do you have to migrate a site to a new platform for the upgrades to be picked up? Or can you upgrade in-place... ie migrate but to the same platform, just rename the site or something?
[00:54:03]<hefring>batfastad: 1 week 5 hours ago <KW|W> tell batfastad Look at the last lines in your settings.php there you find that it reads the local.settings.php file. So it reads it after.
[00:54:51]* JeremyR has quit (Ping timeout: 245 seconds)
[01:06:41]* du5k has joined #aegir
[01:08:15]* batfastad has quit (Ping timeout: 252 seconds)
[01:08:33]* chertzog has joined #aegir
[01:20:06]* batfastad has joined #aegir
[01:20:24]* rteijeiro has quit (Remote host closed the connection)
[01:22:05]* zombiebeard has joined #aegir
[01:22:18]* beautifulmind has quit (Quit: Leaving.)
[01:25:03]* batfastad has quit (Quit: Leaving.)
[01:25:22]* batfastad has joined #aegir
[01:30:40]* zorki has joined #aegir
[01:38:31]* rteijeiro has joined #aegir
[01:43:54]<ergonlogic>batfastad: the best practice is not to change a platform once it's been created. So, create a new platform, with updated modules and migrates your sites to it.
[01:44:36]<ergonlogic>that said, if you change an existing platform with sites on it, you'll need to reverify the platform, so Aegir is aware of the changes, and run update.php on each of you sites
[01:44:58]<ergonlogic>the latter doesn't provide any rollback mechanism though
[01:45:11]<ergonlogic>including possibly causing restores to fail
[01:45:31]<batfastad>ergonlogic: great info, thanks
[01:45:33]<ergonlogic>also, the code will have changed under any and all sites installed on that platform
[01:45:57]<ergonlogic>so the sites will be running on new code without update.php until you run them all manually
[01:46:02]* fatguylaughing has joined #aegir
[01:46:33]<ergonlogic>fwiw, the plan is to release a best practices checklist for platform management and site upgrades in the coming weeks
[02:00:13]* stijnvbrande has quit (Remote host closed the connection)
[02:14:24]* mnlund has quit (Quit: Computer has gone to sleep.)
[02:26:04]* JeremyR has joined #aegir
[02:34:02]* zorki has quit (Quit: quit)
[02:55:16]* noecc has joined #aegir
[03:11:15]* stijnvbrande has joined #aegir
[03:15:46]* stijnvbrande has quit (Ping timeout: 260 seconds)
[03:39:49]* desus has joined #aegir
[03:47:54]* rahulbile has joined #aegir
[03:47:55]* rahulbile has quit (Client Quit)
[03:49:12]* rteijeiro has quit (Remote host closed the connection)
[03:57:35]* nicholasalipaz has quit (Ping timeout: 265 seconds)
[03:58:55]* josh_k has joined #aegir
[04:06:37]* batfastad has left #aegir ()
[04:15:06]* phizes has joined #aegir
[04:22:12]* nicholasalipaz has joined #aegir
[04:25:12]* mrconnerton has joined #aegir
[04:30:43]* phizes has quit (Ping timeout: 260 seconds)
[04:30:57]* dean is now known as dean|away
[04:32:30]* pph_ has joined #aegir
[04:33:20]* mreh has joined #aegir
[04:33:53]<pph_>Hi guys, I'd like to know if it's possible to import an existing drupal website into aegir and if yes what would be the simplest way to do it?
[04:36:55]* mreh has quit (Read error: No route to host)
[04:37:05]* mreh has joined #aegir
[04:38:31]<pph_>ah nvm I found some infos on google about that, I'll try it :)
[04:45:22]* stijnvbrande has joined #aegir
[04:46:00]* manarth is now known as manarth|offline
[04:56:15]* mreh has quit (Quit: Leaving.)
[04:56:33]* mreh has joined #aegir
[04:59:59]* j0nathan has quit (Read error: Connection reset by peer)
[05:00:05]* zombiebeard has quit (Quit: zombiebeard)
[05:00:24]* fatguylaughing has quit (Quit: fatguylaughing)
[05:09:57]* j0nathan has joined #aegir
[05:11:13]* dman_nz has joined #aegir
[05:14:27]* David_Hernandez has quit (Quit: Saliendo)
[05:20:36]* tlattimore|afk is now known as tlattimore
[05:33:07]* dob_ has joined #aegir
[05:37:47]* gusaus has joined #aegir
[05:39:37]* tlattimore is now known as tlattimore|afk
[05:40:21]* tlattimore|afk is now known as tlattimore
[05:51:55]* stijnvbrande has quit (Remote host closed the connection)
[06:06:59]* dman_nz has quit (Quit: dman_nz)
[06:09:18]* stijnvbrande has joined #aegir
[06:09:52]* stijnvbrande has quit (Remote host closed the connection)
[06:18:42]* du5k has quit (Quit: This computer has gone to sleep)
[06:31:06]* ivanjaros has quit (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org)
[06:33:05]* fatguylaughing has joined #aegir
[06:50:46]* zombiebeard has joined #aegir
[06:58:15]* phizes has joined #aegir
[06:58:23]* stijnvbrande has joined #aegir
[07:03:17]* dob__ has joined #aegir
[07:04:44]* du5k has joined #aegir
[07:05:59]* ivanjaros has joined #aegir
[07:06:26]* dob_ has quit (Ping timeout: 245 seconds)
[07:08:02]* dob__ has quit (Ping timeout: 264 seconds)
[07:10:34]<noecc>pph_: http://community.aegirproject.org/content/importing-single-site-manually
[07:11:31]* pph_ has quit (Remote host closed the connection)
[07:14:24]* dman_nz has joined #aegir
[07:41:46]* stijnvbrande has quit (Remote host closed the connection)
[08:00:59]* anarcat has quit (Remote host closed the connection)
[08:01:23]* dman_nz has quit (Quit: dman_nz)
[08:04:51]* anarcat has joined #aegir
[08:06:03]* du5k has quit (Quit: This computer has gone to sleep)
[08:07:37]* dman_nz has joined #aegir
[08:14:43]* dob_ has joined #aegir
[08:19:24]* dob_ has quit (Ping timeout: 252 seconds)
[08:22:57]* ivanjaros has quit (Read error: Connection reset by peer)
[08:23:13]* noecc has left #aegir ("pax")
[08:29:28]* pph_ has joined #aegir
[08:52:44]* stijnvbrande has joined #aegir
[08:56:53]* stijnvbrande has quit (Ping timeout: 248 seconds)
[08:57:34]* rteijeiro has joined #aegir
[09:01:52]* jerryitt has joined #aegir
[09:04:31]* dman_nz has quit (Quit: dman_nz)
[09:07:03]* chertzog has quit (Remote host closed the connection)
[09:09:08]* chertzog has joined #aegir
[09:09:59]* jerryitt has quit (Quit: Leaving.)
[09:17:38]* phizes has quit (Ping timeout: 246 seconds)
[09:18:44]* phizes has joined #aegir
[09:22:14]* mreh has quit (Read error: No route to host)
[09:22:31]* mreh has joined #aegir
[09:38:32]* JeremyR has quit (Quit: Leaving.)
[09:39:09]* dsnopek has left #aegir ()
[09:39:42]* phizes has quit (Ping timeout: 252 seconds)
[09:40:16]* phizes has joined #aegir
[09:48:26]* dman_nz has joined #aegir
[09:52:00]* rteijeiro has quit (Remote host closed the connection)
[10:06:47]* fatguylaughing has quit (Quit: fatguylaughing)
[10:06:58]* zombiebeard has quit (Quit: zombiebeard)
[10:14:30]* dman_nz has quit (Quit: dman_nz)
[10:16:41]* dman_nz has joined #aegir
[10:16:56]* mreh has quit (Read error: Connection reset by peer)
[10:17:05]* mreh has joined #aegir
[10:18:58]* gusaus has quit (Quit: gusaus)
[10:22:28]* dman_nz has quit (Quit: dman_nz)
[10:27:18]* gusaus has joined #aegir
[10:32:40]* dman_nz has joined #aegir
[10:58:21]* desus has quit (Ping timeout: 252 seconds)