Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Shreejan Shrestha
@shreejanshrestha
@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
image.png
after waiting a while it loaded some basic text but the actual repo cloning is not working
jfpman
@jfpman
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 ?
according the sources I would guess that it must be gitbucket.conf maybe located in '.gitbucket'-directory but I could not find confirmational information nor smthg about syntax and keywords
Naoki Takezoe
@takezoe
@jfpman Normally, gitbucket.conf is generated by GitBucket system automatically. As long as GitBucket is working properly, you don't need to modify this file by hand. But if the base url is missconfigured, you may need to fix it by modfying this file by hand.
westleyTwain
@westleyTwain
how do I get over the 3MiB upload limit? I'm hosting on a raspberry pi and installed as per the wiki, if that helps.
SIkebe
@SIkebe
@westleyTwain You can use CLI option (java -jar gitbucket.war --max_file_size=[MAX_FILE_SIZE]) or environmental variable(GITBUCKET_MAXFILESIZE) to configure upper limit for file uploading.
https://github.com/gitbucket/gitbucket/wiki/Basic-configurations#cli-options
westleyTwain
@westleyTwain
so I put the option on the relevant line in /etc/systemd/system/gitbucket.service as follows:
ExecStart=/usr/bin/java -Xms128m -Xmx256m -jar gitbucket.war --max_file_size=1073741824
(should be 1 GB) and it still won't let me upload anything bigger than 3MiB, even after restarting the pi.
huh. I guess I just had to restart it a second time?? anyway, it's working now. Thanks, @SIkebe !
westleyTwain
@westleyTwain
I'm back... I put a wrong address into the BaseURL box, and now, when I go back to the address with the IP address in it, there's no CSS, and when I clear the box and hit save, nothing changes. Where can I find this manually and/or return it to how it was?
SIkebe
@SIkebe
image.png
@westleyTwain You can edit base_url in {GITBUCKET_HOME}/gitbucket.conf file manually.
westleyTwain
@westleyTwain
thanks!
Jerry
@solvingj
Hi @takezoe and @onukura , hope you're doing well. I have two requests. First, If it's not too much trouble, a docker release tag to correspond with every GIT release tag would be great. It looks like you were doing them, and then stopped. There was probably a reason, but I see you also switched to GH Actions, so maybe you could start doing that again. Second, Is there any ETA for the next minor version release? I'll be using the nightly for now because it implements the webhook API, but I'd like to change to gitbucket/gitbucket:4.35
Jerry
@solvingj
1 reply
Naoki Takezoe
@takezoe
My current plan is releasing the next version by the end of this year.
Naoki Takezoe
@takezoe
Yeah. It would be nice if we can automate creating docker release tag. As you mentioned, we've migrated our docker build to GitHub Actions for a daily build. We need to revisit our GitHub Actions configuration.
onukura
@onukura
@takezoe what does "automate creating docker release" means?
Currently GitHub Actions of gitbucket/gitbucket-docker also works with trigger "push to master" and "tag".
But if it means creating docker release automatically once new tag show up on gitbucket/gitbucket repository, it is not automated yet.
Naoki Takezoe
@takezoe
I think @solvingj is saying about creating docker tag from GitHub tag like gitbucket/gitbucket:4.29.0 previously we were doing on DockerHub.
https://hub.docker.com/layers/gitbucket/gitbucket/4.29.0/images/sha256-0c1b51d4f8c650c6f24d16272a0065dbd41c304db3524b36a30b680cc39cf6ab?context=explore
Jerry
@solvingj
Yes, suggestion was that if new tag is pushed , then make new docker image release from it
onukura
@onukura
ah got it. so it is not automated for now.
To release image with tag we now need to edit gitbucker/gitbucket-docker/Dockerfile and push after gitbucket.war file released on gitbucket/gitbucket repository.
onukura
@onukura
If we automate to release with tag push, we might need to keep Docker file on gitbucket/gitbucket repo. or directry build in GitHub Actions workflow.
Naoki Takezoe
@takezoe
There is no special reason to have Dockerfile in a separated repository. Merging it into gitbucket repository or generating it by GitHub Actions would be fine if we are going to automate creating docker tag for each release.
Mészáros István
@imeszaros
i cant change repo access from public to private on the ui. does it do any evil if i change it in the db? 🙂
onukura
@onukura
Post end point for ui actually just updates db according to values in form. So you can change db directly. But wonder why you cant on ui...
Mészáros István
@imeszaros
good question. the radio button is disabled. i did not try to fool it
1 reply
LowDensity
@LowDensity
Hi , Have anyone ever used https://github.com/jyuch/gitbucket-backup-plugin
this plugin?
It seemed to ignoring the folder path I set in backup.conf
It either returns http 500 or putting things reight into GITBUCKET_HOME
LowDensity
@LowDensity
Issue raised to plugin author.
MrMelon
@MrMelon54
is it possible to make a custom authentication plugin and disable the default login system?
Naoki Takezoe
@takezoe
@MrMelon54 Unfortunately, it's not possible right now. Previously, we had a plan to externalize authentication mechanism as a plugin, but it didn't come.
moorkaï
@moorkai_twitter
Pushing to an LFS-enabled GitBucket repository gives me the following error: batch request: Unknown command: git-lfs-authenticate. What am I doing wrong?
Complete log below.
$ git push -uf <remote name> <branch name>
Remote "<remote name>" does not support the LFS locking API. Consider disabling it with:
  $ git config lfs.<HTTPS repo URL>/info/lfs.locksverify false
Uploading LFS objects:   0% (0/36), 0 B | 0 B/s, done.
batch request: Unknown command: git-lfs-authenticate root/<repo name>.git upload: exit status 1
error: failed to push some refs to '<SSH repo URL>'
moorkaï
@moorkai_twitter
Even though I did not have to do this for another project, creating a .lfsconfig file in this project's root solved the issue. The file points to GitBucket's LFS URL and is structured as outlined in this comment.
1 reply
Francesco Chicchiriccò
@ilgrosso
Hi folks!
What docs should I follow to allow Jenkins to build pull requests pushed to Gitbucket?
I am trying the Gitbucket plugin in Jenkins (which appears not to be updated in the last 5 years) and also https://github.com/gitbucket/gitbucket/wiki/Setup-Jenkins-GitHub-pull-request-builder-plugin with no luck so far
Naoki Takezoe
@takezoe
Actually, I haven't followed Jenkins integration recently. Is there someone who has knowledge about it?
Jeff Eberl
@jeffeb3
I have been using a gitbucket container on my NAS to organize my code for a few years. Today, I managed to break something with docker (or the nas did). I have the data mounted outside the container, and the git repos all look like they are there. So I installed the latest gitbucket docker image and I am getting a 503 error when I try to access it from my browser.
Here is what is in my data directory, which I mounted to /gitbucket:
drwxr-xr-x 3 admin administrators 4096 2017-03-02 15:18 data/
-rw-r--r-- 1 admin administrators 205 2017-03-02 15:11 database.conf
-rw-r--r-- 1 admin administrators 143360 2020-12-03 21:20 data.mv.db
-rw-r--r-- 1 admin administrators 244 2020-12-03 20:52 data.trace.db
drwxr-xr-x 3 admin administrators 4096 2017-03-02 16:13 gist/
-rw-r--r-- 1 admin administrators 216 2017-06-21 11:45 gitbucket.conf
drwxrwxrwx 2 jeff everyone 4096 2017-03-02 16:16 plugins/
drwxr-xr-x 4 admin administrators 4096 2017-03-07 10:19 repositories/
:/ Not the best formatting, sorry.
Here is the logs:
2020-12-04 03:52:33.743:INFO:oejw.StandardDescriptorProcessor:main: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2020-12-04 03:52:35.080:INFO:oejs.session:main: DefaultSessionIdManager workerName=node0
2020-12-04 03:52:35.087:INFO:oejs.session:main: No SessionScavenger set, using defaults
2020-12-04 03:52:35.095:INFO:oejs.session:main: node0 Scavenging every 600000ms
03:52:37.232 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
03:52:38.906 [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Start completed.
03:52:39.009 [main] WARN slick.util.AsyncExecutor - Having maxConnection > maxThreads can result in deadlocks if transactions or database locks are used.
03:52:39.131 [main] INFO g.core.servlet.InitializeListener - Check version
03:52:39.131 [main] INFO g.core.servlet.InitializeListener - Start schema update
03:52:44.812 [main] INFO l.servicelocator.ServiceLocator - Can not use class liquibase.parser.core.yaml.YamlChangeLogParser as a Liquibase service because org.yaml.snakeyaml.constructor.BaseConstructor is not in the classpath
03:52:44.820 [main] INFO l.servicelocator.ServiceLocator - Can not use class liquibase.parser.core.json.JsonChangeLogParser as a Liquibase service because org.yaml.snakeyaml.constructor.BaseConstructor is not in the classpath
2020-12-04 03:52:51.031:WARN:oejw.WebAppContext:main: Failed startup of context o.e.j.w.WebAppContext@43cf6ea3{/,file:///gitbucket/tmp/webapp/,UNAVAILABLE}{file:/opt/gitbucket.war}
org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "REPOSITORY" not found; SQL statement:|ALTER TABLE PUBLIC.REPOSITORY ADD MERGE_OPTIONS VARCHAR(200) DEFAULT 'merge-commit,squash,rebase' NOT NULL [42102-199]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:451)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:427)
at org.h2.message.DbException.get(DbException.java:205)
...