Skip to content

Instantly share code, notes, and snippets.

@codewithpassion
Created October 7, 2014 01:06
Show Gist options
  • Save codewithpassion/6574ba569ed8c23e3773 to your computer and use it in GitHub Desktop.
Save codewithpassion/6574ba569ed8c23e3773 to your computer and use it in GitHub Desktop.
Vagrant log
================================================================================
Error executing action `run` on resource 'bash[migrate database]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" ----
STDOUT: <style type="text/css">
#kohana_error { background: #ddd; font-size: 1em; font-family:sans-serif; text-align: left; color: #111; }
#kohana_error h1,
#kohana_error h2 { margin: 0; padding: 1em; font-size: 1em; font-weight: normal; background: #911; color: #fff; }
#kohana_error h1 a,
#kohana_error h2 a { color: #fff; }
#kohana_error h2 { background: #222; }
#kohana_error h3 { margin: 0; padding: 0.4em 0 0; font-size: 1em; font-weight: normal; }
#kohana_error p { margin: 0; padding: 0.2em 0; }
#kohana_error a { color: #1b323b; }
#kohana_error pre { overflow: auto; white-space: pre-wrap; }
#kohana_error table { width: 100%; display: block; margin: 0 0 0.4em; padding: 0; border-collapse: collapse; background: #fff; }
#kohana_error table td { border: solid 1px #ddd; text-align: left; vertical-align: top; padding: 0.4em; }
#kohana_error div.content { padding: 0.4em 1em 1em; overflow: hidden; }
#kohana_error pre.source { margin: 0 0 1em; padding: 0.4em; background: #fff; border: dotted 1px #b7c680; line-height: 1.2em; }
#kohana_error pre.source span.line { display: block; }
#kohana_error pre.source span.highlight { background: #f0eb96; }
#kohana_error pre.source span.line span.number { color: #666; }
#kohana_error ol.trace { display: block; margin: 0 0 0 2em; padding: 0; list-style: decimal; }
#kohana_error ol.trace li { margin: 0; padding: 0; }
.js .collapsed { display: none; }
</style>
<script type="text/javascript">
document.documentElement.className = document.documentElement.className + ' js';
function koggle(elem)
{
elem = document.getElementById(elem);
if (elem.style && elem.style['display'])
// Only works with the "style" attr
var disp = elem.style['display'];
else if (elem.currentStyle)
// For MSIE, naturally
var disp = elem.currentStyle['display'];
else if (window.getComputedStyle)
// For most other browsers
var disp = document.defaultView.getComputedStyle(elem, null).getPropertyValue('display');
// Toggle the state of the "display" style
elem.style.display = disp == 'block' ? 'none' : 'block';
return false;
}
</script>
<div id="kohana_error">
<h1><span class="type">Kohana_Exception [ 0 ]:</span> <span class="message">The FirePHP firephp/packages/core/lib/FirePHPCore/FirePHP.class could not be found</span></h1>
<div id="error54333a730b92b" class="content">
<p><span class="file">MODPATH/debug-toolbar/init.php [ 10 ]</span></p>
<pre class="source"><code><span class="line"><span class="number"> 5</span> {
</span><span class="line"><span class="number"> 6</span> $file = 'firephp/packages/core/lib/FirePHPCore/FirePHP.class';
</span><span class="line"><span class="number"> 7</span> $firePHP = Kohana::find_file('vendor', $file);
</span><span class="line"><span class="number"> 8</span>
</span><span class="line"><span class="number"> 9</span> if ( ! $firePHP) {
</span><span class="line highlight"><span class="number">10</span> throw new Kohana_Exception('The FirePHP :file could not be found', array(':file' =&gt; $file));
</span><span class="line"><span class="number">11</span> }
</span><span class="line"><span class="number">12</span>
</span><span class="line"><span class="number">13</span> require_once $firePHP;
</span><span class="line"><span class="number">14</span> }
</span><span class="line"><span class="number">15</span> // Render Debug Toolbar on the end of application execution
</span></code></pre> <ol class="trace">
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource0" onclick="return koggle('error54333a730b92bsource0')">SYSPATH/classes/Kohana/Core.php [ 602 ]</a>
</span>
&raquo;
require_once()
</p>
<pre id="error54333a730b92bsource0" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">597</span> $init = $path.'init'.EXT;
</span><span class="line"><span class="number">598</span>
</span><span class="line"><span class="number">599</span> if (is_file($init))
</span><span class="line"><span class="number">600</span> {
</span><span class="line"><span class="number">601</span> // Include the module initialization file once
</span><span class="line highlight"><span class="number">602</span> require_once $init;
</span><span class="line"><span class="number">603</span> }
</span><span class="line"><span class="number">604</span> }
</span><span class="line"><span class="number">605</span>
</span><span class="line"><span class="number">606</span> return Kohana::$_modules;
</span><span class="line"><span class="number">607</span> }
</span></code></pre></code></pre>
</li>
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource1" onclick="return koggle('error54333a730b92bsource1')">APPPATH/bootstrap.php [ 153 ]</a>
</span>
&raquo;
Kohana_Core::modules(<a href="#error54333a730b92bargs1" onclick="return koggle('error54333a730b92bargs1')">arguments</a>)
</p>
<div id="error54333a730b92bargs1" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>0</code></td>
<td><pre><small>array</small><span>(8)</span> <span>(
"auth" => <small>string</small><span>(26)</span> "/var/codebase/modules/auth"
"cache" => <small>string</small><span>(27)</span> "/var/codebase/modules/cache"
"database" => <small>string</small><span>(30)</span> "/var/codebase/modules/database"
"debug-toolbar" => <small>string</small><span>(35)</span> "/var/codebase/modules/debug-toolbar"
"minion" => <small>string</small><span>(28)</span> "/var/codebase/modules/minion"
"mustache" => <small>string</small><span>(30)</span> "/var/codebase/modules/mustache"
"tasks-migrations" => <small>string</small><span>(38)</span> "/var/codebase/modules/tasks-migrations"
"email" => <small>string</small><span>(27)</span> "/var/codebase/modules/email"
)</span></pre></td>
</tr>
</table>
</div>
<pre id="error54333a730b92bsource1" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">148</span> 'debug-toolbar' =&gt; MODPATH.'debug-toolbar', // Debug toolbar
</span><span class="line"><span class="number">149</span> 'minion' =&gt; MODPATH.'minion', // CLI Tasks
</span><span class="line"><span class="number">150</span> 'mustache' =&gt; MODPATH.'mustache', // Mustache support in Kohana
</span><span class="line"><span class="number">151</span> 'tasks-migrations' =&gt; MODPATH.'tasks-migrations', // CLI Tasks (DB Migrations)
</span><span class="line"><span class="number">152</span> 'email' =&gt; MODPATH.'email', // Postmark Email Library
</span><span class="line highlight"><span class="number">153</span> ));
</span><span class="line"><span class="number">154</span>
</span><span class="line"><span class="number">155</span> // Configure crowdmap profiler on debug toolbar
</span><span class="line"><span class="number">156</span> $crowdmapProfileSummary = array('Zhibek_Crowdmap_Profiler', 'getProfileSummary');
</span><span class="line"><span class="number">157</span> $crowdmapProfileData = array('Zhibek_Crowdmap_Profiler', 'getProfileData');
</span><span class="line"><span class="number">158</span> Debugtoolbar::add_section($crowdmapProfileSummary, $crowdmapProfileData);
</span></code></pre></code></pre>
</li>
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource2" onclick="return koggle('error54333a730b92bsource2')">DOCROOT/index.php [ 107 ]</a>
</span>
&raquo;
require(<a href="#error54333a730b92bargs2" onclick="return koggle('error54333a730b92bargs2')">arguments</a>)
</p>
<div id="error54333a730b92bargs2" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>0</code></td>
<td><pre><small>string</small><span>(39)</span> "/var/codebase/application/bootstrap.php"</pre></td>
</tr>
</table>
</div>
<pre id="error54333a730b92bsource2" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">102</span> if (! defined('KOHANA_START_MEMORY')) {
</span><span class="line"><span class="number">103</span> define('KOHANA_START_MEMORY', memory_get_usage());
</span><span class="line"><span class="number">104</span> }
</span><span class="line"><span class="number">105</span>
</span><span class="line"><span class="number">106</span> // Bootstrap the application
</span><span class="line highlight"><span class="number">107</span> require APPPATH . 'bootstrap' . EXT;
</span><span class="line"><span class="number">108</span>
</span><span class="line"><span class="number">109</span> if (PHP_SAPI == 'cli') // Try and load minion
</span><span class="line"><span class="number">110</span> {
</span><span class="line"><span class="number">111</span> class_exists('Minion_Task') or
</span><span class="line"><span class="number">112</span> die('Please enable the Minion module for CLI support.');
</span></code></pre></code></pre>
</li>
</ol>
</div>
<h2><a href="#error54333a730b92benvironment" onclick="return koggle('error54333a730b92benvironment')">Environment</a></h2>
<div id="error54333a730b92benvironment" class="content collapsed">
<h3><a href="#error54333a730b92benvironment_included" onclick="return koggle('error54333a730b92benvironment_included')">Included files</a> (46)</h3>
<div id="error54333a730b92benvironment_included" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>DOCROOT/index.php</code></td>
</tr>
<tr>
<td><code>APPPATH/vendor/Zhibek/Crowdmap/Client.php</code></td>
</tr>
<tr>
<td><code>APPPATH/bootstrap.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Core.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana.php</code></td>
</tr>
<tr>
<td><code>APPPATH/vendor/Autoloader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/I18n.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/I18n.php</code></td>
</tr>
<tr>
<td><code>APPPATH/classes/Kohana/Exception.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Kohana/Exception.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log/Writer.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log/Writer.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/File/Reader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Reader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Source.php</code></td>
</tr>
<tr>
<td><code>MODPATH/debug-toolbar/init.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Arr.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Arr.php</code></td>
</tr>
<tr>
<td><code>MODPATH/debug-toolbar/config/debug_toolbar.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config/Group.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Group.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Debug.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Debug.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Date.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Date.php</code></td>
</tr>
<tr>
<td><code>APPPATH/classes/View.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/View.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Message.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Message.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Header.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Header.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/views/kohana/error.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/UTF8.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/UTF8.php</code></td>
</tr>
</table>
</div>
<h3><a href="#error54333a730b92benvironment_loaded" onclick="return koggle('error54333a730b92benvironment_loaded')">Loaded extensions</a> (57)</h3>
<div id="error54333a730b92benvironment_loaded" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>Core</code></td>
</tr>
<tr>
<td><code>date</code></td>
</tr>
<tr>
<td><code>ereg</code></td>
</tr>
<tr>
<td><code>libxml</code></td>
</tr>
<tr>
<td><code>openssl</code></td>
</tr>
<tr>
<td><code>pcre</code></td>
</tr>
<tr>
<td><code>zlib</code></td>
</tr>
<tr>
<td><code>bcmath</code></td>
</tr>
<tr>
<td><code>bz2</code></td>
</tr>
<tr>
<td><code>calendar</code></td>
</tr>
<tr>
<td><code>ctype</code></td>
</tr>
<tr>
<td><code>dba</code></td>
</tr>
<tr>
<td><code>dom</code></td>
</tr>
<tr>
<td><code>hash</code></td>
</tr>
<tr>
<td><code>fileinfo</code></td>
</tr>
<tr>
<td><code>filter</code></td>
</tr>
<tr>
<td><code>ftp</code></td>
</tr>
<tr>
<td><code>gettext</code></td>
</tr>
<tr>
<td><code>SPL</code></td>
</tr>
<tr>
<td><code>iconv</code></td>
</tr>
<tr>
<td><code>json</code></td>
</tr>
<tr>
<td><code>mbstring</code></td>
</tr>
<tr>
<td><code>pcntl</code></td>
</tr>
<tr>
<td><code>apc</code></td>
</tr>
<tr>
<td><code>posix</code></td>
</tr>
<tr>
<td><code>readline</code></td>
</tr>
<tr>
<td><code>Reflection</code></td>
</tr>
<tr>
<td><code>session</code></td>
</tr>
<tr>
<td><code>shmop</code></td>
</tr>
<tr>
<td><code>SimpleXML</code></td>
</tr>
<tr>
<td><code>soap</code></td>
</tr>
<tr>
<td><code>sockets</code></td>
</tr>
<tr>
<td><code>standard</code></td>
</tr>
<tr>
<td><code>exif</code></td>
</tr>
<tr>
<td><code>sysvmsg</code></td>
</tr>
<tr>
<td><code>sysvsem</code></td>
</tr>
<tr>
<td><code>sysvshm</code></td>
</tr>
<tr>
<td><code>tokenizer</code></td>
</tr>
<tr>
<td><code>wddx</code></td>
</tr
>
<tr>
<td><code>xml</code></td>
</tr>
<tr>
<td><code>xmlreader</code></td>
</tr>
<tr>
<td><code>xmlwriter</code></td>
</tr>
<tr>
<td><code>zip</code></td>
</tr>
<tr>
<td><code>Phar</code></td>
</tr>
<tr>
<td><code>curl</code></td>
</tr>
<tr>
<td><code>gd</code></td>
</tr>
<tr>
<td><code>mcrypt</code></td>
</tr>
<tr>
<td><code>memcache</code></td>
</tr>
<tr>
<td><code>mysql</code></td>
</tr>
<tr>
<td><code>mysqli</code></td>
</tr>
<tr>
<td><code>PDO</code></td>
</tr>
<tr>
<td><code>pdo_mysql</code></td>
</tr>
<tr>
<td><code>pdo_sqlite</code></td>
</tr>
<tr>
<td><code>redis</code></td>
</tr>
<tr>
<td><code>sqlite3</code></td>
</tr>
<tr>
<td><code>xsl</code></td>
</tr>
<tr>
<td><code>mhash</code></td>
</tr>
</table>
</div>
<h3><a href="#error54333a730b92benvironment_server" onclick="return koggle('error54333a730b92benvironment_server')">$_SERVER</a></h3>
<div id="error54333a730b92benvironment_server" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>SHELL</code></td>
<td><pre><small>string</small><span>(9)</span> "/bin/bash"</pre></td>
</tr>
<tr>
<td><code>TERM</code></td>
<td><pre><small>string</small><span>(5)</span> "vt100"</pre></td>
</tr>
<tr>
<td><code>LC_ALL</code></td>
<td><pre><small>string</small><span>(1)</span> "C"</pre></td>
</tr>
<tr>
<td><code>USER</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>SUDO_USER</code></td>
<td><pre><small>string</small><span>(7)</span> "vagrant"</pre></td>
</tr>
<tr>
<td><code>SUDO_UID</code></td>
<td><pre><small>string</small><span>(4)</span> "1000"</pre></td>
</tr>
<tr>
<td><code>USERNAME</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>PATH</code></td>
<td><pre><small>string</small><span>(93)</span> "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/vagrant_ruby/bin"</pre></td>
</tr>
<tr>
<td><code>MAIL</code></td>
<td><pre><small>string</small><span>(14)</span> "/var/mail/root"</pre></td>
</tr>
<tr>
<td><code>_</code></td>
<td><pre><small>string</small><span>(12)</span> "/usr/bin/php"</pre></td>
</tr>
<tr>
<td><code>PWD</code></td>
<td><pre><small>string</small><span>(1)</span> "/"</pre></td>
</tr>
<tr>
<td><code>SUDO_COMMAND</code></td>
<td><pre><small>string</small><span>(12)</span> "/bin/bash -l"</pre></td>
</tr>
<tr>
<td><code>HOME</code></td>
<td><pre><small>string</small><span>(5)</span> "/root"</pre></td>
</tr>
<tr>
<td><code>SHLVL</code></td>
<td><pre><small>string</small><span>(1)</span> "2"</pre></td>
</tr>
<tr>
<td><code>LOGNAME</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>SUDO_GID</code></td>
<td><pre><small>string</small><span>(4)</span> "1000"</pre></td>
</tr>
<tr>
<td><code>PHP_SELF</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>SCRIPT_NAME</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>SCRIPT_FILENAME</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>PATH_TRANSLATED</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>DOCUMENT_ROOT</code></td>
<td><pre><small>string</small><span>(0)</span> ""</pre></td>
</tr>
<tr>
<td><code>REQUEST_TIME</code></td>
<td><pre><small>integer</small> 1412643441</pre></td>
</tr>
<tr>
<td><code>argv</code></td>
<td><pre><small>array</small><span>(2)</span> <span>(
0 => <small>string</small><span>(27)</span> "/var/codebase/www/index.php"
1 => <small>string</small><span>(14)</span> "migrations:run"
)</span></pre></td>
</tr>
<tr>
<td><code>argc</code></td>
<td><pre><small>integer</small> 2</pre></td>
</tr>
</table>
</div>
</div>
</div>
STDERR:
---- End output of "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" ----
Ran "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" returned 1
Resource Declaration:
---------------------
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/vagrant_main/recipes/default.rb
37:
38: bash "migrate database" do
39: code <<-EOH
40: php /var/codebase/www/index.php migrations:run
41: EOH
42: end
43:
Compiled Resource:
------------------
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/vagrant_main/recipes/default.rb:38:in `from_file'
bash("migrate database") do
retry_delay 2
returns 0
command "\"bash\" \"/tmp/chef-script20141007-1189-7ksn3t-0\""
retries 0
recipe_name "default"
code " php /var/codebase/www/index.php migrations:run\n"
action "run"
cookbook_name :vagrant_main
interpreter "bash"
backup 5
end
[2014-10-07T00:57:23+00:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - bash[migrate database] (vagrant_main::default line 38) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" ----
STDOUT: <style type="text/css">
#kohana_error { background: #ddd; font-size: 1em; font-family:sans-serif; text-align: left; color: #111; }
#kohana_error h1,
#kohana_error h2 { margin: 0; padding: 1em; font-size: 1em; font-weight: normal; background: #911; color: #fff; }
#kohana_error h1 a,
#kohana_error h2 a { color: #fff; }
#kohana_error h2 { background: #222; }
#kohana_error h3 { margin: 0; padding: 0.4em 0 0; font-size: 1em; font-weight: normal; }
#kohana_error p { margin: 0; padding: 0.2em 0; }
#kohana_error a { color: #1b323b; }
#kohana_error pre { overflow: auto; white-space: pre-wrap; }
#kohana_error table { width: 100%; display: block; margin: 0 0 0.4em; padding: 0; border-collapse: collapse; background: #fff; }
#kohana_error table td { border: solid 1px #ddd; text-align: left; vertical-align: top; padding: 0.4em; }
#kohana_error div.content { padding: 0.4em 1em 1em; overflow: hidden; }
#kohana_error pre.source { margin: 0 0 1em; padding: 0.4em; background: #fff; border: dotted 1px #b7c680; line-height: 1.2em; }
#kohana_error pre.source span.line { display: block; }
#kohana_error pre.source span.highlight { background: #f0eb96; }
#kohana_error pre.source span.line span.number { color: #666; }
#kohana_error ol.trace { display: block; margin: 0 0 0 2em; padding: 0; list-style: decimal; }
#kohana_error ol.trace li { margin: 0; padding: 0; }
.js .collapsed { display: none; }
</style>
<script type="text/javascript">
document.documentElement.className = document.documentElement.className + ' js';
function koggle(elem)
{
elem = document.getElementById(elem);
if (elem.style && elem.style['display'])
// Only works with the "style" attr
var disp = elem.style['display'];
else if (elem.currentStyle)
// For MSIE, naturally
var disp = elem.currentStyle['display'];
else if (window.getComputedStyle)
// For most other browsers
var disp = document.defaultView.getComputedStyle(elem, null).getPropertyValue('display');
// Toggle the state of the "display" style
elem.style.display = disp == 'block' ? 'none' : 'block';
return false;
}
</script>
<div id="kohana_error">
<h1><span class="type">Kohana_Exception [ 0 ]:</span> <span class="message">The FirePHP firephp/packages/core/lib/FirePHPCore/FirePHP.class could not be found</span></h1>
<div id="error54333a730b92b" class="content">
<p><span class="file">MODPATH/debug-toolbar/init.php [ 10 ]</span></p>
<pre class="source"><code><span class="line"><span class="number"> 5</span> {
</span><span class="line"><span class="number"> 6</span> $file = 'firephp/packages/core/lib/FirePHPCore/FirePHP.class';
</span><span class="line"><span class="number"> 7</span> $firePHP = Kohana::find_file('vendor', $file);
</span><span class="line"><span class="number"> 8</span>
</span><span class="line"><span class="number"> 9</span> if ( ! $firePHP) {
</span><span class="line highlight"><span class="number">10</span> throw new Kohana_Exception('The FirePHP :file could not be found', array(':file' =&gt; $file));
</span><span class="line"><span class="number">11</span> }
</span><span class="line"><span class="number">12</span>
</span><span class="line"><span class="number">13</span> require_once $firePHP;
</span><span class="line"><span class="number">14</span> }
</span><span class="line"><span class="number">15</span> // Render Debug Toolbar on the end of application execution
</span></code></pre> <ol class="trace">
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource0" onclick="return koggle('error54333a730b92bsource0')">SYSPATH/classes/Kohana/Core.php [ 602 ]</a>
</span>
&raquo;
require_once()
</p>
<pre id="error54333a730b92bsource0" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">597</span> $init = $path.'init'.EXT;
</span><span class="line"><span class="number">598</span>
</span><span class="line"><span class="number">599</span> if (is_file($init))
</span><span class="line"><span class="number">600</span> {
</span><span class="line"><span class="number">601</span> // Include the module initialization file once
</span><span class="line highlight"><span class="number">602</span> require_once $init;
</span><span class="line"><span class="number">603</span> }
</span><span class="line"><span class="number">604</span> }
</span><span class="line"><span class="number">605</span>
</span><span class="line"><span class="number">606</span> return Kohana::$_modules;
</span><span class="line"><span class="number">607</span> }
</span></code></pre></code></pre>
</li>
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource1" onclick="return koggle('error54333a730b92bsource1')">APPPATH/bootstrap.php [ 153 ]</a>
</span>
&raquo;
Kohana_Core::modules(<a href="#error54333a730b92bargs1" onclick="return koggle('error54333a730b92bargs1')">arguments</a>)
</p>
<div id="error54333a730b92bargs1" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>0</code></td>
<td><pre><small>array</small><span>(8)</span> <span>(
"auth" => <small>string</small><span>(26)</span> "/var/codebase/modules/auth"
"cache" => <small>string</small><span>(27)</span> "/var/codebase/modules/cache"
"database" => <small>string</small><span>(30)</span> "/var/codebase/modules/database"
"debug-toolbar" => <small>string</small><span>(35)</span> "/var/codebase/modules/debug-toolbar"
"minion" => <small>string</small><span>(28)</span> "/var/codebase/modules/minion"
"mustache" => <small>string</small><span>(30)</span> "/var/codebase/modules/mustache"
"tasks-migrations" => <small>string</small><span>(38)</span> "/var/codebase/modules/tasks-migrations"
"email" => <small>string</small><span>(27)</span> "/var/codebase/modules/email"
)</span></pre></td>
</tr>
</table>
</div>
<pre id="error54333a730b92bsource1" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">148</span> 'debug-toolbar' =&gt; MODPATH.'debug-toolbar', // Debug toolbar
</span><span class="line"><span class="number">149</span> 'minion' =&gt; MODPATH.'minion', // CLI Tasks
</span><span class="line"><span class="number">150</span> 'mustache' =&gt; MODPATH.'mustache', // Mustache support in Kohana
</span><span class="line"><span class="number">151</span> 'tasks-migrations' =&gt; MODPATH.'tasks-migrations', // CLI Tasks (DB Migrations)
</span><span class="line"><span class="number">152</span> 'email' =&gt; MODPATH.'email', // Postmark Email Library
</span><span class="line highlight"><span class="number">153</span> ));
</span><span class="line"><span class="number">154</span>
</span><span class="line"><span class="number">155</span> // Configure crowdmap profiler on debug toolbar
</span><span class="line"><span class="number">156</span> $crowdmapProfileSummary = array('Zhibek_Crowdmap_Profiler', 'getProfileSummary');
</span><span class="line"><span class="number">157</span> $crowdmapProfileData = array('Zhibek_Crowdmap_Profiler', 'getProfileData');
</span><span class="line"><span class="number">158</span> Debugtoolbar::add_section($crowdmapProfileSummary, $crowdmapProfileData);
</span></code></pre></code></pre>
</li>
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource2" onclick="return koggle('error54333a730b92bsource2')">DOCROOT/index.php [ 107 ]</a>
</span>
&raquo;
require(<a href="#error54333a730b92bargs2" onclick="return koggle('error54333a730b92bargs2')">arguments</a>)
</p>
<div id="error54333a730b92bargs2" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>0</code></td>
<td><pre><small>string</small><span>(39)</span> "/var/codebase/application/bootstrap.php"</pre></td>
</tr>
</table>
</div>
<pre id="error54333a730b92bsource2" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">102</span> if (! defined('KOHANA_START_MEMORY')) {
</span><span class="line"><span class="number">103</span> define('KOHANA_START_MEMORY', memory_get_usage());
</span><span class="line"><span class="number">104</span> }
</span><span class="line"><span class="number">105</span>
</span><span class="line"><span class="number">106</span> // Bootstrap the application
</span><span class="line highlight"><span class="number">107</span> require APPPATH . 'bootstrap' . EXT;
</span><span class="line"><span class="number">108</span>
</span><span class="line"><span class="number">109</span> if (PHP_SAPI == 'cli') // Try and load minion
</span><span class="line"><span class="number">110</span> {
</span><span class="line"><span class="number">111</span> class_exists('Minion_Task') or
</span><span class="line"><span class="number">112</span> die('Please enable the Minion module for CLI support.');
</span></code></pre></code></pre>
</li>
</ol>
</div>
<h2><a href="#error54333a730b92benvironment" onclick="return koggle('error54333a730b92benvironment')">Environment</a></h2>
<div id="error54333a730b92benvironment" class="content collapsed">
<h3><a href="#error54333a730b92benvironment_included" onclick="return koggle('error54333a730b92benvironment_included')">Included files</a> (46)</h3>
<div id="error54333a730b92benvironment_included" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>DOCROOT/index.php</code></td>
</tr>
<tr>
<td><code>APPPATH/vendor/Zhibek/Crowdmap/Client.php</code></td>
</tr>
<tr>
<td><code>APPPATH/bootstrap.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Core.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana.php</code></td>
</tr>
<tr>
<td><code>APPPATH/vendor/Autoloader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/I18n.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/I18n.php</code></td>
</tr>
<tr>
<td><code>APPPATH/classes/Kohana/Exception.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Kohana/Exception.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log/Writer.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log/Writer.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/File/Reader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Reader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Source.php</code></td>
</tr>
<tr>
<td><code>MODPATH/debug-toolbar/init.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Arr.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Arr.php</code></td>
</tr>
<tr>
<td><code>MODPATH/debug-toolbar/config/debug_toolbar.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config/Group.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Group.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Debug.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Debug.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Date.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Date.php</code></td>
</tr>
<tr>
<td><code>APPPATH/classes/View.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/View.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Message.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Message.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Header.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Header.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/views/kohana/error.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/UTF8.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/UTF8.php</code></td>
</tr>
</table>
</div>
<h3><a href="#error54333a730b92benvironment_loaded" onclick="return koggle('error54333a730b92benvironment_loaded')">Loaded extensions</a> (57)</h3>
<div id="error54333a730b92benvironment_loaded" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>Core</code></td>
</tr>
<tr>
<td><code>date</code></td>
</tr>
<tr>
<td><code>ereg</code></td>
</tr>
<tr>
<td><code>libxml</code></td>
</tr>
<tr>
<td><code>openssl</code></td>
</tr>
<tr>
<td><code>pcre</code></td>
</tr>
<tr>
<td><code>zlib</code></td>
</tr>
<tr>
<td><code>bcmath</code></td>
</tr>
<tr>
<td><code>bz2</code></td>
</tr>
<tr>
<td><code>calendar</code></td>
</tr>
<tr>
<td><code>ctype</code></td>
</tr>
<tr>
<td><code>dba</code></td>
</tr>
<tr>
<td><code>dom</code></td>
</tr>
<tr>
<td><code>hash</code></td>
</tr>
<tr>
<td><code>fileinfo</code></td>
</tr>
<tr>
<td><code>filter</code></td>
</tr>
<tr>
<td><code>ftp</code></td>
</tr>
<tr>
<td><code>gettext</code></td>
</tr>
<tr>
<td><code>SPL</code></td>
</tr>
<tr>
<td><code>iconv</code></td>
</tr>
<tr>
<td><code>json</code></td>
</tr>
<tr>
<td><code>mbstring</code></td>
</tr>
<tr>
<td><code>pcntl</code></td>
</tr>
<tr>
<td><code>apc</code></td>
</tr>
<tr>
<td><code>posix</code></td>
</tr>
<tr>
<td><code>readline</code></td>
</tr>
<tr>
<td><code>Reflection</code></td>
</tr>
<tr>
<td><code>session</code></td>
</tr>
<tr>
<td><code>shmop</code></td>
</tr>
<tr>
<td><code>SimpleXML</code></td>
</tr>
<tr>
<td><code>soap</code></td>
</tr>
<tr>
<td><code>sockets</code></td>
</tr>
<tr>
<td><code>standard</code></td>
</tr>
<tr>
<td><code>exif</code></td>
</tr>
<tr>
<td><code>sysvmsg</code></td>
</tr>
<tr>
<td><code>sysvsem</code></td>
</tr>
<tr>
<td><code>sysvshm</code></td>
</tr>
<tr>
<td><code>tokenizer</code></td>
</tr>
<tr>
<td><code>wddx</code></td>
</tr>
<tr>
<td><code>xml</code></td>
</tr>
<tr>
<td><code>xmlreader</code><
/td>
</tr>
<tr>
<td><code>xmlwriter</code></td>
</tr>
<tr>
<td><code>zip</code></td>
</tr>
<tr>
<td><code>Phar</code></td>
</tr>
<tr>
<td><code>curl</code></td>
</tr>
<tr>
<td><code>gd</code></td>
</tr>
<tr>
<td><code>mcrypt</code></td>
</tr>
<tr>
<td><code>memcache</code></td>
</tr>
<tr>
<td><code>mysql</code></td>
</tr>
<tr>
<td><code>mysqli</code></td>
</tr>
<tr>
<td><code>PDO</code></td>
</tr>
<tr>
<td><code>pdo_mysql</code></td>
</tr>
<tr>
<td><code>pdo_sqlite</code></td>
</tr>
<tr>
<td><code>redis</code></td>
</tr>
<tr>
<td><code>sqlite3</code></td>
</tr>
<tr>
<td><code>xsl</code></td>
</tr>
<tr>
<td><code>mhash</code></td>
</tr>
</table>
</div>
<h3><a href="#error54333a730b92benvironment_server" onclick="return koggle('error54333a730b92benvironment_server')">$_SERVER</a></h3>
<div id="error54333a730b92benvironment_server" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>SHELL</code></td>
<td><pre><small>string</small><span>(9)</span> "/bin/bash"</pre></td>
</tr>
<tr>
<td><code>TERM</code></td>
<td><pre><small>string</small><span>(5)</span> "vt100"</pre></td>
</tr>
<tr>
<td><code>LC_ALL</code></td>
<td><pre><small>string</small><span>(1)</span> "C"</pre></td>
</tr>
<tr>
<td><code>USER</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>SUDO_USER</code></td>
<td><pre><small>string</small><span>(7)</span> "vagrant"</pre></td>
</tr>
<tr>
<td><code>SUDO_UID</code></td>
<td><pre><small>string</small><span>(4)</span> "1000"</pre></td>
</tr>
<tr>
<td><code>USERNAME</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>PATH</code></td>
<td><pre><small>string</small><span>(93)</span> "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/vagrant_ruby/bin"</pre></td>
</tr>
<tr>
<td><code>MAIL</code></td>
<td><pre><small>string</small><span>(14)</span> "/var/mail/root"</pre></td>
</tr>
<tr>
<td><code>_</code></td>
<td><pre><small>string</small><span>(12)</span> "/usr/bin/php"</pre></td>
</tr>
<tr>
<td><code>PWD</code></td>
<td><pre><small>string</small><span>(1)</span> "/"</pre></td>
</tr>
<tr>
<td><code>SUDO_COMMAND</code></td>
<td><pre><small>string</small><span>(12)</span> "/bin/bash -l"</pre></td>
</tr>
<tr>
<td><code>HOME</code></td>
<td><pre><small>string</small><span>(5)</span> "/root"</pre></td>
</tr>
<tr>
<td><code>SHLVL</code></td>
<td><pre><small>string</small><span>(1)</span> "2"</pre></td>
</tr>
<tr>
<td><code>LOGNAME</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>SUDO_GID</code></td>
<td><pre><small>string</small><span>(4)</span> "1000"</pre></td>
</tr>
<tr>
<td><code>PHP_SELF</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>SCRIPT_NAME</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>SCRIPT_FILENAME</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>PATH_TRANSLATED</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>DOCUMENT_ROOT</code></td>
<td><pre><small>string</small><span>(0)</span> ""</pre></td>
</tr>
<tr>
<td><code>REQUEST_TIME</code></td>
<td><pre><small>integer</small> 1412643441</pre></td>
</tr>
<tr>
<td><code>argv</code></td>
<td><pre><small>array</small><span>(2)</span> <span>(
0 => <small>string</small><span>(27)</span> "/var/codebase/www/index.php"
1 => <small>string</small><span>(14)</span> "migrations:run"
)</span></pre></td>
</tr>
<tr>
<td><code>argc</code></td>
<td><pre><small>integer</small> 2</pre></td>
</tr>
</table>
</div>
</div>
</div>
STDERR:
---- End output of "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" ----
Ran "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" returned 1
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:248:in `invalid!'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:234:in `error!'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/shell_out.rb:36:in `shell_out!'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider/execute.rb:62:in `action_run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:in `call'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:in `converge!'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:in `each'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:in `converge!'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:136:in `converge'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:125:in `run_action'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource.rb:593:in `run_action'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:49:in `run_action'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in `converge'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in `each'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in `converge'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:80:in `converge'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:378:in `converge'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:420:in `do_run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:176:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:230:in `run_application'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:in `loop'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:in `run_application'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application.rb:70:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/chef-solo:25
/opt/vagrant_ruby/bin/chef-solo:19:in `load'
/opt/vagrant_ruby/bin/chef-solo:19
[2014-10-07T00:57:23+00:00] ERROR: Running exception handlers
[2014-10-07T00:57:23+00:00] ERROR: Exception handlers complete
[2014-10-07T00:57:23+00:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out
[2014-10-07T00:57:23+00:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: bash[migrate database] (vagrant_main::default line 38) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" ----
STDOUT: <style type="text/css">
#kohana_error { background: #ddd; font-size: 1em; font-family:sans-serif; text-align: left; color: #111; }
#kohana_error h1,
#kohana_error h2 { margin: 0; padding: 1em; font-size: 1em; font-weight: normal; background: #911; color: #fff; }
#kohana_error h1 a,
#kohana_error h2 a { color: #fff; }
#kohana_error h2 { background: #222; }
#kohana_error h3 { margin: 0; padding: 0.4em 0 0; font-size: 1em; font-weight: normal; }
#kohana_error p { margin: 0; padding: 0.2em 0; }
#kohana_error a { color: #1b323b; }
#kohana_error pre { overflow: auto; white-space: pre-wrap; }
#kohana_error table { width: 100%; display: block; margin: 0 0 0.4em; padding: 0; border-collapse: collapse; background: #fff; }
#kohana_error table td { border: solid 1px #ddd; text-align: left; vertical-align: top; padding: 0.4em; }
#kohana_error div.content { padding: 0.4em 1em 1em; overflow: hidden; }
#kohana_error pre.source { margin: 0 0 1em; padding: 0.4em; background: #fff; border: dotted 1px #b7c680; line-height: 1.2em; }
#kohana_error pre.source span.line { display: block; }
#kohana_error pre.source span.highlight { background: #f0eb96; }
#kohana_error pre.source span.line span.number { color: #666; }
#kohana_error ol.trace { display: block; margin: 0 0 0 2em; padding: 0; list-style: decimal; }
#kohana_error ol.trace li { margin: 0; padding: 0; }
.js .collapsed { display: none; }
</style>
<script type="text/javascript">
document.documentElement.className = document.documentElement.className + ' js';
function koggle(elem)
{
elem = document.getElementById(elem);
if (elem.style && elem.style['display'])
// Only works with the "style" attr
var disp = elem.style['display'];
else if (elem.currentStyle)
// For MSIE, naturally
var disp = elem.currentStyle['display'];
else if (window.getComputedStyle)
// For most other browsers
var disp = document.defaultView.getComputedStyle(elem, null).getPropertyValue('display');
// Toggle the state of the "display" style
elem.style.display = disp == 'block' ? 'none' : 'block';
return false;
}
</script>
<div id="kohana_error">
<h1><span class="type">Kohana_Exception [ 0 ]:</span> <span class="message">The FirePHP firephp/packages/core/lib/FirePHPCore/FirePHP.class could not be found</span></h1>
<div id="error54333a730b92b" class="content">
<p><span class="file">MODPATH/debug-toolbar/init.php [ 10 ]</span></p>
<pre class="source"><code><span class="line"><span class="number"> 5</span> {
</span><span class="line"><span class="number"> 6</span> $file = 'firephp/packages/core/lib/FirePHPCore/FirePHP.class';
</span><span class="line"><span class="number"> 7</span> $firePHP = Kohana::find_file('vendor', $file);
</span><span class="line"><span class="number"> 8</span>
</span><span class="line"><span class="number"> 9</span> if ( ! $firePHP) {
</span><span class="line highlight"><span class="number">10</span> throw new Kohana_Exception('The FirePHP :file could not be found', array(':file' =&gt; $file));
</span><span class="line"><span class="number">11</span> }
</span><span class="line"><span class="number">12</span>
</span><span class="line"><span class="number">13</span> require_once $firePHP;
</span><span class="line"><span class="number">14</span> }
</span><span class="line"><span class="number">15</span> // Render Debug Toolbar on the end of application execution
</span></code></pre> <ol class="trace">
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource0" onclick="return koggle('error54333a730b92bsource0')">SYSPATH/classes/Kohana/Core.php [ 602 ]</a>
</span>
&raquo;
require_once()
</p>
<pre id="error54333a730b92bsource0" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">597</span> $init = $path.'init'.EXT;
</span><span class="line"><span class="number">598</span>
</span><span class="line"><span class="number">599</span> if (is_file($init))
</span><span class="line"><span class="number">600</span> {
</span><span class="line"><span class="number">601</span> // Include the module initialization file once
</span><span class="line highlight"><span class="number">602</span> require_once $init;
</span><span class="line"><span class="number">603</span> }
</span><span class="line"><span class="number">604</span> }
</span><span class="line"><span class="number">605</span>
</span><span class="line"><span class="number">606</span> return Kohana::$_modules;
</span><span class="line"><span class="number">607</span> }
</span></code></pre></code></pre>
</li>
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource1" onclick="return koggle('error54333a730b92bsource1')">APPPATH/bootstrap.php [ 153 ]</a>
</span>
&raquo;
Kohana_Core::modules(<a href="#error54333a730b92bargs1" onclick="return koggle('error54333a730b92bargs1')">arguments</a>)
</p>
<div id="error54333a730b92bargs1" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>0</code></td>
<td><pre><small>array</small><span>(8)</span> <span>(
"auth" => <small>string</small><span>(26)</span> "/var/codebase/modules/auth"
"cache" => <small>string</small><span>(27)</span> "/var/codebase/modules/cache"
"database" => <small>string</small><span>(30)</span> "/var/codebase/modules/database"
"debug-toolbar" => <small>string</small><span>(35)</span> "/var/codebase/modules/debug-toolbar"
"minion" => <small>string</small><span>(28)</span> "/var/codebase/modules/minion"
"mustache" => <small>string</small><span>(30)</span> "/var/codebase/modules/mustache"
"tasks-migrations" => <small>string</small><span>(38)</span> "/var/codebase/modules/tasks-migrations"
"email" => <small>string</small><span>(27)</span> "/var/codebase/modules/email"
)</span></pre></td>
</tr>
</table>
</div>
<pre id="error54333a730b92bsource1" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">148</span> 'debug-toolbar' =&gt; MODPATH.'debug-toolbar', // Debug toolbar
</span><span class="line"><span class="number">149</span> 'minion' =&gt; MODPATH.'minion', // CLI Tasks
</span><span class="line"><span class="number">150</span> 'mustache' =&gt; MODPATH.'mustache', // Mustache support in Kohana
</span><span class="line"><span class="number">151</span> 'tasks-migrations' =&gt; MODPATH.'tasks-migrations', // CLI Tasks (DB Migrations)
</span><span class="line"><span class="number">152</span> 'email' =&gt; MODPATH.'email', // Postmark Email Library
</span><span class="line highlight"><span class="number">153</span> ));
</span><span class="line"><span class="number">154</span>
</span><span class="line"><span class="number">155</span> // Configure crowdmap profiler on debug toolbar
</span><span class="line"><span class="number">156</span> $crowdmapProfileSummary = array('Zhibek_Crowdmap_Profiler', 'getProfileSummary');
</span><span class="line"><span class="number">157</span> $crowdmapProfileData = array('Zhibek_Crowdmap_Profiler', 'getProfileData');
</span><span class="line"><span class="number">158</span> Debugtoolbar::add_section($crowdmapProfileSummary, $crowdmapProfileData);
</span></code></pre></code></pre>
</li>
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource2" onclick="return koggle('error54333a730b92bsource2')">DOCROOT/index.php [ 107 ]</a>
</span>
&raquo;
require(<a href="#error54333a730b92bargs2" onclick="return koggle('error54333a730b92bargs2')">arguments</a>)
</p>
<div id="error54333a730b92bargs2" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>0</code></td>
<td><pre><small>string</small><span>(39)</span> "/var/codebase/application/bootstrap.php"</pre></td>
</tr>
</table>
</div>
<pre id="error54333a730b92bsource2" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">102</span> if (! defined('KOHANA_START_MEMORY')) {
</span><span class="line"><span class="number">103</span> define('KOHANA_START_MEMORY', memory_get_usage());
</span><span class="line"><span class="number">104</span> }
</span><span class="line"><span class="number">105</span>
</span><span class="line"><span class="number">106</span> // Bootstrap the application
</span><span class="line highlight"><span class="number">107</span> require APPPATH . 'bootstrap' . EXT;
</span><span class="line"><span class="number">108</span>
</span><span class="line"><span class="number">109</span> if (PHP_SAPI == 'cli') // Try and load minion
</span><span class="line"><span class="number">110</span> {
</span><span class="line"><span class="number">111</span> class_exists('Minion_Task') or
</span><span class="line"><span class="number">112</span> die('Please enable the Minion module for CLI support.');
</span></code></pre></code></pre>
</li>
</ol>
</div>
<h2><a href="#error54333a730b92benvironment" onclick="return koggle('error54333a730b92benvironment')">Environment</a></h2>
<div id="error54333a730b92benvironment" class="content collapsed">
<h3><a href="#error54333a730b92benvironment_included" onclick="return koggle('error54333a730b92benvironment_included')">Included files</a> (46)</h3>
<div id="error54333a730b92benvironment_included" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>DOCROOT/index.php</code></td>
</tr>
<tr>
<td><code>APPPATH/vendor/Zhibek/Crowdmap/Client.php</code></td>
</tr>
<tr>
<td><code>APPPATH/bootstrap.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Core.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana.php</code></td>
</tr>
<tr>
<td><code>APPPATH/vendor/Autoloader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/I18n.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/I18n.php</code></td>
</tr>
<tr>
<td><code>APPPATH/classes/Kohana/Exception.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Kohana/Exception.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log/Writer.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log/Writer.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/File/Reader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Reader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Source.php</code></td>
</tr>
<tr>
<td><code>MODPATH/debug-toolbar/init.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Arr.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Arr.php</code></td>
</tr>
<tr>
<td><code>MODPATH/debug-toolbar/config/debug_toolbar.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config/Group.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Group.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Debug.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Debug.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Date.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Date.php</code></td>
</tr>
<tr>
<td><code>APPPATH/classes/View.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/View.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Message.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Message.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Header.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Header.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/views/kohana/error.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/UTF8.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/UTF8.php</code></td>
</tr>
</table>
</div>
<h3><a href="#error54333a730b92benvironment_loaded" onclick="return koggle('error54333a730b92benvironment_loaded')">Loaded extensions</a> (57)</h3>
<div id="error54333a730b92benvironment_loaded" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>Core</code></td>
</tr>
<tr>
<td><code>date</code></td>
</tr>
<tr>
<td><code>ereg</code></td>
</tr>
<tr>
<td><code>libxml</code></td>
</tr>
<tr>
<td><code>openssl</code></td>
</tr>
<tr>
<td><code>pcre</code></td>
</tr>
<tr>
<td><code>zlib</code></td>
</tr>
<tr>
<td><code>bcmath</code></td>
</tr>
<tr>
<td><code>bz2</code></td>
</tr>
<tr>
<td><code>calendar</code></td>
</tr>
<tr>
<td><code>ctype</code></td>
</tr>
<tr>
<td><code>dba</code></td>
</tr>
<tr>
<td><code>dom</code></td>
</tr>
<tr>
<td><code>hash</code></td>
</tr>
<tr>
<td><code>fileinfo</code></td>
</tr>
<tr>
<td><code>filter</code></td>
</tr>
<tr>
<td><code>ftp</code></td>
</tr>
<tr>
<td><code>gettext</code></td>
</tr>
<tr>
<td><code>SPL</code></td>
</tr>
<tr>
<td><code>iconv</code></td>
</tr>
<tr>
<td><code>json</code></td>
</tr>
<tr>
<td><code>mbstring</code></td>
</tr>
<tr>
<td><code>pcntl</code></td>
</tr>
<tr>
<td><code>apc</code></td>
</tr>
<tr>
<td><code>posix</code></td>
</tr>
<tr>
<td><code>readline</code></td>
</tr>
<tr>
<td><code>Reflection</code></td>
</tr>
<tr>
<td><code>session</code></td>
</tr>
<tr>
<td><code>shmop</code></td>
</tr>
<tr>
<td><code>SimpleXML</code></td>
</tr>
<tr>
<td><code>soap</code></td>
</tr>
<tr>
<td><code>sockets</code></td>
</tr>
<tr>
<td><code>standard</code></td>
</tr>
<tr>
<td><code>exif</code></td>
</tr>
<tr>
<td><code>sysvmsg</code></td>
</tr>
<tr>
<td><code>sysvsem</code></td>
</tr>
<tr>
<td><code>sysvshm</code></td>
</tr>
<tr>
<td><code>tokenizer</code></td>
</tr>
<tr>
<td><code>wddx</code></td>
</tr>
<tr>
<td><cod
e>xml</code></td>
</tr>
<tr>
<td><code>xmlreader</code></td>
</tr>
<tr>
<td><code>xmlwriter</code></td>
</tr>
<tr>
<td><code>zip</code></td>
</tr>
<tr>
<td><code>Phar</code></td>
</tr>
<tr>
<td><code>curl</code></td>
</tr>
<tr>
<td><code>gd</code></td>
</tr>
<tr>
<td><code>mcrypt</code></td>
</tr>
<tr>
<td><code>memcache</code></td>
</tr>
<tr>
<td><code>mysql</code></td>
</tr>
<tr>
<td><code>mysqli</code></td>
</tr>
<tr>
<td><code>PDO</code></td>
</tr>
<tr>
<td><code>pdo_mysql</code></td>
</tr>
<tr>
<td><code>pdo_sqlite</code></td>
</tr>
<tr>
<td><code>redis</code></td>
</tr>
<tr>
<td><code>sqlite3</code></td>
</tr>
<tr>
<td><code>xsl</code></td>
</tr>
<tr>
<td><code>mhash</code></td>
</tr>
</table>
</div>
<h3><a href="#error54333a730b92benvironment_server" onclick="return koggle('error54333a730b92benvironment_server')">$_SERVER</a></h3>
<div id="error54333a730b92benvironment_server" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>SHELL</code></td>
<td><pre><small>string</small><span>(9)</span> "/bin/bash"</pre></td>
</tr>
<tr>
<td><code>TERM</code></td>
<td><pre><small>string</small><span>(5)</span> "vt100"</pre></td>
</tr>
<tr>
<td><code>LC_ALL</code></td>
<td><pre><small>string</small><span>(1)</span> "C"</pre></td>
</tr>
<tr>
<td><code>USER</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>SUDO_USER</code></td>
<td><pre><small>string</small><span>(7)</span> "vagrant"</pre></td>
</tr>
<tr>
<td><code>SUDO_UID</code></td>
<td><pre><small>string</small><span>(4)</span> "1000"</pre></td>
</tr>
<tr>
<td><code>USERNAME</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>PATH</code></td>
<td><pre><small>string</small><span>(93)</span> "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/vagrant_ruby/bin"</pre></td>
</tr>
<tr>
<td><code>MAIL</code></td>
<td><pre><small>string</small><span>(14)</span> "/var/mail/root"</pre></td>
</tr>
<tr>
<td><code>_</code></td>
<td><pre><small>string</small><span>(12)</span> "/usr/bin/php"</pre></td>
</tr>
<tr>
<td><code>PWD</code></td>
<td><pre><small>string</small><span>(1)</span> "/"</pre></td>
</tr>
<tr>
<td><code>SUDO_COMMAND</code></td>
<td><pre><small>string</small><span>(12)</span> "/bin/bash -l"</pre></td>
</tr>
<tr>
<td><code>HOME</code></td>
<td><pre><small>string</small><span>(5)</span> "/root"</pre></td>
</tr>
<tr>
<td><code>SHLVL</code></td>
<td><pre><small>string</small><span>(1)</span> "2"</pre></td>
</tr>
<tr>
<td><code>LOGNAME</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>SUDO_GID</code></td>
<td><pre><small>string</small><span>(4)</span> "1000"</pre></td>
</tr>
<tr>
<td><code>PHP_SELF</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>SCRIPT_NAME</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>SCRIPT_FILENAME</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>PATH_TRANSLATED</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>DOCUMENT_ROOT</code></td>
<td><pre><small>string</small><span>(0)</span> ""</pre></td>
</tr>
<tr>
<td><code>REQUEST_TIME</code></td>
<td><pre><small>integer</small> 1412643441</pre></td>
</tr>
<tr>
<td><code>argv</code></td>
<td><pre><small>array</small><span>(2)</span> <span>(
0 => <small>string</small><span>(27)</span> "/var/codebase/www/index.php"
1 => <small>string</small><span>(14)</span> "migrations:run"
)</span></pre></td>
</tr>
<tr>
<td><code>argc</code></td>
<td><pre><small>integer</small> 2</pre></td>
</tr>
</table>
</div>
</div>
</div>
STDERR:
---- End output of "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" ----
Ran "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" returned 1
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:248:in `invalid!'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/mixlib-shellout-1.1.0/lib/mixlib/shellout.rb:234:in `error!'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/shell_out.rb:36:in `shell_out!'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider/execute.rb:62:in `action_run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:in `call'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:63:in `converge!'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:in `each'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/mixin/why_run.rb:61:in `converge!'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:136:in `converge'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/provider.rb:125:in `run_action'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource.rb:593:in `run_action'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:49:in `run_action'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in `converge'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in `each'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:81:in `converge'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:94:in `execute_each_resource'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/resource_collection.rb:92:in `execute_each_resource'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/runner.rb:80:in `converge'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:378:in `converge'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:420:in `do_run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/client.rb:176:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:230:in `run_application'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:in `loop'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application/solo.rb:218:in `run_application'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/../lib/chef/application.rb:70:in `run'
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.14.2/bin/chef-solo:25
/opt/vagrant_ruby/bin/chef-solo:19:in `load'
/opt/vagrant_ruby/bin/chef-solo:19
[2014-10-07T00:57:23+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: bash[migrate database] (vagrant_main::default line 38) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" ----
STDOUT: <style type="text/css">
#kohana_error { background: #ddd; font-size: 1em; font-family:sans-serif; text-align: left; color: #111; }
#kohana_error h1,
#kohana_error h2 { margin: 0; padding: 1em; font-size: 1em; font-weight: normal; background: #911; color: #fff; }
#kohana_error h1 a,
#kohana_error h2 a { color: #fff; }
#kohana_error h2 { background: #222; }
#kohana_error h3 { margin: 0; padding: 0.4em 0 0; font-size: 1em; font-weight: normal; }
#kohana_error p { margin: 0; padding: 0.2em 0; }
#kohana_error a { color: #1b323b; }
#kohana_error pre { overflow: auto; white-space: pre-wrap; }
#kohana_error table { width: 100%; display: block; margin: 0 0 0.4em; padding: 0; border-collapse: collapse; background: #fff; }
#kohana_error table td { border: solid 1px #ddd; text-align: left; vertical-align: top; padding: 0.4em; }
#kohana_error div.content { padding: 0.4em 1em 1em; overflow: hidden; }
#kohana_error pre.source { margin: 0 0 1em; padding: 0.4em; background: #fff; border: dotted 1px #b7c680; line-height: 1.2em; }
#kohana_error pre.source span.line { display: block; }
#kohana_error pre.source span.highlight { background: #f0eb96; }
#kohana_error pre.source span.line span.number { color: #666; }
#kohana_error ol.trace { display: block; margin: 0 0 0 2em; padding: 0; list-style: decimal; }
#kohana_error ol.trace li { margin: 0; padding: 0; }
.js .collapsed { display: none; }
</style>
<script type="text/javascript">
document.documentElement.className = document.documentElement.className + ' js';
function koggle(elem)
{
elem = document.getElementById(elem);
if (elem.style && elem.style['display'])
// Only works with the "style" attr
var disp = elem.style['display'];
else if (elem.currentStyle)
// For MSIE, naturally
var disp = elem.currentStyle['display'];
else if (window.getComputedStyle)
// For most other browsers
var disp = document.defaultView.getComputedStyle(elem, null).getPropertyValue('display');
// Toggle the state of the "display" style
elem.style.display = disp == 'block' ? 'none' : 'block';
return false;
}
</script>
<div id="kohana_error">
<h1><span class="type">Kohana_Exception [ 0 ]:</span> <span class="message">The FirePHP firephp/packages/core/lib/FirePHPCore/FirePHP.class could not be found</span></h1>
<div id="error54333a730b92b" class="content">
<p><span class="file">MODPATH/debug-toolbar/init.php [ 10 ]</span></p>
<pre class="source"><code><span class="line"><span class="number"> 5</span> {
</span><span class="line"><span class="number"> 6</span> $file = 'firephp/packages/core/lib/FirePHPCore/FirePHP.class';
</span><span class="line"><span class="number"> 7</span> $firePHP = Kohana::find_file('vendor', $file);
</span><span class="line"><span class="number"> 8</span>
</span><span class="line"><span class="number"> 9</span> if ( ! $firePHP) {
</span><span class="line highlight"><span class="number">10</span> throw new Kohana_Exception('The FirePHP :file could not be found', array(':file' =&gt; $file));
</span><span class="line"><span class="number">11</span> }
</span><span class="line"><span class="number">12</span>
</span><span class="line"><span class="number">13</span> require_once $firePHP;
</span><span class="line"><span class="number">14</span> }
</span><span class="line"><span class="number">15</span> // Render Debug Toolbar on the end of application execution
</span></code></pre> <ol class="trace">
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource0" onclick="return koggle('error54333a730b92bsource0')">SYSPATH/classes/Kohana/Core.php [ 602 ]</a>
</span>
&raquo;
require_once()
</p>
<pre id="error54333a730b92bsource0" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">597</span> $init = $path.'init'.EXT;
</span><span class="line"><span class="number">598</span>
</span><span class="line"><span class="number">599</span> if (is_file($init))
</span><span class="line"><span class="number">600</span> {
</span><span class="line"><span class="number">601</span> // Include the module initialization file once
</span><span class="line highlight"><span class="number">602</span> require_once $init;
</span><span class="line"><span class="number">603</span> }
</span><span class="line"><span class="number">604</span> }
</span><span class="line"><span class="number">605</span>
</span><span class="line"><span class="number">606</span> return Kohana::$_modules;
</span><span class="line"><span class="number">607</span> }
</span></code></pre></code></pre>
</li>
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource1" onclick="return koggle('error54333a730b92bsource1')">APPPATH/bootstrap.php [ 153 ]</a>
</span>
&raquo;
Kohana_Core::modules(<a href="#error54333a730b92bargs1" onclick="return koggle('error54333a730b92bargs1')">arguments</a>)
</p>
<div id="error54333a730b92bargs1" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>0</code></td>
<td><pre><small>array</small><span>(8)</span> <span>(
"auth" => <small>string</small><span>(26)</span> "/var/codebase/modules/auth"
"cache" => <small>string</small><span>(27)</span> "/var/codebase/modules/cache"
"database" => <small>string</small><span>(30)</span> "/var/codebase/modules/database"
"debug-toolbar" => <small>string</small><span>(35)</span> "/var/codebase/modules/debug-toolbar"
"minion" => <small>string</small><span>(28)</span> "/var/codebase/modules/minion"
"mustache" => <small>string</small><span>(30)</span> "/var/codebase/modules/mustache"
"tasks-migrations" => <small>string</small><span>(38)</span> "/var/codebase/modules/tasks-migrations"
"email" => <small>string</small><span>(27)</span> "/var/codebase/modules/email"
)</span></pre></td>
</tr>
</table>
</div>
<pre id="error54333a730b92bsource1" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">148</span> 'debug-toolbar' =&gt; MODPATH.'debug-toolbar', // Debug toolbar
</span><span class="line"><span class="number">149</span> 'minion' =&gt; MODPATH.'minion', // CLI Tasks
</span><span class="line"><span class="number">150</span> 'mustache' =&gt; MODPATH.'mustache', // Mustache support in Kohana
</span><span class="line"><span class="number">151</span> 'tasks-migrations' =&gt; MODPATH.'tasks-migrations', // CLI Tasks (DB Migrations)
</span><span class="line"><span class="number">152</span> 'email' =&gt; MODPATH.'email', // Postmark Email Library
</span><span class="line highlight"><span class="number">153</span> ));
</span><span class="line"><span class="number">154</span>
</span><span class="line"><span class="number">155</span> // Configure crowdmap profiler on debug toolbar
</span><span class="line"><span class="number">156</span> $crowdmapProfileSummary = array('Zhibek_Crowdmap_Profiler', 'getProfileSummary');
</span><span class="line"><span class="number">157</span> $crowdmapProfileData = array('Zhibek_Crowdmap_Profiler', 'getProfileData');
</span><span class="line"><span class="number">158</span> Debugtoolbar::add_section($crowdmapProfileSummary, $crowdmapProfileData);
</span></code></pre></code></pre>
</li>
<li>
<p>
<span class="file">
<a href="#error54333a730b92bsource2" onclick="return koggle('error54333a730b92bsource2')">DOCROOT/index.php [ 107 ]</a>
</span>
&raquo;
require(<a href="#error54333a730b92bargs2" onclick="return koggle('error54333a730b92bargs2')">arguments</a>)
</p>
<div id="error5
4333a730b92bargs2" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>0</code></td>
<td><pre><small>string</small><span>(39)</span> "/var/codebase/application/bootstrap.php"</pre></td>
</tr>
</table>
</div>
<pre id="error54333a730b92bsource2" class="source collapsed"><code><pre class="source"><code><span class="line"><span class="number">102</span> if (! defined('KOHANA_START_MEMORY')) {
</span><span class="line"><span class="number">103</span> define('KOHANA_START_MEMORY', memory_get_usage());
</span><span class="line"><span class="number">104</span> }
</span><span class="line"><span class="number">105</span>
</span><span class="line"><span class="number">106</span> // Bootstrap the application
</span><span class="line highlight"><span class="number">107</span> require APPPATH . 'bootstrap' . EXT;
</span><span class="line"><span class="number">108</span>
</span><span class="line"><span class="number">109</span> if (PHP_SAPI == 'cli') // Try and load minion
</span><span class="line"><span class="number">110</span> {
</span><span class="line"><span class="number">111</span> class_exists('Minion_Task') or
</span><span class="line"><span class="number">112</span> die('Please enable the Minion module for CLI support.');
</span></code></pre></code></pre>
</li>
</ol>
</div>
<h2><a href="#error54333a730b92benvironment" onclick="return koggle('error54333a730b92benvironment')">Environment</a></h2>
<div id="error54333a730b92benvironment" class="content collapsed">
<h3><a href="#error54333a730b92benvironment_included" onclick="return koggle('error54333a730b92benvironment_included')">Included files</a> (46)</h3>
<div id="error54333a730b92benvironment_included" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>DOCROOT/index.php</code></td>
</tr>
<tr>
<td><code>APPPATH/vendor/Zhibek/Crowdmap/Client.php</code></td>
</tr>
<tr>
<td><code>APPPATH/bootstrap.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Core.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana.php</code></td>
</tr>
<tr>
<td><code>APPPATH/vendor/Autoloader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/I18n.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/I18n.php</code></td>
</tr>
<tr>
<td><code>APPPATH/classes/Kohana/Exception.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Kohana/Exception.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Log/Writer.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Log/Writer.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/File.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/File/Reader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Reader.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Source.php</code></td>
</tr>
<tr>
<td><code>MODPATH/debug-toolbar/init.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Arr.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Arr.php</code></td>
</tr>
<tr>
<td><code>MODPATH/debug-toolbar/config/debug_toolbar.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Config/Group.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Config/Group.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Debug.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Debug.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Date.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Date.php</code></td>
</tr>
<tr>
<td><code>APPPATH/classes/View.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/View.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Response.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Message.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Message.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/HTTP/Header.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/HTTP/Header.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/views/kohana/error.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/UTF8.php</code></td>
</tr>
<tr>
<td><code>SYSPATH/classes/Kohana/UTF8.php</code></td>
</tr>
</table>
</div>
<h3><a href="#error54333a730b92benvironment_loaded" onclick="return koggle('error54333a730b92benvironment_loaded')">Loaded extensions</a> (57)</h3>
<div id="error54333a730b92benvironment_loaded" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>Core</code></td>
</tr>
<tr>
<td><code>date</code></td>
</tr>
<tr>
<td><code>ereg</code></td>
</tr>
<tr>
<td><code>libxml</code></td>
</tr>
<tr>
<td><code>openssl</code></td>
</tr>
<tr>
<td><code>pcre</code></td>
</tr>
<tr>
<td><code>zlib</code></td>
</tr>
<tr>
<td><code>bcmath</code></td>
</tr>
<tr>
<td><code>bz2</code></td>
</tr>
<tr>
<td><code>calendar</code></td>
</tr>
<tr>
<td><code>ctype</code></td>
</tr>
<tr>
<td><code>dba</code></td>
</tr>
<tr>
<td><code>dom</code></td>
</tr>
<tr>
<td><code>hash</code></td>
</tr>
<tr>
<td><code>fileinfo</code></td>
</tr>
<tr>
<td><code>filter</code></td>
</tr>
<tr>
<td><code>ftp</code></td>
</tr>
<tr>
<td><code>gettext</code></td>
</tr>
<tr>
<td><code>SPL</code></td>
</tr>
<tr>
<td><code>iconv</code></td>
</tr>
<tr>
<td><code>json</code></td>
</tr>
<tr>
<td><code>mbstring</code></td>
</tr>
<tr>
<td><code>pcntl</code></td>
</tr>
<tr>
<td><code>apc</code></td>
</tr>
<tr>
<td><code>posix</code></td>
</tr>
<tr>
<td><code>readline</code></td>
</tr>
<tr>
<td><code>Reflection</code></td>
</tr>
<tr>
<td><code>session</code></td>
</tr>
<tr>
<td><code>shmop</code></td>
</tr>
<tr>
<td><code>SimpleXML</code></td>
</tr>
<tr>
<td><code>soap</code></td>
</tr>
<tr>
<td><code>sockets</code></td>
</tr>
<tr>
<td><code>standard</code></td>
</tr>
<tr>
<td><code>exif</code></td>
</tr>
<tr>
<td><code>sysvmsg</code></td>
</tr>
<tr>
<td><code>sysvsem</code></td>
</tr>
<tr>
<td><code>sysvshm</code></td>
</tr>
<tr>
<td><code>tokenizer</code></td>
</tr>
<tr>
<td><code>wddx</code></td>
</tr>
<tr>
<td><code>xml</code></td>
</tr>
<tr>
<td><code>xmlreader</code></td>
</tr>
<tr>
<td><code>xmlwriter</code></td>
</tr>
<tr>
<td><code>zip</code></td>
</tr>
<tr>
<td><code>Phar</code></td>
</tr>
<tr>
<td><code>curl</code></td>
</tr>
<tr>
<td><code>gd</code></td>
</tr>
<tr>
<td><code>mcrypt</code></td>
</tr>
<tr>
<td><code>memcache</code></td>
</tr>
<tr>
<td><code>mysql</code></td>
</tr>
<tr>
<td><code>mysqli</code></td>
</tr>
<tr>
<td><code>PDO</code></td>
</tr>
<tr>
<td><code>pdo_mysql</code></td>
</tr>
<tr>
<td><code>pdo_sqlite</code></td>
</tr>
<tr>
<td><code>redis</code></td>
</tr>
<tr>
<td><code>sqlite3</code></td>
</tr>
<tr>
<td><code>xsl</code></td>
</tr>
<tr>
<td><code>mhash</code></td>
</tr>
</table>
</div>
<h3><a href="#error54333a730b92benvironment_server" onclick="return koggle('error54333a730b92benvironment_server')">$_SERVER</a></h3>
<div id="error54333a730b92benvironment_server" class="collapsed">
<table cellspacing="0">
<tr>
<td><code>SHELL</code></td>
<td><pre><small>string</small><span>(9)</span> "/bin/bash"</pre></td>
</tr>
<tr>
<td><code>TERM</code></td>
<td><pre><small>string</small><span>(5)</span> "vt100"</pre></td>
</tr>
<tr>
<td><code>LC_ALL</code></td>
<td><pre><small>string</small><span>(1)</span> "C"</pre></td>
</tr>
<tr>
<td><code>USER</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>SUDO_USER</code></td>
<td><pre><small>string</small><span>(7)</span> "vagrant"</pre></td>
</tr>
<tr>
<td><code>SUDO_UID</code></td>
<td><pre><small>string</small><span>(4)</span> "1000"</pre></td>
</tr>
<tr>
<td><code>USERNAME</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>PATH</code></td>
<td><pre><small>string</small><span>(93)</span> "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt/vagrant_ruby/bin"</pre></td>
</tr>
<tr>
<td><code>MAIL</code></td>
<td><pre><small>string</small><span>(14)</span> "/var/mail/root"</pre></td>
</tr>
<tr>
<td><code>_</code></td>
<td><pre><small>string</small><span>(12)</span> "/usr/bin/php"</pre></td>
</tr>
<tr>
<td><code>PWD</code></td>
<td><pre><small>string</small><span>(1)</span> "/"</pre></td>
</tr>
<tr>
<td><code>SUDO_COMMAND</code></td>
<td><pre><small>string</small><span>(12)</span> "/bin/bash -l"</pre></td>
</tr>
<tr>
<td><code>HOME</code></td>
<td><pre><small>string</small><span>(5)</span> "/root"</pre></td>
</tr>
<tr>
<td><code>SHLVL</code></td>
<td><pre><small>string</small><span>(1)</span> "2"</pre></td>
</tr>
<tr>
<td><code>LOGNAME</code></td>
<td><pre><small>string</small><span>(4)</span> "root"</pre></td>
</tr>
<tr>
<td><code>SUDO_GID</code></td>
<td><pre><small>string</small><span>(4)</span> "1000"</pre></td>
</tr>
<tr>
<td><code>PHP_SELF</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>SCRIPT_NAME</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>SCRIPT_FILENAME</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>PATH_TRANSLATED</code></td>
<td><pre><small>string</small><span>(27)</span> "/var/codebase/www/index.php"</pre></td>
</tr>
<tr>
<td><code>DOCUMENT_ROOT</code></td>
<td><pre><small>string</small><span>(0)</span> ""</pre></td>
</tr>
<tr>
<td><code>REQUEST_TIME</code></td>
<td><pre><small>integer</small> 1412643441</pre></td>
</tr>
<tr>
<td><code>argv</code></td>
<td><pre><small>array</small><span>(2)</span> <span>(
0 => <small>string</small><span>(27)</span> "/var/codebase/www/index.php"
1 => <small>string</small><span>(14)</span> "migrations:run"
)</span></pre></td>
</tr>
<tr>
<td><code>argc</code></td>
<td><pre><small>integer</small> 2</pre></td>
</tr>
</table>
</div>
</div>
</div>
STDERR:
---- End output of "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" ----
Ran "bash" "/tmp/chef-script20141007-1189-7ksn3t-0" returned 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment