{"id":2542,"date":"2021-04-07T08:14:36","date_gmt":"2021-04-06T23:14:36","guid":{"rendered":"http:\/\/doc-sin.life\/?p=2542"},"modified":"2021-04-07T08:14:36","modified_gmt":"2021-04-06T23:14:36","slug":"cli-%e3%81%a7-lightsail-%e3%81%ae-wordpress-%e3%82%92-5-7-%e3%81%ab-update-%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%80%82","status":"publish","type":"post","link":"https:\/\/doc-sin.life\/?p=2542","title":{"rendered":"CLI \u3067 Lightsail \u306e WordPress \u3092 5.7 \u306b Update \u3057\u3066\u307f\u305f\u3002"},"content":{"rendered":"\n<p>\u3000Wordpress 5.7 \u304c\u30ea\u30ea\u30fc\u30b9\u3055\u308c\u305f\u306e\u3067\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u307f\u308b\u306e\u3067\u3059\u304c\u3001\u4eca\u56de\u306f\u5168\u3066\u306e\u4f5c\u696d\u3092 CLI \uff08\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\uff09\u3067\u3084\u3063\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002GUI \uff08\u7ba1\u7406\u753b\u9762\uff09\u304b\u3089\u3084\u3063\u305f\u307b\u3046\u304c\u76f4\u611f\u7684\u3067\u5206\u304b\u308a\u3084\u3059\u3044\u306e\u306f\u78ba\u304b\u3067\u3059\u304c\u3001<strong><span style=\"color: #ff0000\" class=\"text-color\">CLI \u3060\u3068\u306a\u3093\u304b\u30ab\u30c3\u30b3\u3044\u3044\u3058\u3083\u306a\u3044\u3067\u3059\u304b<\/span><\/strong>\u3002\u5197\u8ac7\u306b\u805e\u3053\u3048\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c<strong>\u5272\u3068\u5197\u8ac7\u3067\u306f\u306a\u3044\u3067\u3059\u3002\u30ab\u30c3\u30b3\u3044\u3044\u306e\u306f\u91cd\u8981\u3067\u3059<\/strong>\u3002\u3053\u308c\u306f\u72ec\u8eab\u5947\u65cf\u7684\u306a\u611f\u60f3\u3067\u3059\u304c\u3001\u4e00\u822c\u7684\u306a CLI \u306e\u5229\u70b9\u306f\u4f5c\u696d\u3092\u81ea\u52d5\u5316\u3057\u30b7\u30b9\u30c6\u30e0\u306b\u7d44\u307f\u8fbc\u3081\u308b\u3068\u3053\u308d\u3067\u3057\u3087\u3046\u3002update \u3092\u81ea\u52d5\u3067\u884c\u3046\u304b\u3069\u3046\u304b\u306f\u307e\u305f\u5225\u306e\u8a71\u3067\u3059\u304c\u3001\u3053\u3053\u3067\u306f update \u4f5c\u696d\u3092 CLI \u3067\u884c\u3048\u308b\u304b\u691c\u8a3c\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/i0.wp.com\/doc-sin.life\/wp-content\/uploads\/2021\/04\/matrix-356024_640.webp?resize=553%2C390&#038;ssl=1\" alt=\"\u753b\u50cf\u306b alt \u5c5e\u6027\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u30d5\u30a1\u30a4\u30eb\u540d: matrix-356024_640.webp\" width=\"553\" height=\"390\" data-recalc-dims=\"1\" \/><figcaption>\u30de\u30c8\u30ea\u30c3\u30af\u30b9\u7684\u306a\u306d<\/figcaption><\/figure><\/div>\n\n\n\n<p>\u3000<strong>\u4f5c\u696d\u306f \u300cLightsail \u3067\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3092\u4f5c\u6210\u300d \u2192 \u300cWordpress \u306e Update\u300d \u3068\u3044\u3046\u6d41\u308c<\/strong>\u3067\u884c\u304d\u307e\u3059\u3002\u4f7f\u3046\u30c4\u30fc\u30eb\u306f AWS CLI \u3068 WP CLI \u306b\u306a\u308a\u307e\u3059\u3002\u3067\u306f\u8a73\u3057\u304f\u898b\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2>\u524d\u63d0\u6761\u4ef6<\/h2>\n\n\n\n<p>\u3000\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u6761\u4ef6\u3067\u9032\u3081\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ aws --version\naws-cli\/2.1.2 Python\/3.7.4 Darwin\/19.6.0 exe\/x86_64<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ wp --version\nWP-CLI 2.4.0<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ wp core version\n5.6.2<\/code><\/pre>\n\n\n\n<h2>Lightsail \u3067\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u306e\u53d6\u5f97<\/h2>\n\n\n\n<p>\u3000\u307e\u305a\u306f Lightsail \u306e\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u65b9\u6cd5\u306f\u8272\u3005\u3042\u308a\u307e\u3059\u304c\u3001\u30b5\u30fc\u30d0\u30fc\u306e\u30a4\u30e1\u30fc\u30b8\u3054\u3068\u53d6\u5f97\u3059\u308b\u65b9\u6cd5\u3067\u5b9f\u65bd\u3057\u307e\u3059\u3002\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306f\u4f5c\u696d\u3059\u308b\u30ec\u30a4\u30e4\u30fc\u306e\u4f4e\u30ec\u30a4\u30e4\u30fc\u3067\u53d6\u5f97\u3059\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u3067\u3042\u308c\u3070\u3001\u4f5c\u696d\u3059\u308b\u30ec\u30a4\u30e4\u30fc\u306f MW \u30ec\u30a4\u30e4\u30fc\u306a\u306e\u3067\u3001\u305d\u306e OS \u30ec\u30a4\u30e4\u30fc\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ aws lightsail create-instance-snapshot \\\n--instance-snapshot-name doc-sin.life_wp5.6.0_update_wp57 \\\n--instance-name doc-sin.life_wp5.6.0<\/code><\/pre>\n\n\n\n<p>\u3000\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u4f5c\u6210\u3092\u30ea\u30af\u30a8\u30b9\u30c8\u3057\u3066\u304b\u3089\u6570\u5206\u3067\u30b9\u30ca\u30c3\u30d7\u30b7\u30e7\u30c3\u30c8\u304c\u5229\u7528\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002\u9858\u308f\u304f\u3070\u4f7f\u3044\u305f\u304f\u306f\u3042\u308a\u307e\u305b\u3093\u304c&#8230;.<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ aws lightsail get-instance-snapshot \\\n--instance-snapshot-name doc-sin.life_wp5.6.0_update_wp57 \\\n--query 'instanceSnapshot.state'\n\"available\"<\/code><\/pre>\n\n\n\n<h2>WordPress \u306e Update<\/h2>\n\n\n\n<p>\u3000\u3053\u3053\u304b\u3089 update \u4f5c\u696d\u3067\u3059\u3002\u307e\u305a\u306f\u30b5\u30fc\u30d0\u30fc\u306b SSH \u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ ssh bitnami@XX.XX.XX.XX<\/code><\/pre>\n\n\n\n<p>\u3000\u305d\u3057\u3066\u73fe\u72b6\u306e\u30c1\u30a7\u30c3\u30af\u3067\u3059\u3002\u73fe\u5728\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u306f 5.6.2 \u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ wp core version\n5.6.2<\/code><\/pre>\n\n\n\n<p>\u3000\u73fe\u5728 5.7 \u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u63a7\u3048\u3066\u3044\u307e\u3059\u3002\u4eca\u56de\u306f\u3053\u308c\u3092\u9069\u7528\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ wp core check-update\n+---------+-------------+--------------------------------------------------------------+\n| version | update_type | package_url                                                  |\n+---------+-------------+--------------------------------------------------------------+\n| 5.7     | major       | https:\/\/downloads.wordpress.org\/release\/ja\/wordpress-5.7.zip |\n+---------+-------------+--------------------------------------------------------------+<\/code><\/pre>\n\n\n\n<p>\u3000\u3044\u3088\u3044\u3088\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ wp core update<\/code><\/pre>\n\n\n\n<p>\u3000\u30a8\u30e9\u30fc\u304c\u51fa\u307e\u3057\u305f\u3002\u5927\u62b5\u306e\u5834\u5408\u4e00\u767a\u3067\u3046\u307e\u304f\u3044\u304b\u306a\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">Updating to version 5.7 (ja)...\nPHP Warning:  Declaration of WP_CLI\\Core\\CoreUpgrader::download_package($package, $check_signatures = true) should be compatible with WP_Upgrader::download_package($package, $check_signatures = false, $hook_extra = Array) in phar:\/\/\/opt\/bitnami\/apps\/wordpress\/bin\/wp-cli.phar\/vendor\/wp-cli\/core-command\/src\/WP_CLI\/Core\/CoreUpgrader.php on line 30\nWarning: Declaration of WP_CLI\\Core\\CoreUpgrader::download_package($package, $check_signatures = true) should be compatible with WP_Upgrader::download_package($package, $check_signatures = false, $hook_extra = Array) in phar:\/\/\/opt\/bitnami\/apps\/wordpress\/bin\/wp-cli.phar\/vendor\/wp-cli\/core-command\/src\/WP_CLI\/Core\/CoreUpgrader.php on line 30\nhttps:\/\/downloads.wordpress.org\/release\/ja\/wordpress-5.7.zip \u304b\u3089\u66f4\u65b0\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u4e2d...\n\u66f4\u65b0\u3092\u5c55\u958b\u3057\u3066\u3044\u307e\u3059\u2026\nError: \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/code><\/pre>\n\n\n\n<p>\u3000\u30c7\u30d0\u30c3\u30af\u30e2\u30fc\u30c9\u3067\u518d\u5b9f\u884c\u3092\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ wp core update --debug\n(...)\nDebug (bootstrap): Adding deferred command: google-site-kit reset (parent: google-site-kit, callable: object, args: {\"is_deferred\":true}) (0.992s)\nDebug (commands): Adding command: reset in google-site-kit Namespace (0.992s)\nDebug (bootstrap): Running command: core update (0.993s)\nUpdating to version 5.7 (ja)...\nPHP Warning:  Declaration of WP_CLI\\Core\\CoreUpgrader::download_package($package, $check_signatures = true) should be compatible with WP_Upgrader::download_package($package, $check_signatures = false, $hook_extra = Array) in phar:\/\/\/opt\/bitnami\/apps\/wordpress\/bin\/wp-cli.phar\/vendor\/wp-cli\/core-command\/src\/WP_CLI\/Core\/CoreUpgrader.php on line 30\nWarning: Declaration of WP_CLI\\Core\\CoreUpgrader::download_package($package, $check_signatures = true) should be compatible with WP_Upgrader::download_package($package, $check_signatures = false, $hook_extra = Array) in phar:\/\/\/opt\/bitnami\/apps\/wordpress\/bin\/wp-cli.phar\/vendor\/wp-cli\/core-command\/src\/WP_CLI\/Core\/CoreUpgrader.php on line 30\nUsing cached file '\/home\/bitnami\/.wp-cli\/cache\/core\/wordpress-5.7-ja.zip'...\n\u66f4\u65b0\u3092\u5c55\u958b\u3057\u3066\u3044\u307e\u3059\u2026\nError: \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/code><\/pre>\n\n\n\n<p>\u3000\u4f55\u306e\u5f79\u306b\u7acb\u305f\u306a\u3044\u30c7\u30d0\u30c3\u30af\u30e2\u30fc\u30c9\u3067\u3059\u3002\u4f55\u3082\u60c5\u5831\u306f\u5897\u3048\u3066\u3044\u307e\u305b\u3093\u3002<br \/>\u3000\u30ed\u30b0\u3092\u898b\u308b\u9650\u308a\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306f\u51fa\u6765\u3066\u304a\u308a\u3001\u305d\u308c\u3092\u5c55\u958b\u3059\u308b\u3068\u3053\u308d\u3067\u5931\u6557\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u3067\u306f\u3069\u3053\u306b\u5c55\u958b\u3057\u3088\u3046\u3068\u3057\u3066\u3044\u308b\u306e\u3067\u3057\u3087\u3046\u304b\u3002wp-content \u914d\u4e0b\u306b\u305d\u308c\u3089\u3057\u304d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u540d\u524d\u306f upgrade \u3067\u3001\u30aa\u30fc\u30ca\u30fc\u3082 daemon \u3067\u3001\u5b9f\u884c\u30e6\u30fc\u30b6\u30fc bitnami \u306b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u4f5c\u6210\u6a29\u9650\u304c\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ ls -ld apps\/wordpress\/htdocs\/wp-content\/upgrade\/\ndrwxrwxr-x 3 daemon daemon 4096 Apr  6 23:14 apps\/wordpress\/htdocs\/wp-content\/upgrade\/<\/code><\/pre>\n\n\n\n<p>\u3000\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30aa\u30fc\u30ca\u30fc\u3092 bitnami \u306b\u5909\u66f4\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ sudo chown bitnami apps\/wordpress\/htdocs\/wp-content\/upgrade\/\n$ ls -ld apps\/wordpress\/htdocs\/wp-content\/upgrade\/\ndrwxrwxr-x 3 bitnami daemon 4096 Apr  6 23:14 apps\/wordpress\/htdocs\/wp-content\/upgrade\/<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>$ wp core update --debug<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">(...)\nUsing cached file '\/home\/bitnami\/.wp-cli\/cache\/core\/wordpress-5.7-ja.zip'...\n\u66f4\u65b0\u3092\u5c55\u958b\u3057\u3066\u3044\u307e\u3059\u2026\nPHP Warning:  copy(\/opt\/bitnami\/apps\/wordpress\/htdocs\/wp-content\/languages\/ja-7f13c36c641b114bf18cd0bcc9ecc7e0.json): failed to open stream: Permission denied in \/opt\/bitnami\/apps\/wordpress\/htdocs\/wp-admin\/includes\/class-wp-filesystem-direct.php on line 309\n(...)\n&lt;p&gt;\u66f4\u65b0\u304c\u5fc5\u8981\u306a\u7ffb\u8a33\u304c\u4e00\u90e8\u3042\u308a\u307e\u3059\u3002\u66f4\u65b0\u304c\u7d42\u308f\u308b\u307e\u3067\u3057\u3070\u3089\u304f\u304a\u6301\u3061\u304f\u3060\u3055\u3044\u3002&lt;\/p&gt;\n(...)\n&lt;\/div&gt;&lt;p&gt;\u7ffb\u8a33\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002&lt;\/p&gt;\n&lt;\/div&gt;Error: \u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30fc\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u3002 \"ja-7f13c36c641b114bf18cd0bcc9ecc7e0.json\"<\/code><\/pre>\n\n\n\n<p>\u3000\u5148\u7a0b\u306e\u30a8\u30e9\u30fc\u306f\u7121\u304f\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u4eca\u5ea6\u306f\u7ffb\u8a33\u30d5\u30a1\u30a4\u30eb\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002\u305f\u3060 WordPress \u306e\u66f4\u65b0\u306f\u6210\u529f\u3057\u3066\u3044\u308b\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ wp core version\n5.7<\/code><\/pre>\n\n\n\n<p>\u3000\u7ffb\u8a33\u30d5\u30a1\u30a4\u30eb\u306e\u66f4\u65b0\u306e\u5931\u6557\u3082\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u95a2\u4fc2\u306e\u3088\u3046\u3067\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u7ffb\u8a33\u30d5\u30a1\u30a4\u30eb\u3068\u601d\u308f\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30aa\u30fc\u30ca\u30fc\u306f\u5168\u3066 daemon \u3067\u3057\u305f\u3002\u305f\u3060\u4eca\u56de\u306e\u76ee\u7684\u306f WordPress \u306e update \u306a\u306e\u3067\u3053\u3053\u3067\u306f\u5bfe\u5fdc\u3057\u306a\u3044\u3067\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ ls -l apps\/wordpress\/htdocs\/wp-content\/languages\/ja-*\n-rw-rw-r-- 1 daemon daemon  2730 Mar  3 22:27 apps\/wordpress\/htdocs\/wp-content\/languages\/ja-0cc31205f20441b3df1d1b46100f6b8d.json\n-rw-rw-r-- 1 daemon daemon   498 Mar  3 22:27 apps\/wordpress\/htdocs\/wp-content\/languages\/ja-0ce75ad2f775d1cac9696967d484808c.json\n-rw-rw-r-- 1 daemon daemon   750 Mar  3 22:27 apps\/wordpress\/htdocs\/wp-content\/languages\/ja-0eebe503220d4a00341eb011b92769b4.json<\/code><\/pre>\n\n\n\n<h2>update \u5f8c\u306e\u4e0d\u5177\u5408<\/h2>\n\n\n\n<h3>\u4e0d\u5177\u5408\uff11<\/h3>\n\n\n\n<p>\u3000Chrome \u3067\u8a18\u4e8b\u7de8\u96c6\u753b\u9762\u304c\u771f\u3063\u767d\u3067\u3057\u305f\u3002\u5272\u3068\u3088\u304f\u898b\u308b\u4e8b\u8c61\u306e\u3088\u3046\u306b\u601d\u3048\u307e\u3059\u3002\u30b5\u30a4\u30c8\u306e\u8868\u793a\u306b\u554f\u984c\u306f\u306a\u304f\u3001\u30af\u30a4\u30c3\u30af\u7de8\u96c6\u304b\u3089\u306e\u7de8\u96c6\u3082\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002\u4ed6\u306e\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u554f\u984c\u306a\u304f\u7de8\u96c6\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u306e\u3067\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u304c\u60aa\u3055\u3057\u3066\u3044\u305f\u3088\u3046\u3067\u3001\u30ad\u30e3\u30c3\u30b7\u30e5\u3092\u524a\u9664\u3057\u305f\u3089\u89e3\u6d88\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3>\u4e0d\u5177\u5408\uff12\uff08\u8ffd\u8a18\uff09<\/h3>\n\n\n\n<p>\u3000\u3053\u3061\u3089\u306f\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u5f8c\u65e5\u898b\u3064\u304b\u3063\u305f\u3082\u306e\u3002Jetpack \u306e\u30b5\u30a4\u30c8\u30d8\u30eb\u30b9\u30b9\u30c6\u30fc\u30bf\u30b9\u3067\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u554f\u984c\u304c\u51fa\u3066\u3044\u305f\u3002<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"640\" height=\"495\" src=\"https:\/\/i0.wp.com\/doc-sin.life\/wp-content\/uploads\/2021\/04\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-04-10-12.15.33.webp?resize=640%2C495&#038;ssl=1\" alt=\"\" class=\"wp-image-2563\" srcset=\"https:\/\/i0.wp.com\/doc-sin.life\/wp-content\/uploads\/2021\/04\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-04-10-12.15.33.webp?w=640&amp;ssl=1 640w, https:\/\/i0.wp.com\/doc-sin.life\/wp-content\/uploads\/2021\/04\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2021-04-10-12.15.33.webp?resize=300%2C232&amp;ssl=1 300w\" sizes=\"(max-width: 640px) 100vw, 640px\" data-recalc-dims=\"1\" \/><\/figure><\/div>\n\n\n\n<p>\u3075\u3080&#8230;.\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u7d61\u307f\u306e\u3088\u3046\u3067\u3059\u3002\u5bfe\u8c61\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u307f\u308b\u3068\u3084\u306f\u308a daemon \u30e6\u30fc\u30b6\u30fc\u306b\u66f4\u65b0\u6a29\u9650\u304c\u3042\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ ls -l apps\/wordpress\/htdocs\/wp-config-sample.php\n-rw-rw-r-- 1 bitnami bitnami 3931 Apr  6 23:14 apps\/wordpress\/htdocs\/wp-config-sample.php<\/code><\/pre>\n\n\n\n<p>daemon \u30e6\u30fc\u30b6\u30fc\u3068 bitnami \u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u554f\u984c\u306f\u3084\u306f\u308a\u3069\u3046\u306b\u304b\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u305d\u3046\u3067\u3059\u3002\u3053\u3053\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b0\u30eb\u30fc\u30d7\u3092 daemon \u306b\u5909\u66f4\u3057\u3066\u89e3\u6d88\u3057\u307e\u3057\u305f\u3002\u5c11\u3057\u4e71\u66b4\u3067\u3059\u304c\u3001\u5168\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30b0\u30eb\u30fc\u30d7\u3092 daemon \u306b\u66f4\u65b0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-luxe-blocks-syntaxhighlighter line-numbers language-bash\"><code class=\"language-bash\">$ pwd\n\/home\/bitnami\/apps\/wordpress\/htdocs\n$ sudo chgrp -R daemon .<\/code><\/pre>\n\n\n\n<h2>\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3000\u6982\u306d\u554f\u984c\u306a\u304f CLI \u306e\u307f\u3067 upgate \u51fa\u6765\u307e\u3057\u305f\u304c\u3001wordpress \u95a2\u9023\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u306f\u6574\u7406\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u3067\u3059\u306d\u3002\u7ba1\u7406\u753b\u9762\u304b\u3089\u306e\u64cd\u4f5c\u3067\u306f daemon , CLI \u306e\u64cd\u4f5c\u3067\u306f bitnami \u3068\u306a\u308b\u306e\u3067\u3001\u3069\u3061\u3089\u304b\u306e\u30e6\u30fc\u30b6\u30fc\u3092\u4e00\u65b9\u306e\u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0\u3059\u308b\u306e\u304c\u59a5\u5f53\u306a\u3068\u3053\u308d\u3067\u3057\u3087\u3046\u304b\u3002\u5168\u4f53\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u78ba\u8a8d\u3057\u3066\u304b\u3089\u65b9\u91dd\u3092\u6c7a\u3081\u3066\u307f\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u8ffd\u8a18\u3057\u305f\u4e0d\u5177\u5408\u304b\u3089\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u3088\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-luxe-blocks-topic\" style=\"margin-top:10px;margin-bottom:30px\"><div class=\"wp-block-luxe-blocks-topic-title\" style=\"color:#fff;background-color:#006edc;border:1px solid #006edc;padding:3px 15px\"><span class=\"wp-block-luxe-blocks-topic-icon\"><\/span><span>\u65b9\u91dd<\/span><\/div><div class=\"wp-block-luxe-blocks-topic-content\" style=\"border:1px solid #006edc;padding:0px 15px 0px 15px\">\n<ul id=\"block-949d47bf-9448-44ec-a33d-adcd63b1c4eb\"><li><span style=\"font-size: 18px\" class=\"font-size\">CLI \u304b\u3089 update \u304c\u51fa\u6765\u308b\u3088\u3046\u306b <span style=\"color: #ff0000\" class=\"text-color\"><strong>bitnami \u30e6\u30fc\u30b6\u30fc\u3092 daemon \u30b0\u30eb\u30fc\u30d7\u306b\u8ffd\u52a0<\/strong><\/span>\u3059\u308b\u3002<\/span><\/li><li><span style=\"font-size: 18px\" class=\"font-size\">CLI \u304b\u3089\u306e update \u5f8c\u306b\u7ba1\u7406\u753b\u9762\u304b\u3089\u306e\u64cd\u4f5c\u306b\u652f\u969c<\/span><span style=\"font-size: 18px\" class=\"font-size\">\u304c\u306a\u3044\u3088\u3046\u306b<\/span><span style=\"font-size: 18px\" class=\"font-size\"> <strong><span style=\"color: #ff0000\" class=\"text-color\">wp \u95a2\u9023\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63<\/span><\/strong>\u3059\u308b\u3002<\/span><ul><li><span style=\"font-size: 18px\" class=\"font-size\">\u6240\u6709\u8005\u3092 bitnami \u3001\u6240\u6709\u30b0\u30eb\u30fc\u30d7\u3092 daemon<\/span><\/li><li><span style=\"font-size: 18px\" class=\"font-size\">daemon \u30b0\u30eb\u30fc\u30d7\u3067\u66f4\u65b0\u53ef\u80fd<\/span><\/li><\/ul><\/li><\/ul>\n<\/div><\/div>\n\n\n\n<h2>\u53c2\u8003\u30b5\u30a4\u30c8<\/h2>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/docs.aws.amazon.com\/cli\/latest\/reference\/lightsail\/index.html\" target=\"_blank\">AWS CLI Command Reference (lightsail)<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/developer.wordpress.org\/cli\/commands\/core\/update\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP-CLI Commands (wp core update)<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306e\u307f\u3067 Wordpress \u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3066\u307f\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":2554,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"http:\/\/doc-sin.life\/?p=2542"},"categories":[9],"tags":[40,64],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/doc-sin.life\/wp-content\/uploads\/2021\/04\/matrix-356024_640.webp?fit=640%2C452&ssl=1","_links":{"self":[{"href":"https:\/\/doc-sin.life\/index.php?rest_route=\/wp\/v2\/posts\/2542"}],"collection":[{"href":"https:\/\/doc-sin.life\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/doc-sin.life\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/doc-sin.life\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/doc-sin.life\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2542"}],"version-history":[{"count":0,"href":"https:\/\/doc-sin.life\/index.php?rest_route=\/wp\/v2\/posts\/2542\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/doc-sin.life\/index.php?rest_route=\/wp\/v2\/media\/2554"}],"wp:attachment":[{"href":"https:\/\/doc-sin.life\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2542"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/doc-sin.life\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2542"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/doc-sin.life\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}