2022年より前の画像が失われました

こんにちは

最新のDiscourseバージョンr 3.1.0.beta2を使用していますが、2022年以前の画像が表示されないようです。

画像を復旧しようといくつかのツールを実行しましたが、うまくいきませんでした。

cd /var/discourse/
./launcher enter app
rake posts:missing_uploads

Looking for missing uploads on: default
Fixing missing uploads:
:prohibited::ok_button::ok_button::ok_button::ok_button::ok_button::ok_button::ok_button::ok_button::ok_button::prohibited::prohibited::prohibited::prohibited::prohibited::prohibited::prohibited::prohibited::prohibited::prohibited::prohibited::prohibited::prohibited:

109 件の投稿アップロードが不足しています。

101 件のアップロードが不足しています。
101 件中14件は旧スキームのアップロードです。
392439 件の投稿中14件が影響を受けています。

rake uploads:missing
rake uploads:recover_from_tombstone

以下の結果が得られました。

ただし、投稿を編集すると画像が編集エリアに表示されるようです。
編集時の画像とフォーラムの画像の差は以下の通りです。
編集画面:
<img src="/uploads/default/original/3X/e/8/e8447f3cb3fbeadfbc1757ef6dd3da6a669f15ca.png" ....

フォーラム画面:
<img src="https://xxxxxxxxxxxxxxxxxx/uploads/default/optimized/3X/e/8/e8447f3cb3fbeadfbc1757ef6dd3da6a669f15ca_2_690x219.png" ...

これを修正する方法はありますか?

よろしくお願いします。
Franck

「いいね!」 2

FQDNが最新のイメージと最も古いイメージの間で変更されているようです。
FQDNが同じではありません。

FQDNが正しいイメージでイメージを更新する方法はありますか?

「いいね!」 1

FQDNはいつ変更されましたか?

ドメイン名を変更して、再マッピング/再ベイクを行わなかったようです。

「いいね!」 1

うーん、良い質問ですね。
少なくとも1年以上前でしょう。

「いいね!」 1

使用しましょうか

discourse remap talk.foo.com talk.bar.com

このスレッドのように: Change the domain name or rename your Discourse

これは、ドメイン間を切り替える際に、以下のステップとともに必要となります。

Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and it’s no longer available.
Hmm I found something in app.yml with this FQDN:
It is set here: DISCOURSE_CORS_ORIGIN:
Should we change only that and rebuilt?

The FQDN is set here, and