i want to run the latest days code available so i setup a system and
ran
git clone
ssh
:
//git
@git.freepbx.org
/freepbx/framework
.git
and it fails
/usr/src/freepbx# git clone ssh://[email protected]/freepbx/framework.git
Cloning into ‘framework’…
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
So I try the development environment
cd
/usr/src
git clone https:
//git.freepbx.org/scm/freepbx/devtools.git
cd/usr/src/devtools
.
/freepbx_git
.php --setup --mode=
ssh
–switch=release
/15
.0 --keys=freepbx`
It wanted a login pass so I did this then I logged into the git.freepbx.org and made a key and added this and i am still stuck …
/usr/src/devtools# ./freepbx_git.php --setup --mode=ssh --switch=release/15.0 --keys=freepbx
FreePBX Username: roger8
FreePBX Password: **********
Cloning amd into /usr/src/amd…/usr/src/amd Already Exists, Skipping (use --force to force)
Cloning announcement into /usr/src/announcement…PHP Fatal error: Uncaught Exception: Cloning into ‘/usr/src/announcement’…
warning: --local is ignored
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.Please make sure you have the correct access rights
and the repository exists.
in /usr/src/devtools/libraries/Git.php:262
Stack trace:
#0 /usr/src/devtools/libraries/Git.php(277): GitRepo->run_command(‘/usr/bin/git cl…’)
#1 /usr/src/devtools/libraries/Git.php(358): GitRepo->run(‘clone --local s…’)
#2 /usr/src/devtools/libraries/Git.php(137): GitRepo->clone_from(‘ssh://[email protected]…’)
#3 /usr/src/devtools/libraries/Git.php(63): GitRepo::create_new(‘/usr/src/announ…’, ‘ssh://[email protected]…’)
#4 /usr/src/devtools/libraries/freepbx.php(231): Git::create(‘/usr/src/announ…’, ‘ssh://[email protected]…’)
#5 /usr/src/devtools/freepbx_git.php(299): freepbx->setupDevRepos(‘/usr/src’, false, ‘ssh’, ‘release/15.0’, ‘freepbx’)
#6 {main}
thrown in /usr/src/devtools/libraries/Git.php on line 262