Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JIRA migrating from windows to linux

Takuma Hashimoto April 9, 2020

Please tell me how to migrate from windows to linux.

I use JIRA v7.13.0.

 

I already tried that I created backup zip file by システムのバックアップ and imported by システムの復元. Bit it failed.

 

I don't use LDAP.

 

I think psql DB contents, home directory have not migrated.

Confluence migration succeeded in the same way.

-----------------------------------------------------------------------------------------

掲題の件について、解説ページのURLが分からなかった為、教えて頂きたいです。

もしくは、その方法をサポートして頂きたく。

 

Windowsで動作している JIRA を RedhadLinux へ移行させようと考えています。

移行元も移行先もバージョンは7.13.0となります

 

Windows マシンの JIRAの管理画面の「システムのバックアップ」からバックアップファイルを作成し

Linux マシンの JIRAの管理画面の「システムの復元」からバックアップファイルを読み込みました

 

起動は問題なく行えているようですが、ログインできません

詳細は確認していませんが、home ディレクトリ配下のファイルや、データベースの内容が引き継がれていないように見えます

 

※confluenceは、同様の方法で移行完了しました。

 

Windows環境

 MySQL

Linux環境

 PostgreSQL

2 answers

0 votes
Tomoko Suzuki
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 13, 2020

コミュニティをご利用いただきありがとうございます!

ログインの問題は解決いただけたとの認識でよろしいでしょうか?

xml バックアップからデータをリストアする に記載の手順にてサーバーの移行を行った場合、ドキュメント内の「3. 添付ファイルの復元」 に記載がございますように、添付ファイルに関しては手動で移行を行って頂く必要がございます。

恐れ入りますが、Windows サーバーに存在しております添付ファイルを Linux 側へ移行いただくようお願いいたします。

0 votes
Pavel Junek
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 10, 2020

Hello,
Please use the "universal language" English - so that more people can help :-)

To your problem:

  • To migrate Jira between servers, I recommend reviewing this documentation - Migrating Jira applications to another server 
  • Do you use Jira connection to LDAP? If so, your problem may be caused by this setting. Prior to migration, Jira Internal User Directories must be active and must be ranked first (before LDAP User Directories). You must have an administrator account set up in this Jira Internal User Directory. After migrating to the new server, you will be able to log in to Jira and edit your settings.
  • You can still try to log in to Jira using Restore Passwords To Recover Admin User Rights 

Let me know if it helped.

Cheers, Pavel

Takuma Hashimoto April 10, 2020

thank you for your reply!

I'll try that next week.

Takuma Hashimoto April 12, 2020

I fixed this issue.

I failed to move <home>/jira-data/data/attachments folder.

 

jira/logs/catalina.out

-----------------------------------

2020-04-13 14:32:14,266 HealthCheck:thread-6 WARN admin 1049x140x1 8q11tk 10.134.10.138,0:0:0:0:0:0:0:1 /secure/admin/XmlRestore.jspa [c.a.t.j.healthcheck.support.AttachmentHealthCheck] There was a RuntimeException when testing the attachment {0}
com.atlassian.jira.issue.attachment.NoAttachmentDataException: Attachment does not exist in filesystem /xxxx/xxxx/jira-data/data/attachments/xxxx/10000/xxxx-40/11783

-----------------------------------

 

Today I was able to migrate in the way you recommend.

Thank you for your support.

Like Pavel Junek likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
7.13.0
TAGS
AUG Leaders

Atlassian Community Events