Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
qu710458643
@qu710458643
Does the current version not support Chinese?
LowDensity
@LowDensity
I am trying to backup the entire site with the script provided on wiki https://github.com/gitbucket/gitbucket/wiki/Backup
but I also wants to backup lfs part of repository.
any idea how to ?
I installed git lfs on a separated folder .
image.png
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
@imeszaros
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.
LowDensity
@LowDensity
@imeszaros thanks for experience, I was thinking something similar but not sure.
SIkebe
@SIkebe
@qu710458643 Currently, GitBucket does not have localization support. See here.
gitbucket/gitbucket#88
gitbucket/gitbucket#369
LowDensity
@LowDensity
@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.
https://github.com/jyuch/gitbucket-backup-plugin
found this plugin. hmmmm.....what a wonderful world
Roger Goudarzi
@arkasoft
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 ?
LowDensity
@LowDensity
@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
agrecascino
@agrecascino
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

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

@takezoe Thank you I will give it a try.

Marshal Hayes
@marshalhayes

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.

SIkebe
@SIkebe
@marshalhayes Maybe this one? gitbucket/gitbucket#2520
Naoki Takezoe
@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
@shreejanshrestha
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
@takezoe
@shreejanshrestha How did you try to clone?
Shreejan Shrestha
@shreejanshrestha
@takezoe using windows powershell
Naoki Takezoe
@takezoe
I mean what command did you try?
command or authentication method
Shreejan Shrestha
@shreejanshrestha
@takezoe git clone https://<abc>.git
Naoki Takezoe
@takezoe
How did you configure your git authentication?
I need the easiest reproducible procedure from scratch.
Shreejan Shrestha
@shreejanshrestha
@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
@takezoe
Could you try git clone https://<user>:<password>@<abc>.git?
Shreejan Shrestha
@shreejanshrestha
@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
@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
@shreejanshrestha
@takezoe
git version 2.28.0.windows.1 → クライアント
git version 2.26.2 → サーバ
Shreejan Shrestha
@shreejanshrestha
@takezoe さん、ありがとうございます。ちょっと用事が出ましたので離れます。
@takezoe さん、何か情報が欲しいときに連絡ください。
Naoki Takezoe
@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?
SIkebe
@SIkebe
image.png
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
@shreejanshrestha
@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
@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
@davidk-bild
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 (192.168.100.120) on the web browser of the server, but on another computer in the network it does not receive