File Attachments and Emoticons on Hipchat Server are Missing after a Migration.

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

This is for an outdated version of Hipchat Server

 This article applies to a version of Hipchat Server which will be deprecated soon. After that period the version will no longer be supported.

When will my version be deprecated?

The following versions have been deprecated:

  • Hipchat Server 1.3 (EOL Date: Aug 17, 2017)
  • Hipchat Server 2.0 (EOL Date: Jun 17, 2018)
  • Hipchat Server 2.1 (EOL Date: Dec 8, 2018)

The following version will be deprecated soon:

  • Hipchat Server 2.2 (EOL Date: May 30, 2019)

You can read more about Atlassian's End of Life policy here.

You should upgrade to a more recent version of Hipchat Server as soon as you can to take advantage of new features, and security and bug fixes.

 

問題

After migrating a Hipchat Server Virtual Machine to a new location, file attachments and emoticons are missing from all chat rooms. 

原因

  • It was discovered that on this specific server instance, the server administrator had created a custom mount point on the Hipchat Server to store all files. This is not recommended or supported.
  • Hipchat Server, by default, expects to find all files inside the /file_store directory.
  • The directory used for the custom mount point was using a different name (/hipchat_storage in this case)
  • At one time there was a symbolic link between /file_store and /hipchat_storage but the symbolic link had somehow been broken during the migration. 

環境

  • Hipchat Server 2.2.3 and newer. 

ソリューション

Although custom mount points are not supported, it is possible to reestablish the symbolic link using the following commands:

  1. Snapshot the current server virtual machine instance prior to executing the next steps. This will give the admin something to roll back to in case something goes wrong.
  2. Log in to the command line, gain root privilges, and remove the current /file_store directory:

     

    sudo dont-blame-hipchat
    rm -rf /file_store
  3. Create a symbolic link using this command:

     

    ln -sT /hipchat_storage /file_store
  4. Run hipchat upgrade --restart to restart all services on the Hipchat Server. This should complete without an error or any complaints about chef failing.
  5. Log completely out of all chat sessions, log back in again, and check to see if the emoticons and file attachments are visible again. 


 

最終更新日: 2018 年 1 月 19 日

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

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