Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

503 again in 4.14.1 #1658

Open
VitaliyAT opened this issue Jul 29, 2017 · 4 comments
Open

503 again in 4.14.1 #1658

VitaliyAT opened this issue Jul 29, 2017 · 4 comments

Comments

@VitaliyAT
Copy link

Get 503 error when trying open gitbucket. The same result through: localhost, 127.0.0.1, ...keendns.net (through internet) and 8080 port. Vertion of GB is 4.14.1. Windows 10.

D:\[SERVER]\gitBucket>java -jar D:\[SERVER]\gitBucket\gitbucket.war --gitbucket.home=D:\[SERVER]\gitBucket
2017-07-29 18:42:56.955:INFO::main: Logging initialized @161ms
2017-07-29 18:42:57.099:INFO:oejs.Server:main: jetty-9.3.z-SNAPSHOT
2017-07-29 18:42:59.040:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@6956de9{/,null,null}{file:/D:/%5bSERVER%5d/gitBucket/gitbucket.war}
java.lang.IllegalStateException: Failed to delete temp dir D:\[SERVER]\gitBucket\tmp
        at org.eclipse.jetty.webapp.WebInfConfiguration.configureTempDirectory(WebInfConfiguration.java:376)
        at org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory(WebInfConfiguration.java:264)
        at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:69)
        at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:485)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:521)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
        at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:252)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
        at org.eclipse.jetty.server.Server.start(Server.java:422)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
        at org.eclipse.jetty.server.Server.doStart(Server.java:389)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at JettyLauncher.main(JettyLauncher.java:121)
2017-07-29 18:42:59.130:INFO:oejs.AbstractConnector:main: Started ServerConnector@7cdbc5d3{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2017-07-29 18:42:59.131:INFO:oejs.Server:main: Started @2340ms
@aadrian
Copy link
Member

aadrian commented Mar 9, 2018

@VitaliyAT does this still happen with the latest GitBucket version?

@torant1
Copy link

torant1 commented Oct 10, 2019

Get 503 error when trying open gitbucket. The same result through: localhost, 127.0.0.1, ...keendns.net (through internet) and 8080 port. Vertion of GB is 4.14.1. Windows 10.

D:\[SERVER]\gitBucket>java -jar D:\[SERVER]\gitBucket\gitbucket.war --gitbucket.home=D:\[SERVER]\gitBucket
2017-07-29 18:42:56.955:INFO::main: Logging initialized @161ms
2017-07-29 18:42:57.099:INFO:oejs.Server:main: jetty-9.3.z-SNAPSHOT
2017-07-29 18:42:59.040:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@6956de9{/,null,null}{file:/D:/%5bSERVER%5d/gitBucket/gitbucket.war}
java.lang.IllegalStateException: Failed to delete temp dir D:\[SERVER]\gitBucket\tmp
        at org.eclipse.jetty.webapp.WebInfConfiguration.configureTempDirectory(WebInfConfiguration.java:376)
        at org.eclipse.jetty.webapp.WebInfConfiguration.resolveTempDirectory(WebInfConfiguration.java:264)
        at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:69)
        at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:485)
        at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:521)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
        at org.eclipse.jetty.server.handler.StatisticsHandler.doStart(StatisticsHandler.java:252)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:131)
        at org.eclipse.jetty.server.Server.start(Server.java:422)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:105)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
        at org.eclipse.jetty.server.Server.doStart(Server.java:389)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
        at JettyLauncher.main(JettyLauncher.java:121)
2017-07-29 18:42:59.130:INFO:oejs.AbstractConnector:main: Started ServerConnector@7cdbc5d3{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
2017-07-29 18:42:59.131:INFO:oejs.Server:main: Started @2340ms

i have the same problem right now !
i think the problem is some of the files inside the folder tmp\webapp\WEB-INF\lib is using by the Java environment .

any help is welcome ! :)

thanks

@aadrian
Copy link
Member

aadrian commented Oct 10, 2019

@torant1 do you have this problem with GitBucket 4.32.0 (the latest stable version) ?
Also, what JDK are you using for this GitBucket instance?

@tlcd96
Copy link
Contributor

tlcd96 commented Oct 11, 2019

@aadrian and @torant1

  • it could be due a permission error, since the files are not being deleted
  • java version
  • platform wrong version

what can be done?

  • check the folder permissions, delete tmp and try to run it again
  • check if your version of java is at least 1.8
  • check if you are using the latest version of gitbucket

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants