Skip to content

Instantly share code, notes, and snippets.

** [out :: 50.18.126.118] * Stopping web server apache2
** [out :: 50.18.126.118] ... waiting
** [out :: 50.18.126.118] [ OK ]
** [out :: 50.18.126.118] * Starting web server apache2
** [out :: 50.18.126.118] (13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
** [out :: 50.18.126.118] no listening sockets available, shutting down
** [out :: 50.18.126.118] Unable to open logs
** [out :: 50.18.126.118] [fail]
command finished in 1704ms
failed: "sh -c 'sudo -p '\\''sudo password: '\\'' /etc/init.d/apache2 stop; /etc/init.d/apache2 start'" on 50.18.126.118
<?xml version="1.0" encoding="UTF-8" ?>
thisyear: 2012
thisweek: 35
firstweek: 18
firstweekYear: 2010
totalweek: 71
lastweek: 8/20/2012
<chart>
--- a/config/deploy.rb
+++ b/config/deploy.rb
@@@ -21,7 -21,11 +21,15 @@@ set :shared_files, %w(
set :keep_releases, 3
namespace :deploy do
++<<<<<<< HEAD
+ task :stop_apache, :roles => :web, :on_no_matching_servers => :continue do
++=======
+ task :permissions do
tchrist@tchrist-VirtualBox:~/workspace/app$ ./symfony test:salesforceApi
Pulling Campaign ...
Pulling Lead ...
Pulling Account ...
Pulling Contact ...
Pulling Opportunity ...
Pulling Contact ...
Pulling Case ...
Pulling Solution ...
array(1) {
triggering load callbacks
* executing `prod-queue'
triggering start callbacks for `deploy:migrate'
* executing `multistage:ensure'
* executing `deploy:migrate'
triggering before callbacks for `deploy:migrate'
* executing `symfony:lock'
* executing "ls -x /var/www/production/releases"
`symfony:lock' is only run for servers matching {:roles=>:web}, but no servers matched
* executing "cd /var/www/staging/releases/20120817152200 && php ./symfony project:permissions"
servers: ["50.18.126.118"]
[50.18.126.118] executing command
** [out :: 50.18.126.118] >> chmod 777 /var/www/staging/releases/20120817152200/web/uploads
** [out :: 50.18.126.118] >> chmod 777 /var/www/staging/releases/20120817152200/cache
** [out :: 50.18.126.118] >> chmod 777 /var/www/staging/releases/20120817152200/log
** [out :: 50.18.126.118] >> chmod 777 /var/www/staging/releases/20120817152200/symfony
** [out :: 50.18.126.118] >> chmod 666 /var/www/staging/releases/20120817152200/log/build.log
** [out :: 50.18.126.118]
** [out :: 50.18.126.118] Permissions on the following file(s) could not be fixed:
--- a/lib/model/FieldUser.php
+++ b/lib/model/FieldUser.php
@@ -2221,9 +2221,10 @@ SQL;
}
$client = FieldClientPeer::getClient();
+ $admin = $client->getNetworkAdmin();
- if ($client->getNetworkAdmin() InstanceOf FieldUser &&
- $this->getId() == $client->getNetworkAdmin()->getId())
[18368.857468] INFO: task apache2:2535 blocked for more than 120 seconds.
[18368.857482] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[18368.857488] apache2 D 0000000000000000 0 2535 1071 0x00000000
[18368.857492] ffff8801d9041d28 0000000000000282 0000000000000400 ffff8801d9041ca8
[18368.857495] 0000000000000400 ffff8801d9041cf0 ffff8801aa60e678 ffff8801d9041fd8
[18368.857498] ffff8801aa60e2c0 ffff8801aa60e2c0 ffff8801aa60e2c0 ffff8801d9041fd8
[18368.857501] Call Trace:
[18368.857511] [<ffffffff8103430a>] ? enqueue_entity+0x11a/0x1a0
[18368.857515] [<ffffffff810384a8>] ? check_preempt_wakeup+0x2a8/0x3b0
[18368.857523] [<ffffffff814ae735>] schedule_timeout+0x1e5/0x2c0
--- a/data/003-basic-settings/002-client-applications.yml
+++ b/data/003-basic-settings/002-client-applications.yml
@@ -44,4 +44,6 @@ FieldClientApplication:
FieldClientApplication_IMAPInvite:
client_id: FieldClient_Default
application_id: FieldApplication_IMAPInvite
-
+ FieldClientApplication_RestApi:
+ client_id: FieldClient_Default
+ application_id: FieldApplication_RestApi
--- a/test/features/topics/app-permission.feature
+++ b/test/features/topics/app-permission.feature
@@ -24,5 +24,5 @@ Feature:
And I type "Hi! #helloworldDisabled" into "statusPost_comment"
And I click element with id "pubButton"
And I wait for the page to load
- Then I should see "#helloworldDisabled" in the "div#feed span.item" element
- And I should not see "#helloworldDisabled" in the "div#feed span.item a" element
+ Then I should see "#helloworldDisabled" in the "div#feed span.feed-item" element
+ And I should not see "#helloworldDisabled" in the "div#feed span.feed-item a" element