EasyEngine Could not create user

When creating a wordpress web site on EasyEngine, i get following error root@ee:~# ee site create smartandsolar.serverok.in –wp Starting site creation. Warning: Could not create user smartandsolar.serverok.in-8LHl6l. Please check logs. Warning: Initiating clean-up. Success: Site smartandsolar.serverok.in deleted. Report bugs here: https://github.com/EasyEngine/site-type-wp root@ee:~# This is because EasyEngine try to create a WordPress admin user, that failed … Read more

Enable FTP for EasyEngine Website

To Enable FTP for EasyEngine web sites, we need to install pure-ftpd. On Ubuntu/Debian, run apt install -y pure-ftpd Enable virtial FTP users ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/PureDB touch /etc/pure-ftpd/pureftpd.pdb In EasyEngine, we sites files are owned by www-data user, this user have a UID of 33. By default pure-ftpd won’t allow this. To enable users … Read more

EasyEngine Create Site

To create HTML web site To create PHP web site To create PHP/MySQL web site To enable LetsEncrypt SSL, add –letsencrypt Create WordPress site Create WordPress site with PHP 7.3 and cache enabled Secify wordpress admin user and email during site creation Create WordPress multi site WordPress Multisite with subdomain Ref: https://easyengine.io/docs/commands/site/create/ See EasyEngine

EasyEngine backup WordPress Database

EasyEngine WordPress Database Backup

EasyEngine run database of web sites in a Docker container. To take backup of MySQL database used by a WordPress website, you can run command ee shell DOMAIN_NAME –command=’wp db export’ This will create database backup on document root of the web site. Backup will be available in your web sites document root /opt/easyengine/sites/YOUR_DOMAIN.EXTN/app/htdocs/ You … Read more

Enable Admin Tools in EasyEngine

EasyEngine Admin Tools

EasyEngine come admin tools. This include phpMyAdmin, phpinfo, OpCache GUI, nginx status. To enable admin tool, run ee admin-tools enable example.com Admin tools are password protected, to get login details, run ee auth list global You can login to admin tools at http://example.com/ee-admin/ Accessing phpMyAdmin The pma link in EasyEngine Admin tools take you to … Read more

EasyEngine Connect to MySQL Database

To Find MySQL root password on EasyEngine, run cd /opt/easyengine/services && docker-compose exec global-db bash -c ‘echo $MYSQL_ROOT_PASSWORD’ Or cat /opt/easyengine/services/docker-compose.yml | grep MYSQL_ROOT_PASSWORD | awk -F’=’ ‘{print $2}’ cat /opt/easyengine/services/docker-compose.yml | grep MYSQL_ROOT_PASSWORD | cut -d’=’ -f2 To connect to MySQL console, run cd /opt/easyengine/services && docker-compose exec global-db bash -c ‘mysql -uroot -p${MYSQL_ROOT_PASSWORD}’ … Read more

Upgrade EasyEngine

EasyEngine upgrade

To upgrade EasyEngine, run ee cli update It is recommended you run this in tmux or screen to avoid disconnection while upgrading. Example root@ip-172-26-9-39:~# ee cli update Note: It is recommended to run EasyEngine update in tmux/screen. Update at times may take some time. To view progress, tail logs in a different window using `tail … Read more

EasyEngine

EasyEngine is a command line tool to manage/configure Nginx web server. https://easyengine.io To install EasyEngine, run Create Web Site EasyEngine HOWTOs EasyEngine Errors EasyEngine Folders /opt/easyengine/services/docker-compose.yml docker-compose file /opt/easyengine/sites/DOMAIN_NAME_HERE/app/htdocs Website document root /opt/easyengine/services/mariadb MySQL data dir Restart Nginx container for a site Clear Object cache for a site