1234- / gitblit

Automatically exported from code.google.com/p/gitblit
Apache License 2.0
1 stars 0 forks source link

Failed startup of context GitBlit 1.6.2 #523

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure the context
2. Start GitBlit

What is the expected output? What do you see instead?

[INFO ] *****************************************************************
2014-10-30 13:32:12 [INFO ]             _____  _  _    _      _  _  _
2014-10-30 13:32:12 [INFO ]            |  __ \(_)| |  | |    | |(_)| |
2014-10-30 13:32:12 [INFO ]            | |  \/ _ | |_ | |__  | | _ | |_
2014-10-30 13:32:12 [INFO ]            | | __ | || __|| '_ \ | || || __|
2014-10-30 13:32:12 [INFO ]            | |_\ \| || |_ | |_) || || || |_
2014-10-30 13:32:12 [INFO ]             \____/|_| \__||_.__/ |_||_| \__|
2014-10-30 13:32:12 [INFO ]                          Gitblit v1.6.2
2014-10-30 13:32:12 [INFO ]
2014-10-30 13:32:12 [INFO ] 
*****************************************************************
2014-10-30 13:32:12 [INFO ] Running on Linux (3.10.0-123.8.1.el7.x86_64)
2014-10-30 13:32:12 [INFO ] Logging initialized @343ms
2014-10-30 13:32:12 [INFO ] Setting up HTTP transport on port 10000
2014-10-30 13:32:12 [WARN ] Failed to create temp dir 
/opt/app/gitblit/1.6.2/data/temp
2014-10-30 13:32:12 [INFO ] Shutdown Monitor listening on port 20000
2014-10-30 13:32:12 [INFO ] jetty-9.2.3.v20140905
2014-10-30 13:32:12 [WARN ] Failed startup of context 
o.e.j.w.WebAppContext@6276ae34{/git,null,null}{file:/opt/app/gitblit/1.6.2/gitbl
it.jar}
java.lang.IllegalStateException: Temp dir /opt/app/gitblit/1.6.2/data/temp not 
useable: writeable=false, dir=false
        at org.eclipse.jetty.webapp.WebInfConfiguration.configureTempDirectory(WebInfConfiguration.java:384)
        at org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory(WebInfConfiguration.java:260)
        at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:69)
        at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:460)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:496)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
        at org.eclipse.jetty.server.Server.start(Server.java:387)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
        at org.eclipse.jetty.server.Server.doStart(Server.java:354)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at com.gitblit.GitBlitServer.start(GitBlitServer.java:475)
        at com.gitblit.GitBlitServer.main(GitBlitServer.java:124)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:483)
        at org.moxie.MxLauncher.main(MxLauncher.java:129)
2014-10-30 13:32:12 [INFO ] Started 
ServerConnector@6cc4c815{HTTP/1.1}{0.0.0.0:10000}
2014-10-30 13:32:12 [INFO ] Started @461ms

What version of the product are you using? On what operating system?

Gitblit 1.6.2
Centos 6.5

Please provide any additional information below.

Original issue reported on code.google.com by yago...@gmail.com on 30 Oct 2014 at 1:10

GoogleCodeExporter commented 9 years ago
This steps where done to update from 1.6.0

Original comment by yago...@gmail.com on 30 Oct 2014 at 1:13

GoogleCodeExporter commented 9 years ago
java.lang.IllegalStateException: Temp dir /opt/app/gitblit/1.6.2/data/temp  
not useable: writeable=false, dir=false

Gitblit can't extract into the temp folder because of the filsystem permissions.

Original comment by James.Mo...@gmail.com on 30 Oct 2014 at 1:16

GoogleCodeExporter commented 9 years ago
Thanks James.

I didn´t check properly.

Solved so this can be closed.

Original comment by yago...@gmail.com on 30 Oct 2014 at 1:28

GoogleCodeExporter commented 9 years ago

Original comment by James.Mo...@gmail.com on 30 Oct 2014 at 1:29