You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

upgrade_go.mkd 2.1KB

11 years ago
11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142
  1. ## Upgrading Gitblit GO (1.2.1+)
  2. 1. Unzip Gitblit GO to a new folder
  3. 2. Set the *--baseFolder* argument to point to your old `data` folder
  4. 3. Review and optionally apply any new settings as indicated in the [release log](releases.html) to `data/gitblit.properties`.
  5. In *nix systems or Windows Vista/7/8, there are other tricks you can play like symlinking the `data` folder or symlinking the GO folder.
  6. All platforms support the *--baseFolder* command-line argument.
  7. ## Upgrading Gitblit GO (pre-1.2.1)
  8. 1. Create a `data` folder and copy the following files and folders to it:
  9. - **users.conf**
  10. - **projects.conf** *(if you have one)*
  11. - **gitblit.properties**
  12. - **serverKeystore.jks**
  13. - **serverTrustStore.jks**
  14. - **certs** folder
  15. - **git** folder
  16. - **groovy** folder
  17. - **proposals** folder
  18. - and any other custom files (robots.txt, welcome/login markdown files, etc)
  19. - then edit your `gitblit.properties` file and adjust the following settings:
  20. - *git.repositoriesFolder* = ${baseFolder}/git
  21. - *groovy.scriptsFolder* = ${baseFolder}/groovy
  22. - *groovy.grapeFolder* = ${baseFolder}/groovy/grape
  23. - *web.projectsFile* = ${baseFolder}/projects.conf
  24. - *realm.userService* = ${baseFolder}/users.conf
  25. - *web.robots.txt* = ${baseFolder}/robots.txt
  26. - *federation.proposalsFolder* = ${baseFolder}/proposals
  27. - *realm.ldap.backingUserService* = ${baseFolder}/users.conf
  28. - *realm.redmine.backingUserService* = ${baseFolder}/users.conf
  29. - *server.tempFolder* = ${baseFolder}/temp
  30. 2. Unzip Gitblit GO to a new folder
  31. 3. Copy your `data` folder and overwrite the folder of the same name in the just-unzipped version
  32. 4. Review and optionally apply any new settings as indicated in the [release log](releases.html) to `data/gitblit.properties`.
  33. **NOTE:** You may need to adjust your service definitions to include the `--baseFolder data` argument.
  34. #### Upgrading Windows Service
  35. You may need to delete your old service definition and install a new one depending on what has changed in the release.