IRC logs for #aegir, 2016-08-31 (GMT)

2016-08-30
2016-09-01
TimeNickMessage
[10:23:10]* theMusician has quit (Quit: theMusician)
[10:34:02]* tommycox has joined #aegir
[10:39:03]* tommycox has quit (Ping timeout: 276 seconds)
[11:37:55]* jerryitt has quit (Quit: Connection closed for inactivity)
[11:57:33]* tommycox has joined #aegir
[12:48:13]* tommycox has quit (Remote host closed the connection)
[13:10:00]* tommycox has joined #aegir
[13:19:55]* tommycox has quit (Remote host closed the connection)
[13:20:20]* tommycox has joined #aegir
[13:33:43]* tommycox has quit (Remote host closed the connection)
[13:41:21]* gusaus has quit (Quit: gusaus)
[16:00:32]* tommycox has joined #aegir
[16:16:57]* boshtian has joined #aegir
[16:38:23]* tommycox has quit (Remote host closed the connection)
[16:50:35]* tommycox has joined #aegir
[17:06:35]* realityloop has joined #aegir
[17:51:24]* stijnvbrande has joined #aegir
[17:57:38]* tommycox has quit (Remote host closed the connection)
[17:58:53]* NWOM has joined #aegir
[18:01:39]* tommycox has joined #aegir
[18:03:22]<NWOM>Hello. I just updated to 7.x-3.7 from 7.x-3.6 on two servers. Both servers use the same SNI wildcard certificate, however are hosting different domains on each server. One server is using apache, and the other server is using nginx. On the server with nginx, I noticed that nginx fails to start due to the key and crt supposedly mismatching. I checked to see if the modulus and public exponent matches, and they do. My only theory is that
[18:03:22]<NWOM>the files under /config/server_master/nginx/vhost.d/ have changed in regards to SSL.
[18:03:50]<NWOM>Any help would be greatly appreciated. Oh I updated using apt-get on Ubuntu 14.04
[18:07:25]<NWOM>The following error message is shown when performing "sudo nginx -t": nginx: [emerg] SSL_CTX_use_PrivateKey_file("/var/aegir/config/server_master/ssl.d/SITE/openssl.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
[18:20:13]* tommycox has quit (Remote host closed the connection)
[18:27:17]* realityloop has quit (Quit: Leaving...)
[18:44:50]* tommycox has joined #aegir
[18:45:56]<NWOM>I figured it out. It appears that I never restarted nginx for a few months and hadn't created the openssl_chain.crt correctly. I didn't realize that apache and nginx expect different files, and for whatever reason it worked without problems. I followed the following guide when creating the bundle.crt (openssl_chain.crt): https://www.digicert.com/ssl-certificate-installation-nginx.htm
[18:46:35]<NWOM>So it had nothing to do with the update, and more to do with the fact that I restarted the server around the same time. :P
[19:00:16]* NWOM has left #aegir ("Verlassend")
[19:19:36]* boshtian has left #aegir ()
[19:30:42]* ybabel has joined #aegir
[19:56:45]* tommycox has quit (Remote host closed the connection)
[20:03:10]* tommycox has joined #aegir
[20:06:28]* tommycox has quit (Read error: No route to host)
[20:06:40]* tommycox has joined #aegir
[21:22:43]* tommycox has quit (Remote host closed the connection)
[21:22:57]* tommycox has joined #aegir
[21:39:00]* tommycox has quit (Remote host closed the connection)
[21:41:43]* tommycox has joined #aegir
[21:55:27]* tommycox has quit (Remote host closed the connection)
[22:02:52]* tommycox has joined #aegir
[22:05:51]* tommycox has quit (Remote host closed the connection)
[22:07:11]* tommycox has joined #aegir
[22:11:46]* stijnvbrande has quit (Ping timeout: 258 seconds)
[22:17:32]* stijnvbrande has joined #aegir
[22:25:36]* tommycox has quit (Remote host closed the connection)
[23:27:27]* ergonlog1c has joined #aegir
[23:30:42]* ergonlogic has quit (Ping timeout: 244 seconds)
[23:45:09]* jerryitt has joined #aegir
[00:56:34]* theMusician has joined #aegir
[01:25:01]* theMusician has quit (Quit: theMusician)
[01:26:06]* tommycox has joined #aegir
[01:30:14]* tommycox has quit (Ping timeout: 244 seconds)
[01:57:17]* theMusician has joined #aegir
[02:16:01]* shaneonabike1 has joined #aegir
[03:04:47]* ybabel has quit (Ping timeout: 250 seconds)
[03:13:32]* tommycox has joined #aegir
[03:14:59]* tommycox has quit (Remote host closed the connection)
[03:28:14]* theMusician has quit (Quit: theMusician)
[03:33:31]* tommycox has joined #aegir
[03:40:32]* theMusician has joined #aegir
[03:48:23]* tommycox has quit (Remote host closed the connection)
[03:48:32]* shaneonabike1 has quit (Remote host closed the connection)
[03:49:42]* tommycox has joined #aegir
[03:51:44]* tommycox has quit (Remote host closed the connection)
[03:51:55]* tommycox has joined #aegir
[04:07:42]* stijnvbrande has quit (Ping timeout: 265 seconds)
[04:09:25]* tommycox has quit (Remote host closed the connection)
[04:13:48]* stijnvbrande has joined #aegir
[04:17:22]* tommycox has joined #aegir
[04:20:09]* tommycox has quit (Remote host closed the connection)
[04:21:06]* tommycox has joined #aegir
[04:23:48]* tommycox has quit (Remote host closed the connection)
[04:45:46]<ergonlog1c>bgm: I hope you don't mind, but I went ahead and committed a fix to https://www.drupal.org/node/2738069
[04:45:47]<hefring>https://www.drupal.org/node/2738069 => False positive warnings on all migrations [#2738069] => 2 comments, 1 IRC mention
[04:56:44]* stijnvbrande has quit (Quit: Connection closed for inactivity)
[05:06:58]* theMusician has quit (Quit: theMusician)
[05:17:07]* ybabel has joined #aegir
[05:27:48]* ahillio has joined #aegir
[05:36:36]* boshtian has joined #aegir
[05:42:05]* shaneonabike1 has joined #aegir
[05:52:53]<ergonlog1c>bgm: any idea why the files/civicrm/upload dir would get deleted on a verify?
[06:02:37]* SuppahSeb has joined #aegir
[06:03:59]* shaneonabike1 has quit (Remote host closed the connection)
[06:07:34]<SuppahSeb>hello
[06:07:36]<SuppahSeb>is anyone here?
[06:07:53]<ergonlog1c>sure, what's up?
[06:08:36]<SuppahSeb>hi
[06:08:52]<SuppahSeb>we have some problems with verifying new hostmaster
[06:09:04]<SuppahSeb>everytime we run verify it fails..
[06:09:25]<SuppahSeb>it cannot restart apache and it messes up our configs for virtual hosts
[06:09:26]<ergonlog1c>can you pastebin the task log?
[06:09:33]<SuppahSeb>so we have to manually edit them
[06:09:37]<SuppahSeb>sure, just a sec
[06:10:38]<SuppahSeb>http://pastebin.com/6Hx9mt6j
[06:10:43]<SuppahSeb>here is where it fails
[06:10:58]<SuppahSeb>and it rewrites this file platform_hostmaster7x37.conf
[06:11:17]<SuppahSeb>does it have something to do with fact that we upgraded from apache 2.2 to 2.4
[06:12:05]<SuppahSeb>and it requires " Require all denied" instead of Order deny,allow Deny from all
[06:14:09]* bgm has quit (Ping timeout: 250 seconds)
[06:23:10]<SuppahSeb>we're running aegir 3.7 on drupal 6.37
[06:23:14]<SuppahSeb>could this be the problem?
[06:23:33]<ergonlog1c>well, yes, that'd be a problem
[06:23:49]<ergonlog1c>Aegir 3 runs on Drupal 7
[06:24:59]<SuppahSeb>huh, we are affraid to upgrade drupal do 7.50 for aegir... because it was initially configured by previous team in company and we don't know which files were edited... is upgrading from 6.37 to 7.50 safe?
[06:26:05]<SuppahSeb>is configuration copied to new version when upgrading?
[06:26:44]<ergonlog1c>well, it's usually upgraded in-place
[06:28:46]<SuppahSeb>what does that mean?
[06:29:08]<ergonlog1c>the same site db and files are migrated to the new platform
[06:29:30]<SuppahSeb>oh, so there shouldn't be any problems?
[06:29:47]<ergonlog1c>any custom hooks in /var/aegir/.drush/ should remain
[06:30:19]<ergonlog1c>it's always possible, especially with unknown config/customizations
[06:30:27]<ergonlog1c>and moving from D6 to D7
[06:30:58]<SuppahSeb>so we should run this drush @hostmaster pm-updatecode drupal
[06:31:02]<ergonlog1c>like, some Aegir 2 contrib won't work with Aegir 3
[06:31:07]<ergonlog1c>no
[06:31:28]<ergonlog1c>you should follow the documented upgrade procedures
[06:31:45]<ergonlog1c>I take it that you Aegir isn't installed from the .debs?
[06:32:15]<ergonlog1c>http://pastebin.com/6Hx9mt6j
[06:32:18]<ergonlog1c>ugh
[06:32:21]<ergonlog1c>http://docs.aegirproject.org/en/3.x/install/upgrade/
[06:32:58]<SuppahSeb>it is
[06:33:01]<SuppahSeb>we used this command apt-get install aegir3
[06:33:15]<SuppahSeb>but we supposed it should also update drupal core
[06:33:16]<ergonlog1c>then how did you end up on Drupal 6.37?
[06:33:17]<SuppahSeb>but it didnt
[06:33:23]<SuppahSeb>don't know
[06:33:52]<SuppahSeb>we had 2.5 with core 6.37 updated two days ago
[06:34:10]<SuppahSeb>and today we ran this to update to 7.x-3.7
[06:34:14]<ergonlog1c>does apt-get throw any errors?
[06:34:34]<SuppahSeb>no error, just warrnings similar to this
[06:34:41]<SuppahSeb>from pastebin
[06:35:11]<ergonlog1c>so that pastebin is from the apt-get install?
[06:35:36]<SuppahSeb>no, that one if from verifying the platform
[06:35:51]<ergonlog1c>from the front-end?
[06:35:57]<SuppahSeb>but the notice is the same as the ones that were thrown in apt-get install
[06:35:58]<SuppahSeb>yes
[06:36:19]<ergonlog1c>so, your site is still on Aegir2?
[06:37:04]<SuppahSeb>no, it's running aegir 3.7 (so i presume as we were able to install drupal 8.1.8 and deploy the new site on it)
[06:37:08]<SuppahSeb>but the core is 6.37
[06:39:00]<ergonlog1c>do you mean Provision 3.7?
[06:39:21]<ergonlog1c>I'm pretty sure the 3.x front-end shouldn't work at all on a D6 core
[06:40:05]<SuppahSeb>sorry, yes
[06:40:08]<SuppahSeb>provision 3.7
[06:40:18]<ergonlog1c>what happens if you run `apt-get install aegir3` again?
[06:40:33]<SuppahSeb>let me try
[06:40:36]<SuppahSeb>just a sec
[06:42:40]<SuppahSeb>http://pastebin.com/qBSg91yi
[06:44:46]<ergonlog1c>ok, try `apt-get install aegir3-hostmaster
[06:45:40]<ergonlog1c>did you follow the upgrade instructions: http://docs.aegirproject.org/en/3.x/install/upgrade/#major-upgrade-from-...
[06:45:46]<SuppahSeb>Aegir frontend (@hostmaster) site detected in /var/aegir/hostmaster-7.x-3.7 it seems to be the same version as the one we're trying to install, not upgrading
[06:45:50]<SuppahSeb>yes we did
[06:46:18]<ergonlog1c>what's the output of `drush @hostmaster status`?
[06:47:56]* jerryitt has quit (Quit: Connection closed for inactivity)
[06:48:02]<ergonlog1c>then try: env DPKG_DEBUG=developer sudo apt-get install aegir3-hostmaster
[06:48:15]<SuppahSeb>http://pastebin.com/nT2jJfPq
[06:49:04]<SuppahSeb>env DPKG_DEBUG=developer sudo apt-get install aegir3-hostmaster gives me the same.. "not upgrading" as before
[06:52:48]<ergonlog1c>can you verify the core version in /var/aegir/hostmaster-7.x-3.7?
[06:53:12]* zombiebeard has joined #aegir
[06:53:20]* zombiebeard has quit (Client Quit)
[06:54:02]<SuppahSeb>how can i do that?
[06:54:51]<SuppahSeb>drush @mig3.test.dev provision-verify ?
[06:55:33]<ergonlog1c>check /var/aegir/hostmaster-7.x-3.7/CHANGELOG.txt
[06:56:40]<SuppahSeb>last one is Drupal 6.37, 2015-08-19
[06:57:26]<ergonlog1c>try: debconf-get-selections | grep aegir/makefile
[06:58:11]<SuppahSeb>"The program 'debconf-get-selections' is currently not installed."
[06:58:26]<ergonlog1c>apt install debconf-utils
[06:58:45]<SuppahSeb>can i do this on ubuntu server?
[06:58:51]<ergonlog1c>yes
[07:00:51]<SuppahSeb>ok, i ran debconf-get-selections | grep aegir/makefile
[07:01:10]<SuppahSeb>aegir2-hostmaster aegir/makefile string aegir3-hostmaster aegir/makefile string aegir@dev:~$ sudo debconf-get-selections | grep aegir/makefile aegir2-hostmaster aegir/makefile string aegir3-hostmaster aegir/makefile string
[07:03:30]<ergonlog1c>hmm
[07:05:40]<ergonlog1c>it looks like a custom makefile was used
[07:05:46]<ergonlog1c>that's all I can figure
[07:06:47]<ergonlog1c>echo PURGE | debconf-communicate aegir3-hostmaster
[07:07:39]<SuppahSeb>permission denied, even with sudo
[07:08:24]* tommycox has joined #aegir
[07:08:26]<ergonlog1c>run that as root:
[07:08:31]<ergonlog1c>sudo -s
[07:08:45]<ergonlog1c>or: echo PURGE | sudo debconf-communicate aegir3-hostmaster
[07:08:52]<SuppahSeb>okay, did it
[07:08:56]<SuppahSeb>it returned "0"
[07:09:15]<ergonlog1c>try this again: debconf-get-selections | grep aegir/makefile
[07:09:23]<SuppahSeb>as root?
[07:09:28]<ergonlog1c>no
[07:10:12]<SuppahSeb>aegir@dev:~$ sudo debconf-get-selections | grep aegir/makefile aegir2-hostmaster aegir/makefile string
[07:10:17]<SuppahSeb>returned this
[07:11:38]<ergonlog1c>ok, so: echo PURGE | sudo debconf-communicate aegir2-hostmaster
[07:12:15]<SuppahSeb>got "0"
[07:12:29]<ergonlog1c>and this again: debconf-get-selections | grep aegir/makefile
[07:12:50]<SuppahSeb>didn't return anything
[07:12:53]<ergonlog1c>ok
[07:13:46]<ergonlog1c>so, as far as I can tell, you had an alternative makefile pre-set in apt
[07:14:16]<ergonlog1c>which must have come from the aegir2 package, which'd explain why it's on Drupal6
[07:14:41]<ergonlog1c>so, having removed that, you shouldn't have that particular problem again
[07:14:57]<SuppahSeb>hm, it might be the case,.. the platform was set up ~5 years ago :/
[07:15:06]<SuppahSeb>so i should try apt-get ... again?
[07:15:25]<ergonlog1c>that said, without knowing what the contents of that makefile were, there may be other issues
[07:15:36]<ergonlog1c>you can, but I doubt it'll work
[07:15:59]<SuppahSeb>huh
[07:16:04]<SuppahSeb>so what could work
[07:16:07]<SuppahSeb>to update it
[07:16:25]<ergonlog1c>the problem, at this point, is that there's already a platform where the .deb wouldwant to install it
[07:17:04]<ergonlog1c>so, manually running the upgrade is one way to do it
[07:17:21]<ergonlog1c>the other would be to use the latest .deb build package
[07:17:38]<ergonlog1c>which integrates a couple other fixes, due to bugs in Drupal 7.50
[07:18:00]<SuppahSeb>hm
[07:18:07]<SuppahSeb>where could i find this latest .deb build package?
[07:18:10]<ergonlog1c>so the latter might be a good choice in this case
[07:19:57]<ergonlog1c>try: wget http://debian.aegirproject.org/pool/main/a/aegir3-provision/aegir3-hostm...
[07:20:22]<ergonlog1c>then: dpkg -i aegir3-ho...
[07:20:25]<ergonlog1c>as root
[07:21:19]* boshtian has left #aegir ()
[07:22:44]<SuppahSeb>dpkg: error processing aegir3-hostmaster (--install): cannot access archive: No such file or directory Errors were encountered while processing: aegir3-hostmaster
[07:23:18]<ergonlog1c>you're pointing dpkg at the file you just downloaded?
[07:24:36]<SuppahSeb>oh sorry
[07:25:00]<SuppahSeb>Preparing to replace aegir3-hostmaster 3.7 (using aegir3-hostmaster_3.7+438.10e2f5b_all.deb) ... Unpacking replacement aegir3-hostmaster ... dpkg: dependency problems prevent configuration of aegir3-hostmaster: aegir3-hostmaster depends on aegir3-provision (>= 3.7+438.10e2f5b); however: Version of aegir3-provision on system is 3.7. dpkg: error processing aegir3-hostmaster (--install): dependency problems - leaving unconfigured Pr
[07:25:05]<SuppahSeb>huh
[07:25:37]<ergonlog1c>ok. so wget the same as above, but replace "hostmaster" with "provision"
[07:25:52]<ergonlog1c>then run "dpkg -i" on it
[07:26:46]* tommycox has quit (Ping timeout: 252 seconds)
[07:27:22]<SuppahSeb>ok did
[07:27:24]<SuppahSeb>now hostmaster?
[07:27:28]* tommycox has joined #aegir
[07:27:32]<ergonlog1c>yep
[07:28:13]<SuppahSeb>okay, something is happening :)
[07:28:26]<SuppahSeb>but it gives warning during install
[07:28:31]* tommycox has quit (Read error: No route to host)
[07:28:33]<ergonlog1c>?
[07:28:36]<SuppahSeb>"syntax error on line 45 of vhost.d"
[07:28:43]* tommycox has joined #aegir
[07:28:44]<SuppahSeb>same error
[07:28:51]<SuppahSeb>action gaceful failed
[07:29:08]<ergonlog1c>ok
[07:29:11]<SuppahSeb>invalid command "deny", perhaps misspelled or defined by a module not included in the server config...
[07:29:35]<ergonlog1c>"drush @hostmaster status" still shows 6.37?
[07:29:50]<SuppahSeb>installation is still going on
[07:29:56]<SuppahSeb>but throwing these errors...
[07:30:03]<SuppahSeb>warnings*
[07:30:22]<ergonlog1c>vhost.d is a directory
[07:30:24]<SuppahSeb>okay, it says drupal-7.50 downloaded now
[07:30:46]<SuppahSeb>yes a config file in that directory we use for our aegir domain
[07:30:57]<SuppahSeb>vhost.d/aegir.xxx.si
[07:31:01]<ergonlog1c>well, it should re-write that file
[07:31:08]<SuppahSeb>our domain is replaced by xxx
[07:31:14]<ergonlog1c>right
[07:32:21]<SuppahSeb>it rewrote it, but it interfered with apache 2.4
[07:32:40]<SuppahSeb>because apache 2.4 uses Order deny,allow Deny from all
[07:32:46]<SuppahSeb>no, apache 2.2 uses that
[07:32:53]<SuppahSeb>apache 2.4 uses Require all denied
[07:33:08]<SuppahSeb>and in .conf file was Order deny, allow Deny from all
[07:33:21]* tommycox has quit (Ping timeout: 258 seconds)
[07:33:21]<SuppahSeb>which wasn't working, so verifycation failed
[07:35:16]<ergonlog1c>is it in vhost.d or platform.d?
[07:35:46]<SuppahSeb>in both files
[07:35:57]<SuppahSeb>platform_hostmaster7x37.conf in platform.d
[07:36:13]<SuppahSeb>and aegir.xxx.si in vhost.d
[07:36:36]<ergonlog1c>try moving those out of the way
[07:36:53]<SuppahSeb>you mean delete it?
[07:37:07]<ergonlog1c>no, move them somewhere outside those directories
[07:37:14]<SuppahSeb>will do, as soon as installation finishes
[07:37:14]<SuppahSeb>okay
[07:40:01]* tommycox has joined #aegir
[07:54:01]* tommycox has quit (Remote host closed the connection)
[07:57:28]* tommycox has joined #aegir
[07:58:18]<ergonlog1c>SuppahSeb: I have to go (it's 6pm here), but I'll try to check back later
[07:58:40]<SuppahSeb>okay, thank you very very much
[07:58:56]<SuppahSeb>ill check with you again later or tomorrow so i can at least buy you a beer
[08:00:37]<SuppahSeb>hum, only have one problem
[08:01:04]<SuppahSeb>accessing "http://aegir.xxx.si/" gives me Select an installation profile
[08:20:05]<SuppahSeb>okay, had to restart server
[08:26:49]<SuppahSeb>still same problem, apache cannot be restarted
[08:26:54]<SuppahSeb>verify fails
[08:27:21]<SuppahSeb>have to change platform_hostmaster7x3x201609010002.conf file in order to restart apache
[08:30:54]* jerryitt has joined #aegir
[08:55:07]* tommycox has quit (Remote host closed the connection)
[08:55:53]* bgm has joined #aegir
[08:57:53]* bgm_ has joined #aegir
[08:58:24]<bgm_>ergonlog1c: thanks for the heads up, if it touches the upgradedb stuff, there may be overlap with https://www.drupal.org/node/2734933
[08:58:25]<hefring>https://www.drupal.org/node/2734933 => CIVICRM_UPGRADE_ACTIVE true fails on AEgir tasks [#2734933] => 2 comments, 2 IRC mentions
[08:58:35]<bgm_>but i'll cleanup if necessary
[08:58:40]<bgm_>(and merge that other issue)
[08:59:56]* bgm has quit (Client Quit)
[09:00:43]* bgm_ is now known as bgm
[09:02:59]* tommycox has joined #aegir
[09:07:58]* tommycox has quit (Remote host closed the connection)
[09:14:30]* tommycox has joined #aegir