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

2018-02-13
2018-02-15
TimeNickMessage
[11:39:26]* theMusician has quit (Quit: theMusician)
[11:55:17]* mstenta has quit (Ping timeout: 276 seconds)
[12:29:56]* christefano has quit (Quit: christefano)
[12:38:17]* christefano has joined #aegir
[13:36:00]* mengi has quit (Read error: Connection reset by peer)
[13:36:49]* mengi has joined #aegir
[14:21:07]* christefano has quit (Quit: christefano)
[15:08:17]* Yaazkal has quit (Remote host closed the connection)
[15:17:50]* mlhess has quit (Ping timeout: 255 seconds)
[15:21:04]* mlhess has joined #aegir
[18:03:58]* calbasi has joined #aegir
[18:36:38]* christefano has joined #aegir
[19:02:43]* reaper013 has joined #aegir
[19:08:02]* ybabel has joined #aegir
[20:50:20]* christefano has quit (Quit: christefano)
[22:46:39]* Yaazkal has joined #aegir
[22:48:39]* testinr[m] has joined #aegir
[23:44:23]* mstenta has joined #aegir
[01:39:15]* Yaazkal has quit (Ping timeout: 256 seconds)
[01:43:19]* Yaazkal has joined #aegir
[02:19:05]* calbasi has quit (Ping timeout: 240 seconds)
[02:19:20]* theMusician has joined #aegir
[02:47:21]* reaper013 has quit (Quit: Page closed)
[03:47:48]* Yaazkal has quit (Ping timeout: 240 seconds)
[03:48:28]* Yaazkal has joined #aegir
[03:59:46]* azend|vps has quit (Remote host closed the connection)
[04:12:28]* azend|vps has joined #aegir
[04:18:23]* Yaazkal has quit (Ping timeout: 248 seconds)
[04:22:21]* Yaazkal has joined #aegir
[04:33:32]* ybabel has quit (Quit: ybabel)
[04:51:26]* Yaazkal has quit (Ping timeout: 255 seconds)
[04:51:50]* Yaazkal has joined #aegir
[04:58:03]* oadaeh has joined #aegir
[05:08:38]* Yaazkal has quit (Read error: Connection reset by peer)
[05:09:01]* Yaazkal has joined #aegir
[05:11:36]* oadaeh has quit (Quit: Leaving)
[05:33:01]* roycroft has joined #aegir
[05:33:11]<roycroft>hello, folks
[05:33:25]<roycroft>i have an odd problem today and could use any pointers on tracking it down
[05:33:45]<roycroft>we have a drupal 7 site developed using the commerce_kickstart platform
[05:33:51]<roycroft>it is aegir managed
[05:34:00]<roycroft>the site normally verifies just fine
[05:34:09]<roycroft>but when i install the memcache module, it no longer verifies
[05:34:31]<roycroft>i get a drush fatal error "Cannot redeclare link_field_schema() ..."
[05:34:49]<roycroft>the memcache module does not reference that function at all
[05:35:06]<roycroft>i see that the link module is installed in two places
[05:36:12]<roycroft>1. platform/profiles/commerce_kickstart/modules/contrib/link and platform/profiles/commerce_kickstart/modules/contrib/custom/link
[05:36:33]<roycroft>so maybe i need to get rid of one of those
[05:36:53]<roycroft>but why would the site verify fine without memcache and fail when i try to install memcache?
[05:52:14]<Yaazkal>hi roycroft: remove the last one
[05:52:40]<Yaazkal>I don't think is only with memcache, I guess you will get the same error if you try to install another module
[05:56:43]<roycroft>odd
[05:56:52]<roycroft>any idea why it verifies otherwise?
[05:57:07]<roycroft>i'm migrating this site to a new server, btw, so it's easy to experiment
[06:00:35]<roycroft>different failure this time, which is progress
[06:00:43]<roycroft>it's a memcache failure
[06:05:15]<Yaazkal>"the memcache module does not reference that function at all" note that the function is from the link module https://cgit.drupalcode.org/link/tree/link.install#n44
[06:05:37]<Yaazkal>that's why you need to remove one of the modules
[06:06:51]<roycroft>right
[06:07:11]<roycroft>but it verified fine before i tried to install memcache
[06:07:24]<roycroft>with the two copies of the module
[06:07:30]<roycroft>that's the part that confuses me
[06:08:23]<roycroft>anyway, i just disable memcache, and will remove it and attempt to verify without memcache
[06:08:44]<roycroft>if that works i'll try installing memcache again
[06:09:25]<Yaazkal>not sure why because I'm not an aegir developer (so I don't know all the intern behaviour), but I'm almost sure that removing one of the modules (specially the last one that makes no sense) will help.
[06:09:27]<roycroft>should i be verifying the platform as well when i add/delete modules?
[06:09:35]<Yaazkal>yes
[06:09:50]<Yaazkal>add code to platform -> verify
[06:10:00]<roycroft>ok, that's what i thought
[06:10:02]<Yaazkal>remove code from platform -> verify
[06:10:06]<roycroft>and i did do that before i added memcache
[06:10:09]<roycroft>and it verified
[06:10:17]<roycroft>er, after i added memcache
[06:10:18]<Yaazkal>if you touch plkatforms, verify platforms
[06:10:21]<roycroft>the platform verified but the site did not
[06:10:53]<Yaazkal>no worry, try it
[06:11:11]<Yaazkal>do you selfhost the site?
[06:11:14]<roycroft>so both the platform and the site now verify
[06:11:15]<roycroft>yes
[06:11:22]<roycroft>without memcache
[06:11:27]<roycroft>and without the second copy of the link module
[06:11:37]<roycroft>now i guess i should try adding memcache again
[06:11:52]<Yaazkal>yes, add it to the platform, verify the platform
[06:12:34]<Yaazkal>if you selfhost I will recommend BOA: https://github.com/omega8cc/boa
[06:12:53]<Yaazkal>you will not need memcache, it has OPcache and also redis
[06:13:06]<Yaazkal>performance is what that breaths
[06:13:20]<roycroft>hmm
[06:13:50]<roycroft>we have a dozen or so servers all running debian jessie/stretch, apache2, mariadb
[06:14:14]<roycroft>it would be a rather onerous task to convert them all to a new platform
[06:14:18]<roycroft>but i'll certainly look into it
[06:14:34]<Yaazkal>just consider it, I guess it will save you a lot of time
[06:14:52]<Yaazkal>"Aegir on steroids"
[06:15:01]<roycroft>i'm not all opposed to changing platforms
[06:15:09]<roycroft>i'm pretty methodical about it though
[06:15:19]<roycroft>and i am opposed to running a large number of different platforms
[06:15:41]<Yaazkal>you don't need to
[06:15:48]<roycroft>since boa runs on debian that's helpful - the underlying os can remain the same
[06:16:24]<roycroft>ok, the platform verified with the memcache module
[06:16:37]<Yaazkal>yes, but I guess you will be better deploying a new server with BOA and them import platforms and transfer sites
[06:16:40]<roycroft>now to see if the site does as well
[06:16:45]<roycroft>yes
[06:16:47]<roycroft>and that's fine
[06:16:58]<roycroft>we already have a mechanism for doing that kind of stuff
[06:17:47]<roycroft>hosting_remote_import has been a tremendous help
[06:18:04]<Yaazkal>just try it, you will be pretty happy with the performance
[06:18:17]<roycroft>yes, i'll do so
[06:18:32]<roycroft>i have a sandbox platform that's available most of the time
[06:18:50]<roycroft>i have some pci compliance issues with the site that i'm working on right now
[06:19:11]<roycroft>and complaints of performance problems as well, which is why i was trying to install memcache as part of this work
[06:19:23]<roycroft>i need to continue work on the site as it stands
[06:19:28]<roycroft>but after that's done i can check out boa
[06:19:33]<Yaazkal>sure
[06:19:42]<Yaazkal>if need something just ping me
[06:19:48]* roycroft notes that there are *always* pci compliance issues
[06:20:02]<roycroft>as in the minute we pass their test suite they test again and find something new
[06:20:13]<roycroft>thanks
[06:20:46]<Yaazkal>BOA = nginx + php-fpm + opcache + redis + csf + letsencrypt + dailybackups
[06:21:09]<Yaazkal>and many more, so I get you will get it more easy :)
[06:22:12]<Yaazkal>I guess*
[06:44:41]<roycroft>the site finally verified :)
[06:44:58]<roycroft>now to do all the updates that the developers have been ingoring for years
[06:45:23]<roycroft>it sucks that operations has to do the job of developers, but that's how it goes far too often
[06:52:25]<Yaazkal>:)
[06:59:42]<Yaazkal>roycroft: don't you use the magic of makefiles?
[07:12:50]<Yaazkal>I guess that according to what you mention before you are not using a safe workflow. I'll recommend to create a new platform with all the updates and then migrate the site to the new platform, that way aegir will backup your site, attempt a migration and if found any issue will reroll the site, that way you don't find an unexpected down site.
[07:14:51]<Yaazkal>tips: https://learn.omega8.cc/your-drupal-site-upgrade-safe-workflow-298
[07:49:12]* theMusician has quit (Quit: theMusician)
[07:57:38]* theMusician has joined #aegir
[08:32:32]* theMusician has quit (Ping timeout: 255 seconds)
[09:12:54]* Yaazkal has quit (Ping timeout: 256 seconds)
[10:33:08]* Yaazkal has joined #aegir