x27;s
application logs to find out why Rails couldn't start, or whether your HTTP
server's configuration is correct, and Rails is listening on the correct
port/ip/socket/domain socket.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On Thu, 6 Jan 2022 at 00:17, Nish wrote:
&
://sanjuancapistrano.org/
This happened something like 2008, or 2011, and we've been running like
this for a decade or more now.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On Tue, 23 Feb 2021 at 15:25, Jefferson C. wrote:
>
> Hello guys,
>
> I would like to know why this
than Capistrano and
as the maintainer for over 10 years now I can say that containers (or, any
technology giving you control over your environment *absolutely*) are an
incredible productivity, security and predictability win.
Regards,
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On M
https://capistranorb.com/documentation/faq/why-does-something-work-in-my-ssh-session-but-not-in-capistrano/
has
a nice graphic to help you understand which files Capistrano may load, and
why, when.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On Sat, 4 May 2019 at 08:50, Francesco
Hi Vincent, linked_dirs links directories from the shared/ path into the
current release. This means as a rule that your public/ from Git will be
replaced by one in shared/. I hope that clears up and misunderstanding from
linked_dirs.
What were you hoping to achieve?
On 12 Dec 2017 20:16, "Vincen
You can quite easily replicate that with something like:
task :invoke_mine do
on roles(:demo), in: :parallel do |host|
execute ENV["COMMAND"]
end
end
It was dropped because it was seldom used as far as we know. I think you
might be the first person in ~4yrs to ask abou
:
- http://www.rubydoc.info/gems/rake/FileUtils#sh-instance_method
You lose a little of the logging niceness from Airbrussh/SSHKit, but
there's no SSH in the game, so I think it's acceptable that hostnames/IPs,
etc are not logged, as it's implicit.
Lee Hambley
http://lee.hambley.name/
+
There isn't really a roadmap, it's "finished" barring staying current and
avoiding "bit rot".
In general Capistrano (v3, since 2013) is designed to be a stable core,
around which a plugin ecosystem can exist without direct intervention or
blessing from us can flourish. V2 was not very extensible,
on the list
use the 4 year old 2.x branch of Capistrano, so it's unlikely people will
be able to help much. The 3.x branch is easier to use and better supported.
(And, to my knowledge supports Symfony just as well, if not better)
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 18 O
Probably you have more than on DB / Migration server defined and
neither/both are flagged "primary".
On 18 Jul 2017 10:35, "Armin Primadi" wrote:
> Versions:
>
>- Ruby - 2.2.3
>- Capistrano - 3.4.1
>- Rake - 10.4.1
>- Rails - 4.1.2
>
> Platform:
>
>- Working on Mac OS X
>
documentation.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 4 July 2017 at 05:55, Sanchita Halder wrote:
> Hello,
>
> I want to add the copy_exclude parameter in Capistrano 3.5.0. But when I
> added , it is not working. I dont want to use .gitattributes .
> Ca
Did you try the steps at
http://capistranorb.com/documentation/faq/why-does-something-work-in-my-ssh-session-but-not-in-capistrano/
?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 26 June 2017 at 16:56, tom wrote:
> HI, im getting the error below during a cap deploy. i can
Hey Justin,
Lee - no this is good info and what I needed. This is our last site using
> Compass at the moment and this may just push us to invest the time we need
> to get rid of Compass. I'm on the Ops, not the Dev side, so will need to
> take this back to the Devs and get
/launchpad.net/~brightbox/+archive/ubuntu/ruby-ng
[2]: https://rvm.io/binaries/
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 14 November 2016 at 22:08, wrote:
> I've updated the code to use that module, but I don't think it's doing
> what we need. I think the pro
Were you using https://github.com/capistrano/rbenv ?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 7 November 2016 at 15:51, wrote:
>
>
> On Sunday, November 6, 2016 at 11:51:16 AM UTC-5, Lee Hambley wrote:
>>
>> Justin,
>>
>> Were you stil
Justin,
Were you still struggling with this?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 4 November 2016 at 14:00, wrote:
> Versions:
>
>- Ruby - ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
>(from /opt/rbenv/shims/ruby)
>- Cap
Great, glad to hear it :)
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 24 October 2016 at 10:18, Arne De Herdt wrote:
> Hey Lee,
>
> I figured out the problem.
> It was actually the VPN that terminates the connection after one hour.
> The entire backup simpl
nd is to run the output of `pg_dump` through
`pv` [1] and set it to print some periodic status update, pv is a pretty
worthwhile little tool anyway, and it might solve this problem really
neatly.
[1]: Pipe Viewer (http://www.ivarch.com/programs/pv.shtml)
Lee Hambley
http://lee.hambley.name/
+49 (0) 170
Hi Faddah,
You might be better served by roots.io whixh is an ansible2 based
WordPress+wp-cli deployment tool which formerly used Capistrano and sounds
a lot like what you're doing.
(Sent from my Nexus 6, please forgive typos!)
On Oct 5, 2016 08:02, "Faddah Steve Yuetsu Wolf" wrote:
> Versions
Hi Haani,
The best thing to do is to look at something like
https://github.com/capistrano/rails plugin and/or something *very* simple
such as https://github.com/harrowio/capistrano-harrow which is a minimal
plugin with one single hook
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On
Hi Nam,
Try it and report back, we don't expect much except for an SSH server and
some pretty standard POSIX tools, it ought to work.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 26 July 2016 at 12:44, wrote:
> Versions:
>
>- Ruby: ???
>- Capistran
Line 21 reads a local file.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 19 July 2016 at 10:57, Frank Laszlo wrote:
> Versions:
>
>- Ruby 2.3.1p112
>- Capistrano 3.5.0
>- Rake 10.5.0
>
> Platform:
>
>- Ubuntu 16.04
>- Cent
Please see
http://capistranorb.com/documentation/getting-started/authentication-and-authorisation/
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 14 June 2016 at 21:34, Sandeep Singh <300bi...@gmail.com> wrote:
> Versions:
>
>- Ruby
>- Capistrano
>
Assuming you use v3+
https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#run-a-command-in-a-different-directory-as-a-different-user
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 10 June 2016 at 11:33, Vidhan Agarwal wrote:
> Hi, I am a sudoer called 'ubuntu
That's probably a problem then Will, perhaps you could open an issue on
Github and we'll look into it?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 8 June 2016 at 15:44, Will Platnick wrote:
> I didn't give every line of code, just an example of what I
es
errors
https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md#make-a-test-or-run-a-command-which-may-fail-without-raising-an-error
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 31 May 2016 at 14:14, Will Platnick wrote:
> Hello,
> I have a capistrano deploy that I overr
g if this is
related to the way Capistrano sets up the connection, or not by looking at
this entry in our FAQ:
*
http://capistranorb.com/documentation/faq/why-does-something-work-in-my-ssh-session-but-not-in-capistrano/
Cheers,
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On
d then signals it after a certain number of seconds, but it ends
up being quite convoluted.
Bash's (assuming you're using the Bourne shell) FAQ #68 has a wealth of
good information: http://mywiki.wooledge.org/BashFAQ/068
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 16 Ma
You can add it to :linked_dirs
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 20 April 2016 at 14:17, Michael K. Ocansey wrote:
> As it stands, my capistrano deployment wipes my destination directory and
> pulls a new copy in from my git repo. After each deployment I n
someone gets a shell on your
machine, you're in unrecoverable trouble anyway.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 31 March 2016 at 00:33, Stefano Schiavi wrote:
> First, thank you all for your help!
> I am posting because I have yet to solve the sudo issue. I
You might want to ask the rbenv community for help. I unfortunately don't
personally, not recommend to run rvm or other ruby version switchers in
production.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 31 March 2016 at 10:11, pan yuan wrote:
> Yeah, I have just
You might want to check
http://www.tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap15sec121.html
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 30 March 2016 at 17:06, wrote:
> Hi Lee,
>
> thanks for the answer, but I can't find a documented solu
Seems like you found outdated guide that aren't clear about which version
of Capistrano they refer to. Please read
https://github.com/capistrano/sshkit#tunneling-and-other-related-ssh-themes
and try that.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 30 March 2016 at 11:00,
Have you read this?
http://capistranorb.com/documentation/faq/why-does-something-work-in-my-ssh-session-but-not-in-capistrano/
(sent from my phone, please excuse typos)
On 30 Mar 2016 7:58 a.m., "pan yuan" wrote:
> Versions:
>
>- Ruby: 2.3.0
>- Capistrano: 3.4.0
>- Rails: 4.2.5
>
> P
to look for SSH config.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 29 March 2016 at 00:52, Mason Leung wrote:
> Hi,
>
> We use capistrano to deploy scala app (we also have rails apps, so
> capistrano is our standardized deploy tool). This (both ruby and
> scala) w
te catches people out frequently enough
that I ought to alias one to the other. Rake as a build tool, invoke is
more useful for avoiding unnecessary work, for tools like Cap, I barely see
the case for having a "once" option.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 18
ps, but I must admit that a handful of lines of pseudo code
from your end would raise my confidence factor in making suggestions 10x.
Cheers, Lee
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 18 March 2016 at 04:48, Eric Rutherford wrote:
> Hello Lee
> No problem at all on t
ion queue whilst I ignore your email next time ;-)
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 16 March 2016 at 19:24, Eric Rutherford wrote:
> Versions:
>
>- Ruby 2.0.0
>- Capistrano 3.4.0
>
> I'm trying to work out a solution to limit the number
eployment requirements,
> Capistrano can easily be extended to support them.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 11 March 2016 at 11:55, Ashwini Choudhari wrote:
> hi , i am new to capistrano, ruby i want to how to use capistrano for non
> ruby application & w
You can't deploy this way. The docs specifically mention a repository must
be reachable by the server to which you deploy. There are some community
(unsupported) plugins which can deploy via *Copy*.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 24 January 2016 at
r are important, and so
can be redirecting stdout/err to a file that isn't bound to the SSH TTY
that Capistrano creates.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 18 December 2015 at 18:30, Carlos Peñas
wrote:
>
> On Friday, 18 December 2015 17:03:17 UTC+1, Lee Hamble
First of all, well read - the `:background => true` is deprecated, because
backgrounding things is hard, and unreliable, basically as you might have
seen all it does it `nohup` and `&` if memory serves.
So there's two things you can do, the one - as you alluded to is `&` on the
end of the line. Th
Hi David,
Still struggling?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 9 December 2015 at 19:06, David Resnick wrote:
> I'm new to Capistrano and am trying to figure something out.
>
> I have a codebase that until now has been a Ruby on Rails application
>
Capistrano.env.server(...)
should work for accessing this method outside the DSL, but it's
unsupported, and I never tried it!
Let me know if it works?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 1 December 2015 at 18:46, Lee Hambley wrote:
> Did you check the implement
Did you check the implementation of server in the "DSL" file?
On 1 Dec 2015 6:34 p.m., "Faissal Elamraoui" wrote:
> Hello everyone,
>
> I have a list of IP addresses which i iterate over to declare Capistrano
> servers (*outside any DSL context*) and i'm wondering how can i pass
> roles as a para
Hi Paul the reference is in the cached repository that Cap uses to speed up
deployments. Log into your server and look for a directory in, or near your
deploy_to directory called something like cached_repo and delete it, it'll
come back on next deploy with new references.
On 1 Dec 2015 4:22 p.m., "
p;& cap deploy
production)" (to avoid having to name the file explicitly)
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 16 November 2015 at 21:01, Charles Mean wrote:
> Versions:
>
>- ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]
>- Capistrano V
It can be dismissed with the "no" button and writes a cookie.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 5 November 2015 at 16:27, wrote:
> Hi,
>
> your modal for displaying a link to
> https://www.harrow.io/hosted-capistrano-for-teams/?utm_source=CAP&a
Theoretically we create a team, and the owner transfers the repo ownership
to "capistrano", then we give the owner back their repo control, the old
one redirects to the new courtesy of GH's redirect feature, and they
continue to work in peace.
Lee Hambley
http://lee.hambley.name/
Good information, thank you for sharing. It's a shame that it hangs without
printing any output, if it would Capistrano would normally print it.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 19 October 2015 at 21:39, Moritz Schepp wrote:
> I just had this problem (I
t;env | grep AUTH")
end
end
task :ssh_add do
on roles(:all) do
execute(:'ssh-add', '-L')
end
end
end
Then simply call those from the command line:
[localhost] $ cap agent_forwarding:env_auth
[localhost] $ cap agent_forwarding:ssh_add
That shoul
Great Martin,
Thanks for the punctual follow up on what was the problem, I read your
mail, but not being a modern Rails user myself, I wasn't too well informed
on how to wrangle the asset pipeline to do what you needed.
Thanks, Lee
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
e know how you get on.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 2 October 2015 at 08:27, Steve Kenworthy wrote:
> Versions:
>
>- Ruby 2.2.2
>- Capistrano 3.4.0
>- Rake 10.4.2
>
> Platform:
>
>- Working on linux
>- Deploying t
in ruby that could be
> run directly in the remote host. But I guess that is limited with
> "oneliner" shell commands.
>
> José
>
> On Friday, September 11, 2015 at 9:13:38 PM UTC+2, Lee Hambley wrote:
>>
>> Hi Jose,
>>
>> It's not clear
file-from-disk
task :fixitup do
on roles(:db) do |host|
upload! './my-local-script.rb', './my-script.rb'
execute :ruby, "./my-script.rb"
end
end
# http://capistranorb.com/documentation/getting-started/before-after/
# http://capistranorb.com/documentation/getting-star
Capistrano relies on uploading a Git wrapper script to force some Git
options otherwise you risk a hanging process. It is not possible to change
the upload method from SCP to SFTP, you might try patching the Git wrapper
command out, and replacing it with one of your own construction.
Lee Hambley
adding a Rakefile with
some common shortcuts.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 27 August 2015 at 21:09, Christopher J. Bottaro
wrote:
> The deploy task doesn't appear to do any filtering, so when I deploy,
> Capistrano tries to deploy application code to my loa
Sorry I can't help, perhaps someone else on the list can.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 19 August 2015 at 18:06, Jacopo Cappelli wrote:
> I'm sure:
>
>
> <https://lh3.googleusercontent.com/-2YHaE790KN4/VdSpBZme3wI/Kf0/b_YsQD3ornA/
Make sure that you have pushed the branch and/or tag.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 19 August 2015 at 17:20, Jacopo Cappelli wrote:
> Hi Lee,
> i try to deploy git tag "2.0" as branch name but not work say me that not
> exist.
> I need to
Capistrano will accept any valid git ref in the "branch" parameter -
assuming this tag/branch/ref exists on the remote as given.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 19 August 2015 at 16:43, Jacopo Cappelli wrote:
> Hi,
> i'm trying to dep
le mess, all feedback is good, and we've had good
feedback from our Alpha testers, it's early days, and we can only improve
from here.
*Thanks for reading, this will be the last explicit unsolicited
announcement about Harrow in this group!*
Try it now, free for at least a month!
<
cumetn (as you see fit) and I'll pull in some of
the other frequent contributors to offer their opinions.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 3 August 2015 at 18:45, James Almond wrote:
> Hi,
>
> We've recently upgraded an old app to v3. From what
Thanks for the followup PJ.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 25 July 2015 at 00:29, Pj Kelly wrote:
> Just closing the loop on this thread. We re-thought this library and
> re-released it under a different name: capistrano-upstart-service.
>
> https:
t be interested in a newish feature of
Capistrano & SSHKit
https://github.com/capistrano/sshkit#using-the-sshkitmappinginteractionhandler
- note however, that needing something like this is a sign that your
deployment environment is most likely poorly designed. TOTP in cases like
this is pseudo sec
> If I replace the server variable in the production.rb file with the
server ip address it works fine.
That's what I suggested to do, by prompting for the server name.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 19 July 2015 at 16:45, Stuart Watson wrote:
> It&
Thats one way, the other would simply be to use `readline` or io/consoel to
read the input, i.e http://stackoverflow.com/a/11765329/119669
server STDIN.noecho(&:gets), roles: %w{foo bar baz}
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 18 July 2015 at 21:53, Stuart Watson w
I'm sorry I can't understand what is not working as you haven't included
the `server(…)` or `role(…)` lines where `roles(:app)` should be populated
from.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 17 July 2015 at 17:01, Stuart Watson wrote:
> Here i
you understand where all the wiring is coming
from (caveat: not all plugins are written as prerequisite hooks, some
simply "extend" tasks to run other tasks)
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 10 July 2015 at 11:03, Chiel Kunkels wrote:
> Will definitely co
Glad you were able to get things working, the flow (as you have seen) does
not document *every* hook, as the list is simply unreasonably long, if you
feel the docs could be improved they are hosted at GH and we would be glad
of any contribution you might make.
Lee Hambley
http://lee.hambley.name
ut some disagreements about whether installing Rubies *during* a
deployment derailed the discussion. (probably more info than you need, but
just to give you the bigger picture)
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 8 July 2015 at 11:15, Stuart Watson wrote:
> Capfile
&
Can you paste your config and logs so that someone might have a look for
you? Thanks!
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 7 July 2015 at 15:13, Stuart Watson wrote:
> Versions:
>
>- Ruby 2
>- Capistrano 3
>- Rake / Rails / etc
>
>
&
Great Stuart,
I was going to say, we expect fetch() and set() to work in that situation,
I'm glad you got it all working.
Ping us if there's anything we can do for you in the future, thanks for
being patient and battling through some of the rough parts.
Lee Hambley
http://lee.hambley
>
> The problem began when I ran: '. capify' on one of my app servers. (I
> had read in a forum post that it might help me identify issues with my
> setup) The output from that command complained about a version mismatch. I
> fixed the issue. Since that point my server output has the inden
seldom needed now that we
don't include it by default.
The deployment/hosting world is now so fragmented with chef, puppet,
ansible, salt, docker, coreos, rocket, xen, lxd, lxc, where would one even
know where to start?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 6 July 20
It appears to be a bug in some versions of capistrano-rails, or you might
have a configuration error http://stackoverflow.com/a/19871874/119669
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 17 June 2015 at 01:38, wrote:
> hi,
>
> I'm trying to deploy my app to prod
At a guess, you have more than one version of Capistrano installed, and
need to specify the correct one to use in your Gemfile, and execute this
command rather with `bundle exec cap ...`.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 15 June 2015 at 22:40, Arup Rakshit wrote
The right way is to use a `.ssh/config` file, which Net:SSH (via SSHKit,
via Capistrano) will pick up, this file can be in your home directory, or
in your project's root. No need to have a Ruby DSL for something for which
we have a perfectly good subsystem.
Lee Hambley
http://lee.hambley
I ask again, where did you see `set :ssh_options, proxy:
Net::SSH::Proxy::Command.new('ssh xxx.xxx.xxx.xxx -W %h:%p')` documented?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 4 June 2015 at 10:47, matteo bruno wrote:
> Hi,
> thanks a lot for your hint!
>
other-related-ssh-themes
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 3 June 2015 at 15:27, matteo bruno wrote:
> Versions:
>
>- Ruby 2.1.2p95
>- Capistrano 3.4
>- Rake / Rails / etc
>
> Platform:
>
>- Working on Ubuntu 14.04
>
rements on
various version of SSHKit, but Capistrano two is unaware of SSHKit and it
will not interfere.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 2 June 2015 at 16:03, Steve Wechsler wrote:
> Thanks for the response. Can SSHkit be installed (I'm not the sysadmin)
>
n often be solved by tunneling and/or remotely starting
thigns with `ssh me@thehost 'thecommand'`, for example. Hard to say without
more info.
But, I'd absolutely avoid using Cap v2 if you're starting out, it's more
than two years since EOL, but very widely documented/blogged
And the result of `$ ssh rreim...@kariera-centr.ru` ?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 26 May 2015 at 21:33, Roman Reimche wrote:
> Versions:
>
>- Ruby 2.2.2
>- Capistrano 3.4.0
>- Rake / Rails / etc 10.4.2 / 4.1.6
>
> Platform
attached to the Capistrano session.
This unfortunately falls outside stuff I can help you with reasonably or
remotely. You *might* have some success learning enough strace to see your
process, and how it behaves when Cap disconnects.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 19
Sorry, I can't see anything wrong with it. :-\
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 19 May 2015 at 02:26, niristotle okram wrote:
> hi Lee,
>
> here is the full /etc/init.d/ script http://pastebin.com/02G5tpgH
>
>
> So, i placed a task to st
ns and bad practices already in sight there,
shellcheck might help you iron some of them out. (That said, honestly the
problem is probably something much simpler.)
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 18 May 2015 at 21:14, niristotle okram wrote:
> Versions:
>
>
read
at least *some* documentation.
I have placed you back in the "requires moderation to post" membership list
here, and will exercise my right to moderate your posts at GitHub as well.
On Friday, 15 May 2015 21:43:06 UTC+2, Kevin Nguyen wrote:
>
> Thanks, Lee. Can you
Sorry no time.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 15 May 2015 at 21:43, Kevin Nguyen wrote:
> Thanks, Lee. Can you take a look at my old deploy.rb? I really dont know
> how to rewrite all of them.
>
> http://pastebin.com/ashcqS4Y
>
> On Friday, May 1
I'm not sure where you expect that unicorn task to come from, probably you
are looking for a plugin like https://github.com/tablexi/capistrano3-unicorn
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 15 May 2015 at 21:29, Kevin Nguyen wrote:
> Versions:
>
>
The error would appear to indicate that the previous release doesn't
contain your asset manifest, did you check?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 12 May 2015 at 18:29, wrote:
> Versions:
>
>- Ruby 2.0
>-
>- gem "capistrano&
file. (We covered "upload!"
and friends there)
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 6 May 2015 at 21:59, Joel Taylor wrote:
> Ok, so I tried that as well - see the commented out 3rd line. But this
> doesn't work either, it runs the command on th
stackoverflow.com/questions/19478733/capistrano-3-0-file-transfers
> which lead to:
> https://github.com/capistrano/sshkit/blob/v1.7.1/lib/sshkit/backends/netssh.rb#L87
>
> On Wed, May 6, 2015 at 3:40 PM, Lee Hambley wrote:
>
>> Where do you see download! () documented?
>&g
asks/sync_db.rb:14:in `block
> (3 levels) in '
>
> /Users/myuser/Sites/mysite.dev/lib/capistrano/tasks/sync_db.rb:10:in `block
> (2 levels) in '
>
> Tasks: TOP => sync_db:to_local
>
> (See full trace by running task with --trace)
>
>
> On Wed, May
Sorry. Docs are the best we can do. The `on()` block is where Capistrano
starts, and Rake ends, outside of `on()`… what server should things be run
on?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 6 May 2015 at 16:55, Joel Taylor wrote:
> Yeh, but that doesn't really
Capistranorb.com ?
On 6 May 2015 12:53 am, "Joel Taylor" wrote:
> Thanks Lee,
> I guess that makes sense - but is there documentation about this? Or do
> you just "know" it? :)
>
> Thx!!
>
>
>
> On Tuesday, May 5, 2015 at 4:13:29 PM UTC-4, Lee Hambl
You're missing the "on()" block, you need to wrap the task inside something
like:
task :downloaddb do
on roles(:db) do # <<<--- you missed
this bit!
# everything from your task here
end
end
Lee Hambley
http://lee.hambley.name/
+4
Cheers, I'll pick you up at GH tomorrow! Thanks!
On 3 May 2015 5:30 pm, "Simon Perdrisat" wrote:
> done. You should had receive a transfer request.
>
> On Sun, May 3, 2015 at 3:24 PM, Lee Hambley wrote:
>
>> Sure!
>> On 3 May 2015 1:47 pm, "Simon Perd
ansferring it to your personal user and then you
> transfer it to the capistrano organisation. Is that ok for you?
>
>
> On Tue, Apr 28, 2015 at 9:11 AM, Simon Perdrisat
> wrote:
>
>> Thanks I receive your invitation.
>>
>> On Mon, Apr 27, 2015 at 1:23 PM, Lee Hamble
Do you perhaps have more than one deploy.rb ?
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 29 April 2015 at 04:33, Vell wrote:
>
>
> On Tuesday, April 28, 2015 at 6:23:51 PM UTC-4, Vell wrote:
>>
>> Versions:
>>
>>- Ruby 2.1.5
>>
I'm sorry I can't be more helpful, but most of it you will find documented
in source code here -
https://github.com/capistrano/capistrano/tree/legacy-v2 specifically under
that tag. The v2 code is now *very* old.
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 29 April 201
I don't know how capistrano_multiconfig works, but probably the problem is
related to
http://chrisroos.co.uk/blog/2007-12-06-ruby-rake-invoke-vs-execute
Lee Hambley
http://lee.hambley.name/
+49 (0) 170 298 5667
On 28 April 2015 at 10:49, Chris Ramakers wrote:
> We're working on
1 - 100 of 1409 matches
Mail list logo