rocketeer icon indicating copy to clipboard operation
rocketeer copied to clipboard

setup canceled: "svn could not be found"

Open richtestani opened this issue 8 years ago • 2 comments

I have an application with this structure:

/public
  /...
/App
   /...
/.rocketeer
/composer.phar
composer.json
/vendor

Both public folder and app folder are in a repository. I run rocketeer setup

|===> Checking presence of svn
svn --version
[[email protected]] (production) bash: svn: command not found
...
|=> Checking presence of required drivers
svn could not be found
The tasks queue was canceled by task "Setup"
Execution time: 3.1266s

if I run 'which svn':

 /usr/bin/svn

is output

I move the the App folder and run the require command to download rocketeer files to the vendor folder, but Im still getting the same error.

My credentials in the config look correct otherwise, but this doesn't seem to be about my config being right. Something else seems off.

Any help here. Thanks Rich

richtestani avatar Apr 27 '16 17:04 richtestani

Hi there,

I had lots of roadblock before, there is possibility something wrong with your user $PATH or bash_profile.

There is a way to manually overrides the path for specific apps required by rocketeer.

Check the file in paths.php, I give you example of mine with PHP, I hacked it to have more memory without any config.

// Path to the PHP binary
'php' => '/usr/local/bin/php -d memory_limit=256M ',
// Your SVN should be like this?
'svn' => ' /usr/bin/svn'

Give it a go. Hope helps :)

kororo avatar May 23 '16 13:05 kororo

Can you run which svn on your server with the same credentials Rocketeer logs in as? What is the output?

Anahkiasen avatar Jul 10 '16 18:07 Anahkiasen