Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
any idea how to ?
I installed git lfs on a separated folder .
By the way , what is avatar, I didn't recall setting them. and is it normal to not have that data.tar file?
Mészáros István
You can set an avatar for your profile in GB. maybe if noone has an avatar the file is not beeing created.
On our installation there is nothing else there just the avatar images.
@imeszaros thanks for experience, I was thinking something similar but not sure.
@qu710458643 Currently, GitBucket does not have localization support. See here.
@SIkebe thanks , that's not a bad idea. I since my company primarily code in JAVA, I might want create the same thing in JAVA.
found this plugin. hmmmm.....what a wonderful world
Roger Goudarzi
I am trying to setup gitbucket for the first time and it all works fine with the H2 db but as soon as I change the db drivers to MySQL it will not start and it keeps saying the JDBC driver was forcibly unregistered. I removed these drivers from ./webapps/gibucket/lib to the server lib and restarted it now will not start. It seems to me that it is not able to create the basic DB structures it needs, although I have created the database as in the installation instructions. Any idea ?
@arkasoft didn't encounter the same problem. I am guessing that you might have been modifying the wrong thing. Only thing I did to switch from built in H2 db to mysql was to modify database.conf under GITBUCKET_HOME folder.
the backup plugin seems to work fine
i'm having a problem where trying to fork a large repo causes an error along the lines of "invalid origin"
i don't know where to start with debugging it
Shreejan Shrestha

@shreejanshrestha Yes, but I strongly recommend to take a backup before upgrading.

@takezoe Thank you I will give it a try.

Marshal Hayes

I think GitBucket has to call ReceiveHook even when pull request is merged so that you won't need to implement PRHook aside from CommitHook. This is an issue on GitBucket side.

@takezoe, if you recall the GitBucket Git Hooks plugin I shared, you said that I shouldn't have to implement thePRHook since GitBucket is supposed to call ReceiveHook anyway. Do you know if this has already been fixed? We're currently on version 4.33.0.

@marshalhayes Maybe this one? gitbucket/gitbucket#2520
Naoki Takezoe
Yes. It has not been merged yet.
Calling ReceiveHook when pull request is marged is more difficult than expected, so I'm not yet confident whether gitbucket/gitbucket#2520 is proper implementation.
Shreejan Shrestha
Can anybody help me clone fails with
09:19:53.081 [qtp6566818-9] ERROR g.c.servlet.GitAuthenticationFilter - error
org.h2.jdbc.JdbcSQLNonTransientException: General error: "General error: ""java.lang.ArrayIndexOutOfBoundsException: 2"" [50000-199]"; SQL statement:
ROLLBACK [50000-199]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:502)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)
at org.h2.message.DbException.get(DbException.java:194)
at org.h2.engine.Database.throwLastBackgroundException(Database.java:2300)
at org.h2.engine.Database.commit(Database.java:2286)
at org.h2.engine.Session.rollback(Session.java:800)
at org.h2.command.dml.TransactionCommand.update(TransactionCommand.java:49)
at org.h2.command.CommandContainer.update(CommandContainer.java:133)
at org.h2.command.Command.executeUpdate(Command.java:267)
at org.h2.jdbc.JdbcConnection.rollbackInternal(JdbcConnection.java:1603)
at org.h2.jdbc.JdbcConnection.rollback(JdbcConnection.java:563)
at com.zaxxer.hikari.pool.ProxyConnection.close(ProxyConnection.java:257)
at slick.jdbc.JdbcBackend$BaseSession.close(JdbcBackend.scala:508)
at com.github.takezoe.slick.blocking.BlockingJdbcProfile$BlockingAPI$BlockingDatabase.withSession(BlockingProfile.scala:202)
at gitbucket.core.servlet.GitAuthenticationFilter.defaultRepository(GitAuthenticationFilter.scala:98)
at gitbucket.core.servlet.GitAuthenticationFilter.$anonfun$doFilter$2(GitAuthenticationFilter.scala:54)
at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.scala:18)
at scala.Option.getOrElse(Option.scala:201)
at gitbucket.core.servlet.GitAuthenticationFilter.doFilter(GitAuthenticationFilter.scala:54)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1618)
at gitbucket.core.servlet.TransactionFilter.doFilter(TransactionFilter.scala:28)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:549)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1610)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1369)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:489)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1580)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1284)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.StatisticsHandler.handle(StatisticsHandler.java:173)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:501)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:383)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:556)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:375)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:272)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.
Naoki Takezoe
@shreejanshrestha How did you try to clone?
Shreejan Shrestha
@takezoe using windows powershell
Naoki Takezoe
I mean what command did you try?
command or authentication method
Shreejan Shrestha
@takezoe git clone https://<abc>.git
Naoki Takezoe
How did you configure your git authentication?
I need the easiest reproducible procedure from scratch.
Shreejan Shrestha
@takezoe I am fully unware whats the authentication method. I havent used any authentication method. But I do enter username and password.
@takezoe Sorry but I don't remember from when this problem started to happen.
Naoki Takezoe
Could you try git clone https://<user>:<password>@<abc>.git?
Shreejan Shrestha
@takezoe Same failure messege in termail, and almost same entries in log.
@takezoe This is not my work environment, so I could give you my database, if it could help you to analyze the problem.
Naoki Takezoe
Hmm... I've never seen such an error when clone from GitBucket. It looks like GitBucket fails to parse Authorization header, but not sure.
By the way, which version of git do you use? You can see it by git version.
Shreejan Shrestha
git version 2.28.0.windows.1 → クライアント
git version 2.26.2 → サーバ
Shreejan Shrestha
@takezoe さん、ありがとうございます。ちょっと用事が出ましたので離れます。
@takezoe さん、何か情報が欲しいときに連絡ください。
Naoki Takezoe
Hmm... I tested git clone with git 2.28 on Mac, but I didn't see such error on GitBucket side. Unfortunately, I can't test on Windows and PowerShell. Is there anyone who has suffered this error?
That does not repro on my machine.
  • Windows 10 2004
  • Powershell 5
  • GitBucket v4.34.0
  • git version 2.28.0.windows.1
Shreejan Shrestha
@takezoe I think this problem is related to data.mv.db thing, but its just a guess. I tried with clean data.mv.db it worked without any authentication failure. Will move data to this new gitbucket instance.
@SIkebe Thank you for trying.
Naoki Takezoe
@shreejanshrestha I guessed your password contained :, but if it didn't reproduced in the clean environment, my guess was wrong. Anyway, I'm happy to hear that your issue was solved.
David Kanekanian
hello. My gitbucket is not connecting from other machine on the network. THe website works on localhost but not on the server's IP address
it also works on the server's IP ( on the web browser of the server, but on another computer in the network it does not receive
after waiting a while it loaded some basic text but the actual repo cloning is not working
hi. I checked the documentation regarding configuration opportunities.
While command line options and environment variables are described sufficiently I found nearly nothing about a config file.
Maybe I overlooked smthg ?