/ Last updated : 2022年4月5日
gontankun
Reply To: KUSANAGI RoDのprovisionでERRORがでる
TOP › Forums › インストール(Installing KUSANAGI) › KUSANAGI RoDのprovisionでERRORがでる › Reply To: KUSANAGI RoDのprovisionでERRORがでる
2022年4月5日 at 14:14
#882
Docker version 20.10.14とdocker-compose 2.4.1の組み合わせで確認しましたがダメでした。
デバッグメッセージの最後のほうです。
Downloading WordPress 5.9.2 (en_US)...
Warning: Failed to create directory '/.wp-cli/cache/': mkdir(): Permission denied.
md5 hash verified: b5e9c3b8dfd767d55c3797c2eae0f57d
Success: WordPress downloaded.
Success: Generated 'wp-config.php' file.
sendmail: can't connect to remote host (127.0.0.1): Connection refused
Success: WordPress installed successfully.
++ sleep 1
++ k_configcmd /home/kusanagi/wordpress rm wp.sh
++ local _dir=/home/kusanagi/wordpress
++ shift
++ k_compose run --rm -w /home/kusanagi/wordpress config rm wp.sh
++ /usr/local/bin/docker-compose run --rm -w /home/kusanagi/wordpress config rm wp.sh
rm: remove 'wp.sh'?
++ k_configcmd /home/kusanagi/wordpress/DocumentRoot chmod 440 wp-config.php
++ local _dir=/home/kusanagi/wordpress/DocumentRoot
++ shift
++ k_compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config chmod 440 wp-config.php
++ /usr/local/bin/docker-compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config chmod 440 wp-config.php
++ k_configcmd /home/kusanagi/wordpress/DocumentRoot mv wp-config.php ..
++ local _dir=/home/kusanagi/wordpress/DocumentRoot
++ shift
++ k_compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config mv wp-config.php ..
++ /usr/local/bin/docker-compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config mv wp-config.php ..
++ k_configcmd /home/kusanagi/wordpress/DocumentRoot mkdir -p ./wp-content/languages
++ local _dir=/home/kusanagi/wordpress/DocumentRoot
++ shift
++ k_compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config mkdir -p ./wp-content/languages
++ /usr/local/bin/docker-compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config mkdir -p ./wp-content/languages
++ k_configcmd /home/kusanagi/wordpress/DocumentRoot chmod 0750 . ./wp-content
++ local _dir=/home/kusanagi/wordpress/DocumentRoot
++ shift
++ k_compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config chmod 0750 . ./wp-content
++ /usr/local/bin/docker-compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config chmod 0750 . ./wp-content
++ k_configcmd /home/kusanagi/wordpress/DocumentRoot chmod -R 0770 ./wp-content/uploads
++ local _dir=/home/kusanagi/wordpress/DocumentRoot
++ shift
++ k_compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config chmod -R 0770 ./wp-content/uploads
++ /usr/local/bin/docker-compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config chmod -R 0770 ./wp-content/uploads
++ k_configcmd /home/kusanagi/wordpress/DocumentRoot chmod -R 0750 ./wp-content/languages ./wp-content/plugins
++ local _dir=/home/kusanagi/wordpress/DocumentRoot
++ shift
++ k_compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config chmod -R 0750 ./wp-content/languages ./wp-content/plugins
++ /usr/local/bin/docker-compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config chmod -R 0750 ./wp-content/languages ./wp-content/plugins
++ k_configcmd /home/kusanagi/wordpress/DocumentRoot sed -i s/fqdn/wp.localhost/g ../tools/bcache.clear.php
++ local _dir=/home/kusanagi/wordpress/DocumentRoot
++ shift
++ k_compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config sed -i s/fqdn/wp.localhost/g ../tools/bcache.clear.php
++ /usr/local/bin/docker-compose run --rm -w /home/kusanagi/wordpress/DocumentRoot config sed -i s/fqdn/wp.localhost/g ../tools/bcache.clear.php
sed: can't create temp file '../tools/bcache.clear.phpXXXXXX': Permission denied
++ return 1
+ return 1
+ check_status
+ '[' 1 -eq 0 ']'
++ eval_gettext Failed.
++ gettext Failed.
+++ envsubst --variables Failed.
++ export PATH
++ envsubst Failed.
+ k_print_error Failed.
+ k_print_red 'ERROR: Failed.'
+ local 'OUT=ERROR: Failed.'
+ k_is_tty
+ [[ -t 1 ]]
+ return 0
+ echo -e '\e[31mERROR: Failed.\e[m'
ERROR: Failed.
+ exit 1
ちなみに、素のUbuntu20.04 LTSでkusanagiを動作させるとgettextがらみで異常になったので、gettextを追加でインストールしています。
gettext (GNU gettext-runtime) 0.19.8.1
以上、よろしくお願いいたします。