The ./symfony clear:cache task locks each environment before clearing the files. However, it appears that it now also locks the CLI env too. It thus quits with the Unavailable page output directly in the console without emptying the cache.
This defect appears to have been introduced here:
http://trac.symfony-project.org/changeset/11432
http://trac.symfony-project.org/changeset/11375
If I rollback the sfCacheClearTask.class.php file to r11374 the CLI cache:clear command works again.
My r11749 error output:
:~/public_html/qubit$ ./symfony cache:clear
>> cache Clearing cache type "all" for "qubit" app and "prod" env
>> file+ /home/peter/public_html/qubit/data/qubit_prod-cli.lck
>> chmod 777 /home/peter/public_html/qubit/data/qubit_prod-cli.lck
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="title" content="Qubit - unavailable" />
<meta name="robots" content="index, follow" />
<meta name="language" content="en" />
<title>Qubit - unavailable</title>
<link rel="shortcut icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" media="screen" href="./symfony/sf/sf_default/css/screen.css" />
<!--[if lt IE 7.]>
<link rel="stylesheet" type="text/css" media="screen" href="./symfony/sf/sf_default/css/ie.css" />
<![endif]-->
<link rel="stylesheet" type="text/css" media="all" href="./symfony/vendor/drupal/modules/system/defaults.css" />
<link rel="stylesheet" type="text/css" media="all" href="./symfony/vendor/drupal/modules/system/system.css" />
<link rel="stylesheet" type="text/css" media="all" href="./symfony/vendor/drupal/themes/garland/style.css" />
<link rel="stylesheet" type="text/css" media="all" href="./symfony/vendor/drupal/themes/garland/minnelli/minnelli.css" />
<link rel="stylesheet" type="text/css" media="print" href="./symfony/vendor/drupal/themes/garland/print.css" />
<link rel="stylesheet" type="text/css" media="screen" href="./symfony/css/main.css" />
</head>
<body>
<div class="sfTContainer" id="wrapper">
<div class="clear-block" id="container">
<div id="header">
<div id="logo-floater">
<h1><img alt="Qubit" id="logo" src="./symfony/images/logo.png" /><div>Qubit</div></h1>
</div>
</div>
<div id="center">
<div id="squeeze">
<div class="right-corner">
<div class="left-corner">
<div class="sfTMessageContainer sfTAlert">
<img alt="page not found" class="sfTMessageIcon" src="./symfony/sf/sf_default/images/icons/tools48.png" height="48" width="48" />
<div class="sfTMessageWrap">
<h1>Website Temporarily Unavailable</h1>
<h5>Please try again in a few seconds...</h5>
</div>
</div>
<dl class="sfTMessageInfo">
<dt>What's next</dt>
<dd>
<ul class="sfTIconList">
<li class="sfTReloadMessage"><a href="javascript:window.location.reload()">Try again: Reload Page</a></li>
</ul>
</dd>
</dl>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
:~/public_html/qubit$