AppLink Corrupted Error in Confluence


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

サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

要約

Sometimes we get the below Warning message in the Confluence application logs. This is releated to App link corruption.

2021-02-10 13:25:52,418 WARN [Caesium-1-4] [atlassian.applinks.core.DefaultApplicationLinkService] retrieveApplicationLink Couldn't find type id for application link with id 973662fd-910f-3593-897f-b0464b2fc5fb. Link is corrupted
2021-02-10 13:26:52,418 WARN [Caesium-1-4] [atlassian.applinks.core.DefaultApplicationLinkService] retrieveApplicationLink Couldn't find type id for application link with id 973662fd-910f-3593-897f-b0464b2fc5fb. Link is corrupted 


診断

  1. We can check the App link configuration in Confluence Support Zip and Jira App link ServerID.
  2. Also, we can run the CURL command and SQL for getting any App link that is corrupted in the Database and matches the corrupted link SERVERID from the CURL Command and SQL output. 

    CURL

    In the below CURL command, can you please change the Username and Password and change the Confluence Base URL.
    curl -s -X GET -u <username>:<password> -H "Accept: application/json" <Confluence-Base-URL>/rest/applinks/1.0/listApplicationlinks | python -mjson.tool

    SQL

    Please execute the below SQL and provide me the result.
    select * from bandana where bandanakey like '%applink%';

  3. If you get such output like below where 2 APP Link ID found in the Bandana Table and in that 1 is active and other is the corrupted one and matching with the Warning message.

    BANDANAIDBANDANACONTEXTBANDANAKEYBANDANAVALUE
    12_GLOBALapplinks.global.application.ids<list>
      <string>973662fd-910f-3593-897f-b0464b2fc5fb</string>
      <string>603c9d5b-36dd-3890-b7a5-f6504b043c69</string>
    </list>

原因

Sometimes, App Link deletion is not proper and failed in between that can cause the App link corruption. Because of that, some Data will be left in the Database and that can cause this App link corruption Warning messages in the Application logs. 

ソリューション

The Only solution for fixing this corruption is, remove the corrupted records from the Database and update the applinks.global.application.ids with proper/active App link ID. 

  • Stop the Confluence.

  • Execute below the Update statment where we are just supplying the active APP link ServerID.

    データベースの変更を行う場合は必ず事前にバックアップを取得してください。可能な場合は、まずステージング サーバーで SQL コマンドの変更、挿入、更新、または削除を行うようにします。



    UPDATE BANDANA SET 
    BANDANAVALUE = '<list>
    <string>603c9d5b-36dd-3890-b7a5-f6504b043c69</string>
    </list>'
    WHERE BANDANAKEY = 'applinks.global.application.ids';
    commit;
  • Start the Confluence.

  • This will fix the App Link Corruption Warning Messages from the Logs.



最終更新日: 2021 年 2 月 24 日

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

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