Unable To Update WordPress Permalink For siteurl.com
"siteurl.com - this is for example only".
After update ee to version 1.3.3, I try to create wordpress site by command:
ee site create siteurl.com --wpfc
And:
Creating siteurl.com, Please Wait... Creating Symbolic Link For siteurl.com Creating htdocs & logs Directory Creating Symbolic Link For Logs Downloading WordPress, Please Wait... Enter The MySQL Database Name [siteurl_com]: Enter The MySQL Database Username [siteurl_com]: Enter The MySQL Database Password [password]: Setting Up WordPress, Please Wait... Updating WordPress Permalink, Please Wait... [ Wed Apr 16 13:36:46 EDT 2014 ] Unable To Update WordPress Permalink For siteurl.com
Site not working.
Its seems like wp-cli is not works properly Ref: https://github.com/rtCamp/easyengine/blob/master/usr/local/sbin/easyengine#L1399
Please provide the following command output
lsb_release -a
wp --info --allow-root
ee version
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
wp --info --allow-root
PHP binary: /usr/bin/php5
PHP version: 5.5.8-3+sury.org~precise+2
php.ini used: /etc/php5/cli/php.ini
WP-CLI root dir: /usr/share/easyengine/wp-cli/vendor/wp-cli/wp-cli
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 0.14.0
ee version
easyengine version: 1.3.3
@victorpetryk please give me the output of following commands
cd /var/www/siteurl.com/htdocs/
wp rewrite structure --allow-root /%year%/%monthnum%/%day%/%postname%/
echo $?
I am sorry, but I had to reinstall the system, and no longer can do what you're asking about.
@victorpetryk I'm testing with multiple system and i'm unable to reproducce the issue BTW in new system did you face the same problem?
No. On freshly installed system with version 1.3.5 this problem no longer exists.
@victorpetryk Thanks for conformation I'm close the issue now
I am getting the same issue after the upgrade
[ Thu Apr 24 18:39:05 EDT 2014 ] Unable To Update WordPress Permalink For matheuselenise.com.br root@anunciaai:~# cd /var/www/matheuselenise.com.br/htdocs/ root@anunciaai:/var/www/matheuselenise.com.br/htdocs# wp rewrite structure --allow-root /%year%/%monthnum%/%day%/%postname%/ Error: YIKES! It looks like you're running this as root. You probably meant to run this as the user that your WordPress install exists under.
If you REALLY mean to run this as root, we won't stop you, but just bear in mind that any code on this site will then have full control of your server, making it quite DANGEROUS.
If you'd like to continue as root, please run this again, adding this flag: --allow-root
If you'd like to run it as the user that this site is under, you can run the following to become the respective user:
sudo -u USER -i -- wp ...
root@anunciaai:/var/www/matheuselenise.com.br/htdocs# echo $? 1 root@anunciaai:/var/www/matheuselenise.com.br/htdocs# ee version easyengine version: 1.3.6
@willmkt Please provide me the output of following commands (Run as root user not sudo user)
lsb_release -a
wp --info --allow-root
This is the output:
root@anunciaai:~# lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.3 LTS Release: 12.04 Codename: precise root@anunciaai:~# wp --info --allow-root PHP binary: /usr/bin/php5 PHP version: 5.5.9-1+sury.org~precise+1 php.ini used: /etc/php5/cli/php.ini WP-CLI root dir: /usr/share/easyengine/wp-cli/vendor/wp-cli/wp-cli WP-CLI global config: WP-CLI project config: WP-CLI version: 0.14.0