Hi,
I'm not sure this is the right place to write about it but I've
already tried to ask on the user list and got no feedback and it seems
to me it could be a (strange indeed) bug. Before filing a ticket I
wanted to have your opinions first.
Basically what is happening is that when executing the task the shell
command is not showing the ssh password prompt and just "freezing"
waiting for my (impossible) input endlessly.
For the time being I have a couple of workaround for this problem
1) Using PK authentication
2) Modifying line 160 of \lib\task\project
\sfProjectDeployTask.class.php with
$this->log($this->getFilesystem()->sh("start cmd /k rsync --progress
$dryRun $parameters -e $ssh ./ $user$host:$dir"));
as indicated in forum post
http://forum.symfony-project.org/index.php/m/68230/?srch=deploy#msg_68230
(just starts another cmd where to execute the command).
I also tried to play with buffering (removing it) in sfFilesystem::sh
method but to my surprise the problem seemsnot to be there.
A second problem (cwrsync related?) comes when actually deploying the
files: no matter which rsync option I add all remote files get 600
permissions preventing the site to work.
I'm using symfony 1.2.3 stable with php version 5.2.8 and the cwrsync/
ssh suggested on symfony wiki, I execute the deploy task on a Windows
XP box and deploying on a Linux remote host.
The strange thing is that it seems that not many people are
experiencing the same problem but some does and it seems (see forum
post) nobody never got to a real solution and/or bug report. Maybe I'm
theonly one not using Unix here around? :-)
Does anybody know what could be happening here?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---