Can't do pull from remote when 2 gitora's running on same host


#1

Hi @Serdar / @yalimgerger,

I finally manged to install 2 Gitora’s on the smae host following @MichielA instructions from here:

I’ve changed the ports exactly as @MichielA recommended and when I do the pull from remote repo, the tomcat logs don’t show any errors. In gitora I also get the 'Merge has been successful’ message, but the code changes have not been copied over from the remote repo.
Any ideas/hints on this?

Below is an excerpt from the tomcat logs when I do the pull operation. Everything seems fine:

2018-05-30 16:06:51,567 WARN [http-bio-8081-exec-9] co.gerger.sc.view.GitServlet: getBranchList
2018-05-30 16:06:51,730 WARN [http-bio-8081-exec-6] co.gerger.sc.view.GitServlet: show
2018-05-30 16:13:04,068 WARN [http-bio-8081-exec-2] co.gerger.sc.view.RemoteServlet: getRepoList
2018-05-30 16:13:11,623 WARN [http-bio-8081-exec-5] co.gerger.sc.view.RemoteServlet: getBranchList
2018-05-30 16:13:15,756 WARN [http-bio-8081-exec-1] co.gerger.sc.view.GitServlet: remote
2018-05-30 16:13:15,968 WARN [http-bio-8081-exec-4] co.gerger.sc.view.GitServlet: fetch
2018-05-30 16:13:16,178 WARN [http-bio-8081-exec-3] co.gerger.sc.view.GitServlet: getNewFiles
2018-05-30 16:13:16,689 WARN [http-bio-8081-exec-10] co.gerger.sc.view.RemoteServlet: getFileSchemaList
2018-05-30 16:13:24,970 WARN [http-bio-8081-exec-9] co.gerger.sc.view.RemoteServlet: validateLicense
2018-05-30 16:13:25,019 WARN [http-bio-8081-exec-6] co.gerger.sc.view.GitServlet: remote
2018-05-30 16:13:25,179 WARN [http-bio-8081-exec-5] co.gerger.sc.view.GitServlet: fetch
2018-05-30 16:13:25,447 WARN [http-bio-8081-exec-8] co.gerger.sc.view.GitServlet: merge
2018-05-30 16:13:25,966 WARN [http-bio-8081-exec-1] co.gerger.sc.view.IOServlet: read
2018-05-30 16:13:25,981 WARN [http-bio-8081-exec-4] co.gerger.sc.view.IOServlet: read
2018-05-30 16:13:26,025 WARN [http-bio-8081-exec-3] co.gerger.sc.view.GitServlet: commit
2018-05-30 16:13:26,903 WARN [http-bio-8081-exec-10] co.gerger.sc.view.GitServlet: getBranchList


#2

Hi Marcel,

I am sorry to hear that.

Unfortunately, these logs don’t tell much. Can you share the complete logs under tomcat/logs folder?

Kind Regards,


#3

Below are the logs from the GITORA instance where I want to pull into.

Localhost_access_log:
10.53.50.186 - - [07/Jun/2018:10:22:07 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 200
10.53.50.186 - - [07/Jun/2018:10:22:14 +0300] “POST /gitora/sc/git?getBranchList HTTP/1.1” 200 46
10.53.50.186 - - [07/Jun/2018:10:22:14 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 588
10.53.50.186 - - [07/Jun/2018:10:22:14 +0300] “GET /gitora/js/ext-2.2/resources/images/default/tree/arrows.gif HTTP/1.1” 200 617
10.53.50.186 - - [07/Jun/2018:10:22:14 +0300] “GET /gitora/icons/mainTree/schemas.png HTTP/1.1” 200 980
10.53.50.186 - - [07/Jun/2018:10:22:16 +0300] “GET /gitblit/summary/?r=gitora_prod/SCOTT HTTP/1.1” 200 35606
10.53.50.186 - - [07/Jun/2018:10:22:16 +0300] “GET /gitblit/clippy.png HTTP/1.1” 200 561
10.53.50.186 - - [07/Jun/2018:10:22:16 +0300] “GET /gitblit/lock_go_16x16.png HTTP/1.1” 200 777
10.53.50.186 - - [07/Jun/2018:10:22:16 +0300] “GET /gitblit/git-black_32x32.png HTTP/1.1” 200 677
10.53.50.186 - - [07/Jun/2018:10:22:16 +0300] “GET /gitblit/smartgithg_32x32.png HTTP/1.1” 200 1007
10.53.50.186 - - [07/Jun/2018:10:22:16 +0300] “GET /gitblit/sourcetree_32x32.png HTTP/1.1” 200 2848
10.53.50.186 - - [07/Jun/2018:10:22:16 +0300] “GET /gitblit/github_32x32.png HTTP/1.1” 200 1714
10.53.50.186 - - [07/Jun/2018:10:22:16 +0300] “GET /gitblit/tortoise32.png HTTP/1.1” 200 1225
10.53.50.186 - - [07/Jun/2018:10:22:17 +0300] “GET /gitblit/graph/?r=gitora_prod/SCOTT&h=6eee678934ba59afd0a4f8e1616ea66c61e02b0a&l=8 HTTP/1.1” 200 420
10.53.50.186 - - [07/Jun/2018:10:22:17 +0300] “GET /gitblit/bootstrap/img/glyphicons-halflings.png HTTP/1.1” 200 13826
10.53.50.186 - - [07/Jun/2018:10:22:17 +0300] “GET /gitblit/arrow_project.png HTTP/1.1” 200 201
10.53.50.186 - - [07/Jun/2018:10:22:19 +0300] “POST /gitora/sc/git?getBranchList HTTP/1.1” 200 -
10.53.50.186 - - [07/Jun/2018:10:22:19 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 1625
10.53.50.186 - - [07/Jun/2018:10:22:28 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 167
10.53.50.186 - - [07/Jun/2018:10:22:30 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 2058
10.53.50.186 - - [07/Jun/2018:10:22:30 +0300] “GET /gitora/css/images/find.png HTTP/1.1” 200 425
10.53.50.186 - - [07/Jun/2018:10:25:00 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 166
10.53.50.186 - - [07/Jun/2018:10:25:10 +0300] “GET /gitora/js/ext-2.2/resources/images/default/menu/menu.gif HTTP/1.1” 200 99
10.53.50.186 - - [07/Jun/2018:10:25:10 +0300] “GET /gitora/icons/menubar/open.png HTTP/1.1” 200 374
10.53.50.186 - - [07/Jun/2018:10:25:10 +0300] “GET /gitora/icons/menubar/create.png HTTP/1.1” 200 534
10.53.50.186 - - [07/Jun/2018:10:25:10 +0300] “GET /gitora/icons/menubar/dish.png HTTP/1.1” 200 467
10.53.50.186 - - [07/Jun/2018:10:25:10 +0300] “GET /gitora/icons/menubar/delete.png HTTP/1.1” 200 497
10.53.50.186 - - [07/Jun/2018:10:25:10 +0300] “GET /gitora/icons/menubar/user.png HTTP/1.1” 200 552
10.53.50.186 - - [07/Jun/2018:10:25:12 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 1331
10.53.50.186 - - [07/Jun/2018:10:25:12 +0300] “GET /gitora/icons/mainframe/delete.png HTTP/1.1” 200 689
10.53.50.186 - - [07/Jun/2018:10:25:12 +0300] “GET /gitora/icons/mainframe/create.png HTTP/1.1” 200 448
10.53.50.186 - - [07/Jun/2018:10:25:28 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 168
10.53.50.186 - - [07/Jun/2018:10:25:41 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 852
10.53.50.186 - - [07/Jun/2018:10:25:43 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 161
10.53.50.186 - - [07/Jun/2018:10:25:45 +0300] “POST /gitora/sc/remote?getRepoList HTTP/1.1” 200 21
10.53.50.186 - - [07/Jun/2018:10:25:45 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 332
10.53.50.186 - - [07/Jun/2018:10:25:51 +0300] “POST /gitora/sc/remote?getBranchList HTTP/1.1” 200 34
10.53.50.186 - - [07/Jun/2018:10:25:51 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 289
10.53.50.186 - - [07/Jun/2018:10:25:55 +0300] “POST /gitora/sc/git?remote HTTP/1.1” 200 53
10.53.50.186 - - [07/Jun/2018:10:25:56 +0300] “POST /gitora/sc/git?fetch HTTP/1.1” 200 126
10.53.50.186 - - [07/Jun/2018:10:25:56 +0300] “POST /gitora/sc/git?getNewFiles HTTP/1.1” 200 -
10.53.50.186 - - [07/Jun/2018:10:25:56 +0300] “POST /gitora/sc/remote?getFileSchemaList HTTP/1.1” 200 -
10.53.50.186 - - [07/Jun/2018:10:25:56 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 202
10.53.50.186 - - [07/Jun/2018:10:26:02 +0300] “POST /gitora/sc/remote?validateLicense HTTP/1.1” 200 -
10.53.50.186 - - [07/Jun/2018:10:26:02 +0300] “POST /gitora/sc/git?remote HTTP/1.1” 200 53
10.53.50.186 - - [07/Jun/2018:10:26:02 +0300] “POST /gitora/sc/git?fetch HTTP/1.1” 200 126
10.53.50.186 - - [07/Jun/2018:10:26:03 +0300] “POST /gitora/sc/git?merge HTTP/1.1” 200 62
10.53.50.186 - - [07/Jun/2018:10:26:05 +0300] “POST /gitora/sc/git?commit HTTP/1.1” 200 60
10.53.50.186 - - [07/Jun/2018:10:26:05 +0300] “POST /gitora/sc/git?getBranchList HTTP/1.1” 200 46
10.53.50.186 - - [07/Jun/2018:10:26:05 +0300] “POST /gitora/bdfservlet HTTP/1.1” 200 954
10.53.50.186 - - [07/Jun/2018:10:26:05 +0300] “GET /gitora/js/ext-2.2/resources/images/default/button/btn-sprite.gif HTTP/1.1” 200 1078
10.53.50.186 - - [07/Jun/2018:10:26:05 +0300] “GET /gitora/js/ext-2.2/resources/images/default/progress/progress-bg.gif HTTP/1.1” 200 143
10.53.50.186 - - [07/Jun/2018:10:26:05 +0300] “GET /gitora/js/ext-2.2/resources/images/default/qtip/bg.gif HTTP/1.1” 200 497
10.53.50.186 - - [07/Jun/2018:10:26:05 +0300] “GET /gitora/js/ext-2.2/resources/images/default/window/icon-info.gif HTTP/1.1” 200 1609
10.53.50.186 - - [07/Jun/2018:10:26:05 +0300] “GET /gitblit/summary/?r=gitora_prod/SCOTT HTTP/1.1” 200 35606
10.53.50.186 - - [07/Jun/2018:10:26:05 +0300] “GET /gitblit/graph/?r=gitora_prod/SCOTT&h=6eee678934ba59afd0a4f8e1616ea66c61e02b0a&l=8 HTTP/1.1” 304 -

manager log:
Jun 07, 2018 9:59:17 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Associated with Deployer ‘Catalina:type=Deployer,host=localhost’
Jun 07, 2018 9:59:17 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Global resources are available
Jun 07, 2018 9:59:17 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host ‘localhost’

Localhost log:
Jun 07, 2018 9:23:33 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jun 07, 2018 9:23:33 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jun 07, 2018 9:23:33 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded(‘org.apache.jasper.compiler.TldLocationsCache’, ‘org.apache.jasper.compiler.TldLocationsCache@77232d2c’)
Jun 07, 2018 9:33:18 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jun 07, 2018 9:33:18 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jun 07, 2018 9:33:18 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded(‘org.apache.jasper.compiler.TldLocationsCache’, ‘org.apache.jasper.compiler.TldLocationsCache@462899f3’)
Jun 07, 2018 9:46:13 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
Jun 07, 2018 9:46:13 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
Jun 07, 2018 9:46:13 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: attributeAdded(‘org.apache.jasper.compiler.TldLocationsCache’, ‘org.apache.jasper.compiler.TldLocationsCache@4d688a91’)