-
Notifications
You must be signed in to change notification settings - Fork 1.3k
- Can I test GitBucket actually before installation?
- What's default root username and password?
- What's limitation of password?
- Docker image?
- "Unsupported major.minor version 52.0" Error?
gitbucket-gist-plugin
doesn't work after upgrading to GitBucket 4.x- How to upgrade GitBucket?
- How to backup GitBucket data?
- How to contribute to GitBucket?
- How to reset admin password?
There are 2 online installations that demo GitBucket capabilities:
-
Official demo site: https://gitbucket.herokuapp.com/
This online demo site contains only the official GitBucket plugins. Login withroot
/root
. -
Community demo site: https://gitbucket-community.herokuapp.com/
This demo site contains mostly all known plugins ; i.e. the official ones + the ones delivered by the GitBucket community. Same login.
root / root
GitBucket has a limitation of password as below.
- Use alphanumeric character, "-", "_" and "."
If you use more strong password, GitBucket suggests to use external authorization system like LDAP.
See https://github.com/gitbucket/gitbucket/wiki/Docker for more details.
GitBucket requires Java8 or higher.
Upgrade your Java installation if you get the following exception:
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/jetty/server/Handler : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
...
If you had used gitbucket-gist-plugin with GitBucket 3.x, it does not work after upgrading to GitBucket 4.x. Solution is below:
UPDATE VERSIONS SET VERSION='2.0.0' WHERE MODULE_ID='gist';
- restart GitBucket
- can open snippets page
-
SELECT VERSION FROM VERSIONS WHERE MODULE_ID='gist'
->4.2.0
See Connect to H2 database to know how to execute SQL on the GitBucket database.
See the Installation section of README.
We strongly recommend to backup your data before upgrade GitBucket.
Basically, you can backup GitBucket data by copying GITBUCKET_HOME
directory (~/.gitbucket
in default) to the other place after stopping GitBucket.
See Backup also to check advanced topics about backup.
You can help the project in many different ways:
- we need readers to comment/correct/translate in good English the existing documentation/FAQ/wiki
- we need help to write more documentation either in GitBucket main documentation, wiki or FAQ.
- we need help to consume/answer issues. If you know any answer to some issues, please help us answering them.
- when contributing, please follow our contributing guidelines and respect the templates when creating issues and pull-request
You can reset admin password by updating the database directly by executing the following SQL:
update account set password='dc76e9f0c0006e8f919e0c515c66dbba3982f785' where user_name = 'root';
See more details at: https://github.com/gitbucket/gitbucket/issues/872#issuecomment-129834424