Remote pull not working

Hi Serdar,
I have installed 2 GITORA instances on same host pointing to different database instances. I’m trying to pull the updated package from instance 2 to instance 1, though i see “Merge completed successfully” displayed i dont actually see the package updated on instance 1 with the changes.

Could you please help ?

Instance 1 URL - http://10.0.136.37:8088/gitora/main.html?name=Gitora
Instance 2 URL - http://10.0.136.37:8010/gitora/main.html?name=Gitora

Screenshot of remote connection configuration on instance 1.

2019-06-22 16:16:01,206 DEBUG [http-bio-8088-exec-4] co.gerger.sc.view.GitServlet: Request Parameters
username : admin
directory : gitora/OO_RBMCIT2
sessionId : xpcjQUHDRGD47I3xGFuz_22-06-2019_16-16-01:247
params : [:0:SRBMUAT_OO_RBMUAT/master]
command : merge

2019-06-22 16:16:01,214 DEBUG [http-bio-8088-exec-4] c.g.sc.auth.AuthenticationManager: SQL: begin ?:= BDF_SC_SESSION.isAuthorized(?,?); end;
Token: xpcjQUHDRGD47I3xGFuz_22-06-2019_16-16-01:247
User: admin
OneTime: true
Response: Y:1
2019-06-22 16:16:01,214 WARN [http-bio-8088-exec-4] co.gerger.sc.view.GitServlet: merge
2019-06-22 16:16:01,214 DEBUG [http-bio-8088-exec-4] c.g.s.concurrency.ConcurrencyManager: Acquire lock for repository: gitora/OO_RBMCIT2
2019-06-22 16:16:01,215 DEBUG [http-bio-8088-exec-4] co.gerger.sc.CommandExecuter: Trying to execute command: D:\Program Files\Gerger\GitoraServer\Git\bin\git.exe merge SRBMUAT_OO_RBMUAT/master --no-log --no-progress --no-stat
2019-06-22 16:16:01,367 DEBUG [http-bio-8088-exec-4] co.gerger.sc.CommandExecuter: Execution result: (1)merge: SRBMUAT_OO_RBMUAT/master - not something we can merge

2019-06-22 16:16:01,367 DEBUG [http-bio-8088-exec-4] co.gerger.sc.CommandExecuter: Trying to execute command: D:\Program Files\Gerger\GitoraServer\Git\bin\git.exe reflog
2019-06-22 16:16:01,519 DEBUG [http-bio-8088-exec-4] co.gerger.sc.CommandExecuter: Execution result: (0)3148e81 HEAD@{0}: commit (initial): Initial commit

2019-06-22 16:16:01,519 DEBUG [http-bio-8088-exec-4] co.gerger.sc.CommandExecuter: Trying to execute command: D:\Program Files\Gerger\GitoraServer\Git\bin\git.exe ls-tree -r --name-only HEAD
2019-06-22 16:16:01,671 DEBUG [http-bio-8088-exec-4] co.gerger.sc.CommandExecuter: Execution result: (0)DBOBJECT/PACKAGE.IPGCMRCCALL_BAK
DBOBJECT/PACKAGEBODY.IPGCMRCCALL_BAK

2019-06-22 16:16:01,671 DEBUG [http-bio-8088-exec-4] co.gerger.sc.view.GitServlet: Command output:
A DBOBJECT/PACKAGE.IPGCMRCCALL_BAK
A DBOBJECT/PACKAGEBODY.IPGCMRCCALL_BAK
2019-06-22 16:16:01,694 DEBUG [http-bio-8088-exec-8] co.gerger.sc.view.IOServlet: Request Parameters
username : admin
directory : gitora/OO_RBMCIT2/
sessionId : rCNVgKQJSNQJK5BXDEpc_22-06-2019_16-16-01:723
params : [id: 63, name: no_name, order: 0, id: 64, name: no_name, order: 1]
command : read

2019-06-22 16:16:01,713 DEBUG [http-bio-8088-exec-8] c.g.sc.auth.AuthenticationManager: SQL: begin ?:= BDF_SC_SESSION.isAuthorized(?,?); end;
Token: rCNVgKQJSNQJK5BXDEpc_22-06-2019_16-16-01:723
User: admin
OneTime: true
Response: Y:1
2019-06-22 16:16:01,713 WARN [http-bio-8088-exec-8] co.gerger.sc.view.IOServlet: read
2019-06-22 16:16:01,714 DEBUG [http-bio-8088-exec-8] co.gerger.sc.io.IOClient: getPath: D:\Program Files\Gerger\GitoraServer\repositories\gitora\OO_RBMCIT2
2019-06-22 16:16:01,714 DEBUG [http-bio-8088-exec-8] co.gerger.sc.io.IOClient: read at path: D:\Program Files\Gerger\GitoraServer\repositories\gitora\OO_RBMCIT2\DBOBJECT\PACKAGE.IPGCMRCCALL_BAK
2019-06-22 16:16:01,739 DEBUG [http-bio-8088-exec-9] co.gerger.sc.view.IOServlet: Request Parameters
username : admin
directory : gitora/OO_RBMCIT2/
sessionId : ZXwbfKMPDAZTT06YnTdC_22-06-2019_16-16-01:767
params : [id: 66, name: no_name, order: 0, id: 67, name: no_name, order: 1]
command : read

2019-06-22 16:16:01,742 DEBUG [http-bio-8088-exec-9] c.g.sc.auth.AuthenticationManager: SQL: begin ?:= BDF_SC_SESSION.isAuthorized(?,?); end;
Token: ZXwbfKMPDAZTT06YnTdC_22-06-2019_16-16-01:767
User: admin
OneTime: true
Response: Y:1
2019-06-22 16:16:01,742 WARN [http-bio-8088-exec-9] co.gerger.sc.view.IOServlet: read
2019-06-22 16:16:01,742 DEBUG [http-bio-8088-exec-9] co.gerger.sc.io.IOClient: getPath: D:\Program Files\Gerger\GitoraServer\repositories\gitora\OO_RBMCIT2
2019-06-22 16:16:01,742 DEBUG [http-bio-8088-exec-9] co.gerger.sc.io.IOClient: read at path: D:\Program Files\Gerger\GitoraServer\repositories\gitora\OO_RBMCIT2\DBOBJECT\PACKAGEBODY.IPGCMRCCALL_BAK
2019-06-22 16:16:01,811 DEBUG [http-bio-8088-exec-5] co.gerger.sc.view.GitServlet: Request Parameters
username : admin
directory : gitora/OO_RBMCIT2
sessionId : kDhUGQXXAEQ68TQlNDSd_22-06-2019_16-16-01:852
params : [:0:-m, :1:Merge completed with no issues., :2:DBOBJECT, :3:PACKAGE.IPGCMRCCALL_BAK, :4:DBOBJECT, :5:PACKAGEBODY.IPGCMRCCALL_BAK]
command : commit

2019-06-22 16:16:01,854 DEBUG [http-bio-8088-exec-5] c.g.sc.auth.AuthenticationManager: SQL: begin ?:= BDF_SC_SESSION.isAuthorized(?,?); end;
Token: kDhUGQXXAEQ68TQlNDSd_22-06-2019_16-16-01:852
User: admin
OneTime: true
Response: Y:1
2019-06-22 16:16:01,855 WARN [http-bio-8088-exec-5] co.gerger.sc.view.GitServlet: commit
2019-06-22 16:16:01,855 DEBUG [http-bio-8088-exec-5] c.g.s.concurrency.ConcurrencyManager: Acquire lock for repository: gitora/OO_RBMCIT2
2019-06-22 16:16:01,856 DEBUG [http-bio-8088-exec-5] co.gerger.sc.CommandExecuter: Trying to execute command: D:\Program Files\Gerger\GitoraServer\Git\bin\git.exe config user.name admin
2019-06-22 16:16:02,060 DEBUG [http-bio-8088-exec-5] co.gerger.sc.CommandExecuter: Execution result: (0)
2019-06-22 16:16:02,060 DEBUG [http-bio-8088-exec-5] co.gerger.sc.CommandExecuter: Trying to execute command: D:\Program Files\Gerger\GitoraServer\Git\bin\git.exe config user.email admin
2019-06-22 16:16:03,071 DEBUG [http-bio-8088-exec-5] co.gerger.sc.CommandExecuter: Execution result: (0)
2019-06-22 16:16:03,071 DEBUG [http-bio-8088-exec-5] co.gerger.sc.CommandExecuter: Trying to execute command: D:\Program Files\Gerger\GitoraServer\Git\bin\git.exe add --all DBOBJECT/PACKAGE.IPGCMRCCALL_BAK
2019-06-22 16:16:03,276 DEBUG [http-bio-8088-exec-5] co.gerger.sc.CommandExecuter: Execution result: (0)
2019-06-22 16:16:03,276 DEBUG [http-bio-8088-exec-5] co.gerger.sc.CommandExecuter: Trying to execute command: D:\Program Files\Gerger\GitoraServer\Git\bin\git.exe add --all DBOBJECT/PACKAGEBODY.IPGCMRCCALL_BAK
2019-06-22 16:16:03,483 DEBUG [http-bio-8088-exec-5] co.gerger.sc.CommandExecuter: Execution result: (0)
2019-06-22 16:16:03,483 DEBUG [http-bio-8088-exec-5] co.gerger.sc.CommandExecuter: Trying to execute command: D:\Program Files\Gerger\GitoraServer\Git\bin\git.exe commit -m Merge completed with no issues.
2019-06-22 16:16:03,686 DEBUG [http-bio-8088-exec-5] co.gerger.sc.CommandExecuter: Execution result: (1)On branch master
nothing to commit, working directory clean

2019-06-22 16:16:03,686 DEBUG [http-bio-8088-exec-5] co.gerger.sc.view.GitServlet: Command output:
On branch master
nothing to commit, working directory clean

2019-06-22 16:16:03,701 DEBUG [http-bio-8088-exec-7] co.gerger.sc.view.GitServlet: Request Parameters
username : admin
directory : gitora/OO_RBMCIT2
sessionId : XvBBW8NB7HGLAK1CvRjT_22-06-2019_16-16-03:743
params : null
command : getBranchList

2019-06-22 16:16:03,725 DEBUG [http-bio-8088-exec-7] c.g.sc.auth.AuthenticationManager: SQL: begin ?:= BDF_SC_SESSION.isAuthorized(?,?); end;
Token: XvBBW8NB7HGLAK1CvRjT_22-06-2019_16-16-03:743
User: admin
OneTime: true
Response: Y:1
2019-06-22 16:16:03,726 WARN [http-bio-8088-exec-7] co.gerger.sc.view.GitServlet: getBranchList
2019-06-22 16:16:03,727 DEBUG [http-bio-8088-exec-7] co.gerger.sc.CommandExecuter: Trying to execute command: D:\Program Files\Gerger\GitoraServer\Git\bin\git.exe branch -a
2019-06-22 16:16:03,880 DEBUG [http-bio-8088-exec-7] co.gerger.sc.CommandExecuter: Execution result: (0)* master

2019-06-22 16:16:03,880 DEBUG [http-bio-8088-exec-7] co.gerger.sc.view.GitServlet: Command output:
*master
2019-06-22 16:16:03,949 DEBUG [http-bio-8088-exec-1] co.gerger.bdf.view.BDFServlet: webSessionIdFromDB: YiQCxF68I51XF4JNxcEw_22-06-2019_16-04-53:605, statefulYN: null, authenticatedYN: Y, applicationSessionTimeout: 0
2019-06-22 16:16:03,950 DEBUG [http-bio-8088-exec-1] co.gerger.bdf.view.BDFServlet: connectionAge: 24
2019-06-22 16:16:03,959 DEBUG [http-bio-8088-exec-1] co.gerger.bdf.db.ConnectionWarden: ProxyConnection[PooledConnection[oracle.jdbc.driver.T4CConnection@18679242]] - closeConnection

Hi Murali,

I believe the reason is the git-daemon port. We should set a different port number to the second git-daemon. To do that, stop both tomcat servers and open GITORA_HOME_2/gitblit-config/gitblit.properties and the following properties and restart servers.

git.daemonPort = <some value other than 9418>
git.sshPort = <some value other than 29418>

Kind regards,

Hi Serdar,
I have updated gitblit.properties as suggested and have started the instances but now the remote repositories are not displaying in drop down.

2019-06-24%2018_51_43-Clipboard

Hi Murali,

Please open remote connections dialog from Gitora menu and update the the new port values. This should help.

Even after updating the port values the remote repository is not displayed yet. Can you please help ?

Can you try deleting and re-adding remote connections?

I tried but not working. Can you please help ?