Can not load repository gitora/test


#1

After creating a new repository “lolcfus” i get this error "Can not load repository gitora/lolcfus"
Can you help me on this problem ?


#2

Hi,

We need more information to see what’s going on. You can send us logs of tomcat and gitora.


#3

hi,
Please find the logs


#4

Hi Riyaz,

As far as I can see there are missing libraries on your system to run git. Can you please install git manually into your system where the logs files are and try again?

Kind Regards,


#5

Hi Serdar,
I’ll install git manually and update you.

Thank you


#6

Hi Serdar,
I manually installed the git into the gitora

/u01/Gerger/GitoraServer/Git/bin
./git --version
git version 2.10.0

but still get the Can not load repository gitora/lofus.

2016-10-04 14:51:10,702 WARN  [http-bio-8080-exec-8] co.gerger.sc.view.GitServlet: getBranchList
2016-10-04 14:51:10,702 DEBUG [http-bio-8080-exec-8] co.gerger.sc.CommandExecuter: Trying to execute command: /u01/Gerger/GitoraServer/Git/bin/git branch -a 
2016-10-04 14:51:10,704 DEBUG [http-bio-8080-exec-8] co.gerger.sc.CommandExecuter: Input String: null
2016-10-04 14:51:10,704 DEBUG [http-bio-8080-exec-8] co.gerger.sc.CommandExecuter: Directory: /u01/Gerger/GitoraServer/repositories/gitora/lofus/
2016-10-04 14:51:10,704 DEBUG [http-bio-8080-exec-8] co.gerger.sc.CommandExecuter: Command Length: 3
2016-10-04 14:51:10,705 DEBUG [http-bio-8080-exec-8] co.gerger.sc.CommandExecuter: Command: /u01/Gerger/GitoraServer/Git/bin/git branch -a 
2016-10-04 14:51:10,705 DEBUG [http-bio-8080-exec-8] co.gerger.sc.CommandExecuter: Command Return Message: 
fatal: Not a git repository (or any of the parent directories): .git

2016-10-04 14:51:10,705 ERROR [http-bio-8080-exec-8] co.gerger.sc.CommandExecuter: Command execution failed. 
org.apache.commons.exec.ExecuteException: Process exited with an error: 128 (Exit value: 128)
	at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:404) ~[commons-exec-1.3.jar:1.3]
	at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166) ~[commons-exec-1.3.jar:1.3]
	at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:153) ~[commons-exec-1.3.jar:1.3]
	at co.gerger.sc.CommandExecuter.execute(CommandExecuter.java:55) ~[classes/:na]
	at co.gerger.sc.AbstractSourceControlClient.call(AbstractSourceControlClient.java:32) [classes/:na]
	at co.gerger.sc.git.GitClient.branch(GitClient.java:106) [classes/:na]
	at co.gerger.sc.controller.GitController.getBranchList(GitController.java:275) [classes/:na]
	at co.gerger.sc.view.GitServlet.doPost(GitServlet.java:215) [classes/:na]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:650) [servlet-api.jar:na]
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731) [servlet-api.jar:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) [catalina.jar:7.0.69]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.69]
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) [tomcat7-websocket.jar:7.0.69]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.69]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.69]
	at co.gerger.filters.GZIPFilter.doFilter(GZIPFilter.java:67) [classes/:na]
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) [catalina.jar:7.0.69]
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) [catalina.jar:7.0.69]
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) [catalina.jar:7.0.69]
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) [catalina.jar:7.0.69]
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505) [catalina.jar:7.0.69]
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169) [catalina.jar:7.0.69]
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) [catalina.jar:7.0.69]
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956) [catalina.jar:7.0.69]
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) [catalina.jar:7.0.69]
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436) [catalina.jar:7.0.69]
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078) [tomcat-coyote.jar:7.0.69]
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625) [tomcat-coyote.jar:7.0.69]
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) [tomcat-coyote.jar:7.0.69]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_60]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_60]
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-coyote.jar:7.0.69]
	at java.lang.Thread.run(Thread.java:745) [na:1.7.0_60]
2016-10-04 14:51:10,706 DEBUG [http-bio-8080-exec-8] co.gerger.sc.view.GitServlet: Command output: 

fatal: Not a git repository (or any of the parent directories): .git
2016-10-04 14:51:10,734 DEBUG [http-bio-8080-exec-5] co.gerger.bdf.view.BDFServlet: webSessionIdFromDB: YkboZ4HRASLWL8IHyWre_04-10-2016_14-49-28:856, statefulYN: null, authenticatedYN: Y, applicationSessionTimeout: 0
2016-10-04 14:51:10,734 DEBUG [http-bio-8080-exec-5] co.gerger.bdf.view.BDFServlet: connactionAge: 1
2016-10-04 14:51:10,736 DEBUG [http-bio-8080-exec-5] co.gerger.bdf.db.ConnectionWarden: oracle.jdbc.driver.LogicalConnection@934724a - closeConnection

#7

Hi Riyaz,
You have to delete and recreate the repository of lofus if you haven’t done it already after installing git.

Kind Regards,


#8

Hi Serder,
Correct, i deleted and created a new repo and now it works.

Thank you for the support
Riyaz