Movable Type AMI版(AWS)のアップデート

November 28,2022 11:55 PM
Category:[アップグレード]
Tag:[AWS, MovableType]
Permalink

Movable Type AMI版(AWS)のアップデート方法を紹介します。

アップデートのたびにドキドキするので(笑)、実行画面を備忘録で残しておきます。

手順は下記に記載されています。

Movable Type AMI版のアップデート

ちなみに現在のバージョンは5201です。

1.既存の環境のスナップショットを作成する

自分のEC2に行く方法も書いておきます。

ログインして、検索で「ec2」を入力。

検索結果の「EC2」をクリック。

地域を選択。ここでは「東京」を選択します。

これで自分のEC2になるので、「Elastic Block Store」→「スナップショット」をクリック。

右上の「スナップショットの作成」をクリック。

画面が切り替わるので、「ボリューム」を選択して、説明に適当な文字列を設定し、必要に応じて「タグ」を追加。

下部にある「スナップショットの作成」をクリック。

一覧の「スナップショットのステータス」が「完了」になればスナップショット完了です。

1.既存のデータをバックアップする

省略しています。

3.yumコマンドでアップデートする

ここではnginx版の手順を掲載します。

すべてのキャッシュを削除します。

[ec2-user@ip-xx-x-x-xxx ~]$ sudo yum clean all
Loaded plugins: priorities, update-motd, upgrade-helper
Cleaning repos: amzn-main amzn-updates movabletype
Cleaning up everything

いよいよアップデートします。

[ec2-user@ip-xx-x-x-xxx ~]$ sudo yum update movabletype
Loaded plugins: priorities, update-motd, upgrade-helper
amzn-main                                                | 2.1 kB     00:00
amzn-updates                                             | 3.8 kB     00:00
movabletype                                              | 2.9 kB     00:00
(1/6): amzn-main/latest/group_gz                           | 4.4 kB   00:00
(2/6): amzn-updates/latest/group_gz                        | 4.4 kB   00:00
(3/6): amzn-updates/latest/updateinfo                      | 794 kB   00:00
(4/6): amzn-updates/latest/primary_db                      | 5.3 MB   00:00
(5/6): amzn-main/latest/primary_db                         | 4.0 MB   00:00
movabletype/x86_64/primary_db  FAILED
https://repo.movabletype.jp/repo/mt7/F51C6CE5097FFEEBFA7DFEB6746625A5/x86_64/repodata/33e21287e2eff035f30827a094969cf6f4d9e8ff3234edf6d7d3950441eb03cc-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
To address this issue please refer to the below knowledge base article
 
https://access.redhat.com/articles/1320623
 
If above article doesn't help to resolve this issue please open a ticket with Red Hat Support.
 
movabletype/x86_64/primary_db  FAILED
https://repo.movabletype.jp/repo/mt7/F51C6CE5097FFEEBFA7DFEB6746625A5/x86_64/repodata/33e21287e2eff035f30827a094969cf6f4d9e8ff3234edf6d7d3950441eb03cc-primary.sqlite.bz2: [Errno 14] HTTPS Error 404 - Not Found
Trying other mirror.
movabletype/x86_64/primary_db                            |  13 kB     00:00
Resolving Dependencies
--> Running transaction check
---> Package movabletype.x86_64 0:7.9.3-0 will be updated
---> Package movabletype.x86_64 0:7.9.7-0 will be an update
--> Processing Dependency: movabletype-extlib >= 2022.8-24 for package: movabletype-7.9.7-0.x86_64
--> Running transaction check
---> Package movabletype-extlib.x86_64 0:2020.11-13 will be updated
---> Package movabletype-extlib.x86_64 0:2022.8-24 will be an update
--> Finished Dependency Resolution
 
Dependencies Resolved
 
================================================================================
 Package                  Arch         Version          Repository         Size
================================================================================
Updating:
 movabletype              x86_64       7.9.7-0          movabletype        18 M
Updating for dependencies:
 movabletype-extlib       x86_64       2022.8-24        movabletype       922 k
 
Transaction Summary
================================================================================
Upgrade  1 Package (+1 Dependent package)
 
Total download size: 19 M
Is this ok [y/d/N]: y
Downloading packages:
(1/2): movabletype-extlib-2022.8-24.x86_64.rpm             | 922 kB   00:00
(2/2): movabletype-7.9.7-0.x86_64.rpm                      |  18 MB   00:00
--------------------------------------------------------------------------------
Total                                               50 MB/s |  19 MB  00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Updating   : movabletype-extlib-2022.8-24.x86_64                          1/4
error: movabletype:10 unknown option 'su' -- ignoring line
error: movabletype:10 unexpected text
Stopping nginx: [  OK  ]
Stopping php-fpm-5.6: [  OK  ]
Stopping movabletype: [  OK  ]
Stopping mysqld:  [  OK  ]
  Updating   : movabletype-7.9.7-0.x86_64                                   2/4
Starting mysqld:  [  OK  ]
Starting php-fpm-5.6: [  OK  ]
Starting movabletype: [  OK  ]
Starting nginx: [  OK  ]
  Cleanup    : movabletype-7.9.3-0.x86_64                                   3/4
  Cleanup    : movabletype-extlib-2020.11-13.x86_64                         4/4
  Verifying  : movabletype-7.9.7-0.x86_64                                   1/4
  Verifying  : movabletype-extlib-2022.8-24.x86_64                          2/4
  Verifying  : movabletype-extlib-2020.11-13.x86_64                         3/4
  Verifying  : movabletype-7.9.3-0.x86_64                                   4/4
 
Updated:
  movabletype.x86_64 0:7.9.7-0
 
Dependency Updated:
  movabletype-extlib.x86_64 0:2022.8-24
 
Complete!

以上です。

管理画面にアクセスするとアップグレード画面になります。

アップグレードします。

管理画面にログインしてバージョンアップされたことを確認します。

バージョンアップをちょっとサボっていたので、一気に5402になりました(笑)。

Comments [0] | Trackbacks [0]

Adobe Premiere Proで書き出しがすぐに終わる場合の対処

November 23,2022 11:55 PM
Category:[Premiere Pro]
Tag:[Adobe, PremierePro]
Permalink

Adobe Premiere Proで書き出しがすぐに終わる場合の対処方法を紹介します。

1.問題点

Premiere Proで2時間ほどの動画を編集した後の書きだしで、書き出しがすぐに終わり、書きだされたファイルのサイズが異様に小さいです。

タイムラインを選択状態にして、青枠で囲んでいます。

2.原因と対処

原因は、編集のときに使った「インをマーク」と「アウトをマーク」の範囲指定が残っている可能性があります。

わかりにくいのですが、下のキャプチャのように、再生ヘッド(青い縦線)の上部に棒が飛び出しています。これはタイムラインに0秒のインとアウトのマークが残っている目印です。

インとアウトのマーク

マークを消すには、再生ヘッドを右クリックして「インを消去」を選択。

インを消去

続けて、再生ヘッドを右クリックして「アウトを消去」を選択。

アウトを消去

インとアウトのマークが消去されて、再生ヘッド上部の棒が消えました。

インとアウトのマーク

これで書き出しが可能な状態になったと思います。

Comments [0] | Trackbacks [0]

WindowsのエクスプローラーでExeclの内容を検索する方法

November 7,2022 11:55 PM
Category:[Windows]
Tag:[Excel, Windows]
Permalink

WindowsのエクスプローラーでExeclの内容を検索する方法を紹介します。

1.問題点

Excelに次のテキストを入力しました。

Excelにテキストを入力

エクスプローラーの検索機能を使ってこの文字列を検索しても、Excelファイルは表示されません。

(クリックで拡大)
検索

ということで、エクスプローラーでExeclの内容を検索する方法を紹介します。

2.エクスプローラーでExeclの内容を検索する

Execlの内容を検索するには、エクスプローラーに対して下記の手順を実施します。

「オプション」アイコンをクリック。

「オプション」アイコン

「検索」タブをクリック。

「検索」タブ

「ファイル名と内容を常に検索する~」をチェックして「OK」をクリック。

ファイル名と内容を常に検索する

これで検索結果にExcelファイルが表示されます。

(クリックで拡大)
検索

Comments [0] | Trackbacks [0]
 1  |  2  |  3  |  4  |  5  | All pages