How to Uninstall Bitbucket Server

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

この記事はアトラシアンのサーバー製品にのみ適用されます。クラウドとサーバー製品の違いについてはこちらをご確認ください。

目的

Instructions on how to uninstall Bitbucket Server. 

ソリューション

Windows

  1. If the application was installed as a service, stop the service via the Windows GUI. If the application was not installed as a service, use the stop-bitbucket executable in the C:\%BITBUCKET_INSTALLATION%\bin directory.
  2. If application was installed as a service, uninstall the Bitbucket Server service. 
    (You'll need to know the service name for Bitbucket. If you are unsure of it, you can check it at the Task Manager, in the Services tab.)
    1. On the command prompt, navigate to C:\%BITBUCKET_INSTALLATION>\bin
    2. Remove the current service by running:
      service.bat remove <service name>
  3. Remove %BITBUCKET_HOME% and %BITBUCKET_INSTALLATION% directories.
  4. If present, remove %BITBUCKET_HOME% environment variable from within the Windows GUI by going to Control Panel > System > Advanced Settings > Environment variables
  5. If one has been added, remove the ATLBITBUCKET user.
  6. Remove any shortcuts or icons form Desktop or Start Menu.
  7. If Bitbucket Server was configured to use an external database, the corresponding database tables can be dropped or the database itself deleted.
  8. Delete Registry entry (Optional): Example for a 64bit system - From  Start Menu click Run. In the open field enter %systemroot%\syswow64\regedit. Click/Select HKEY_LOCAL_MACHINE. In Registry Editor menu click Edit > Find. In the "Find what" field type bitbucket. In the panel on the right select the Bitbucket entry. Choose Edit once more from the Registry Editor menu and select delete.

Linux

  1. If the application was installed as a service, stop the service by running service atbitbucket stop from the host machine's command line. If the application was not installed as a service, use the stop-bitbucket shell script in the $BITBUCKET_INSTALLATION/bin directory.
  2. If application was installed as a service, uninstall the Bitbucket Server service. 
    (You'll need to know the service name for Bitbucket. If you are unsure of it, you can check it by running service --status-all from the host machine's command line)
    1. On the command prompt, navigate to $BITBUCKET_INSTALLATION/bin
    2. Remove the current service by running:
      install_linux_service.sh -u remove_service <service name>
  3. Remove $BITBUCKET_HOME and $BITBUCKET_INSTALLATION directories.
  4. If present, remove $BITBUCKET_HOME environment variable from .bash_profile or /etc/profile
  5. If one has been added, remove the atlbitbucket user.
  6. If Bitbucket Server was configured to use an external database, the corresponding database tables can be dropped or the database itself deleted.

説明 Instructions on how to uninstall Bitbucket Server. 
製品Bitbucket
プラットフォームサーバー
最終更新日: 2018 年 9 月 11 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.