Mercury is an open-source effort to create reusable, common, stable, kickass stacks for running Drupal. It began as an effort targeted to Amazon EC2, but really wants to have its stacks run anywhere/everywhere Drupal is found.
The current best place to get code from is this GitHub repository:
https://github.com/boztek/mercury
The ideas here have also spawned Pantheon Systems, which provides commercial service, but this group is about free and open-source DIY server configuration for Drupal.
Second attempt at Mercury 1.2
Well, I got a lot further this time, but still had an abort. I followed the instructions in the new readme file at:
https://github.com/pantheon-systems/mercury
Everything seemed to be going along fine until the script tried to upgrade the distribution. Here's the last few lines before abort:
<
blockquote>[pantheon@localhost] Executing task 'initialize'
[localhost] run: mkdir /etc/pantheon
[localhost] run: curl http://pki.getpantheon.com | sudo tee /usr/share/ca-certificates/pantheon.crt
[localhost] run: echo "pantheon.crt" | sudo tee -a /etc/ca-certificates.conf
How can I disable Varnish on a Mercury server, and still have my Pressflow site work?
I have setup a few sites using the Pantheon Linode stack script (what a blessing!). On one of them, I want to totally disable Varnish, but keep all other settings on the server (memcache, etc). If I kill all Varnish processes, the site goes down. How to get back to good ol' Apache only?
Read morePantheon Platform Beta Webinar Video
Today we held the first of hopefully many webinars to introduce some of our Beta Users to what we believe will become the definitive Pro Drupal platform. Video is now available.
Read moreMercury 1.2 FAIL
To Josh and Greg,
I know Mercury 1.2 is still in development, so I thought you'd want some error feedback. I've gone to launchpad and followed the following instructions:
<
blockquote>To get up and running on Trunk:
Start with a fresh installation of Ubuntu 10.04LTS
apt-get install bzr fabric
bzr branch lp:pantheon /opt/pantheon
cd /opt/pantheon/fab
The last command should one of the following:
fab initialize:vps=aws (for instance-based AWS servers)
fab initialize:vps=ebs (for ebs-based AWS servers - experimental)
Easy authcache
Easy Authcache is module that makes authcache implementation easy,faster and makes it comportable with drupal community modules.
Advantages of module differs it from Authcache:
- It makes unnessary for developer to write client side callbacks for authcache module (js functions).
- Makes server side callback as hook (drupal style).
- Includes all modules.
- Handle js files and settings, needed for retrived with ajax html, on final page.
- Handle url context dependent code.
- Provide api to handle theme functions, you need, with authcache.
cron fails due to memcache
crontab is failing to run with this error
Fatal error: Call to a member function increment() on a non-object in
...../sites/all/modules/memcache/memcache.inc on
line 262
any ideas for me please ?
Regards Allan
Read moreperformance issues on Mercury 1.1 after update_mercury.sh
I have an issue site performance after running update_mercury.sh I think it has something to do with APC only caching some .php and .inc files, (but leaving out many and not caching any .module files).
Here's what I've done:
I installed Mercury 1.1 according to: http://groups.drupal.org/node/70268
I installed my sites db over the pantheon db and copied the sites/ directory over (accept for the settings.php file)
Read morenon-www to www redirects on a Mercury multi-site VPS
We have a mercury server setup on VPS.net that is using multi-site to run multiple sites using the same Pressflow install. We recently ran into a problem with implementing our non-www to www canonical domain redirects. In the past we were able to uncomment the section of the .htaccess file included by Drupal to do these redirects because we were not using multi-site. Now that we are using multi-site we have tried to implement the redirects using apache vhosts but the redirect never seems to happen and it appears to be some kind of interference from Varnish that is keeping it from working.
Read moreNew Mercury 1.2 install instructions: When available??
According to this post: http://groups.drupal.org/node/100624#comment-326369 ,
there should be vastly simplified instructions for installing Mercury on a VPS somewhere around mid-November.
Of course, it's December now. Have I missed the post?? Just wondering when the info might become available. I'm ready to create a Linode Mercury install with Ubuntu 9.10 (for PHP compatibility) but the Linode stackscript is over 6 months old now.
I think it would be better to install manually, just to understand the process.
Will these instructions be available soon?? Thanks!
Read moreRDS?
Is it possible to use AWS RDS? If so, how would that affect performance? (An estimate and/or explanation of the MySQL optimizations that are affected would be appreciated.)
Thanks!
Read more2 Questions - Broken Pipe and RDS
I am trying to install Mercury 1.1 on a 32-bit Ubuntu 10.04 EBS-backed micro instance (from Canonical, as listed on the Alestic site). The last message after I entered the command:
sudo bcfg2 -vqed -p 'mercury-aws-ebs'
was:
< update-alternatives: using /usr/lib/jvm/java-6-openjdk/jre/lib/jexec to provide /usr/bin/jexec (jexec) in auto mode.
Write failed: Broken pipe
My site cant handle even 20 users
This has been an ongoing problem for my site that I have still not figured out.
I am running Mercury but my site can barely keep up with just 20 users. The site always comes to a halt. Even with just 1 or 2 users the site is very slow. I am not even sure where to begin diagnosing the issue as I am not much of a server admin. I know I have some slow database queries but even on pages with no major queries the site just hangs for a long time. Im getting really frustrated because my shared server was 100x faster then my current Mercury setup with the same queries and everything.
Read morempeg-4 h264 Problems, anyone else?
Does anyone else have this problem? Where they have an issue with .mp4 files that are encoded with h264 mpeg-4 container?
Here is a bug I posted, about this, really driving me crazy having searched and searched on this issue, can't seem to find anything solid to fix the issue.
https://bugs.launchpad.net/pantheon/+bug/674492
Just want to see if anyone on Ubuntu has the same issue?
Read moreWhiptail gave up on me :-(
Firstly, many, many thanks for all the incredible work on Pantheon. Seriously cool stuff.
I've been trying to install Mercury 1.1 on Rackspace and got as far as Hudson running happily. When I try to build 'mercury_init', Hudson comes up with errors during the postfix setup - relevant chunk of console output below.
Lengthy googling of whiptail and terminal.debconf has only revealed a whole load of very old and unresolved bugs concerning whiptail's manual use and its incompatibility with some terminals, though my google-fu may not have been at its best.
Any ideas?
Ubuntu 10.04 Step-by-Step for Multi-Drupal Instances Same Server (not Multi-site)
Notes:
As of 10.9.2010, Does not work. For some reason will get a WSOD if cron runs twice in a row without the site being hit.
As of 10.8.2010: (later in the day!) Seems to be working, get a white screen of death, run update.php from the browser
As of 10.8.2010: I am sure this document will need to change, but this is where I am at currently with this install.
My Goal is to have two or more Drupal Installs with Pantheon, on Ubuntu 10.04.
I want my document root to be /var/www/www.example.com/htdocs/
Read moreGetting Multi-Domain, but not Muilti-Site Working?
Working on getting a Multi-Domain, but not multi-site install on Ubuntu 10.04 working.
The reason for not having it be a Multi-site install is that we deal a lot with Japan and Japanese clients. Core does have to be patched from time to time. Now if I setup a server that has two different Drupal sites going, one might need core patched a bit, and I don't want all the sites to have the burden of having that patched install.
I will post back with my workings, but if anyone could post some tips that would be great too.
Read moreCan Pantheon benefit from mod_pagespeed?
Has anyone found Google's mod_pagespeed for Apache beneficial for Pantheon? Any plans to include it in Pantheon/Mercury 1.1?
Read moreDuplicate messages using Notifications with Mercury
We’re running into an issue sending duplicate notifications to our users using the Notifications module on our Mercury Pressflow implementation. The duplicate messages are identical save one thing- the [node-url] token is being replaced with ‘default’ in one of the messages. All the other tokens in the message are being replaced correctly.
The duplicate emails do not happen consistently, maybe 10-15% of the notifications sent out, however a duplicate message always has the proper url & the ‘default’ url.
Tomcat tweak for ApacheSolr powered search on non English words
Search on Mercury provided by ApacheSolr and hosted in tomcat. Tomcat is running on port 80. When a request contains UTF-8 characters there are percent encoding and Tomcat can't deal with it by default. See : http://wiki.apache.org/solr/SolrTomcat#URI_Charset_Config
Quote :
If you are going to query Solr using international characters (>127) using HTTP-GET, you must configure Tomcat to conform to the URI standard by accepting percent-encoded UTF-8.
Edit Tomcat's conf/server.xml and add the following attribute to the correct Connector element: URIEncoding="UTF-8".
Read moreError Handling & Logging
http://groups.drupal.org/node/70258
No settings available for error_reporting?
Default: E_ALL & ~E_DEPRECATED
Desired: error_reporting = E_ALL & ~E_DEPRECATED & ~E_NOTICE
Thanks :)
In the meantime I'm manually changing in /etc/php5/apache2/php.ini but it seems to default back on config update.
edit: fixed & ~E_NOTICE
Read more







