Ubuntu 16.04 LTS fresh install gives error


#1

Hello everyone, i just tried to install easy engine V4 running the wget command on a fresh installation of Ubuntu

I got an error:
/usr/bin/env: ‘php’: No such file or directory

I installed php 7.2 manually and i got then :
“Error: could not find driver”

Any ideas?


#2

I had the same issue on a fresh server… and I installed PHP 7.2 cli which fixed it. I followed this guide and started at step 3: https://www.rosehosting.com/blog/how-to-install-php-7-2-on-ubuntu-16-04/

At some point I did have to uninstall/kill Apache 2 because it was blocking some ports, once EE4 was installed successfully.


#3

Thanks for the reply!
I did exactly the same thing with the same tutorial last night and it worked for me as well.
Like everything else, easy engine is not perfect but i really appreciate. Them guys did some serious work!


#4

i’m having the same issue with ee comands I get " Error: could not find driver"
tried the guide with no help


#5

Can your VPS run Docker?


#7

@Georgios_ch @bowefrankema @hyperburst Did you try to install with the following command -

wget -qO ee rt.cx/ee4 && sudo bash ee

If you installed EE with above command then can you please attach the output of /opt/easyengine/logs/install.log here?


#8

@kirtan

yes i used the above command. Here the output of my log file

install.log


#9

Fix your apt-get update and try to re-install EE v4 again, it should work.


#10

i’m having the same issue
i had 3.x installed before
i followed the instructions
then installed php 7.2
and i now have the same error
no apt-get issues
any ideas?


#11

This is everything I did to fix it:

root@ip-172-31-12-116:/home/ubuntu# wget -qO ee rt.cx/ee4 && sudo bash ee 
root@ip-172-31-12-116:/home/ubuntu# ee update
Error: EasyEngine requires minimum PHP 7.2.0 to run.
root@ip-172-31-12-116:/home/ubuntu# apt-get install php7.2
root@ip-172-31-12-116:/home/ubuntu# ee update
Error: could not find driver
root@ip-172-31-12-116:/home/ubuntu# apt-get install php7.2-bcmath php7.2-curl php7.2-fpm php7.2-gd php7.2-imap php7.2-mbstring php7.2-mysql php7.2-recode php7.2-soap php7.2-xml php7.2-zip
root@ip-172-31-12-116:/home/ubuntu# ee update
Error: could not find driver
root@ip-172-31-12-116:/home/ubuntu# apt-get update && apt-get -y upgrade
root@ip-172-31-12-116:/home/ubuntu# wget -qO ee rt.cx/ee4 && sudo bash ee 
root@ip-172-31-12-116:/home/ubuntu# ee update
Error: 'update' is not a registered ee command. See 'ee help' for available commands.
root@ip-172-31-12-116:/home/ubuntu# ee help
root@ip-172-31-12-116:/home/ubuntu# ee cli update
Success: EasyEngine is at the latest version.

#12

fwiw, I wasn’t doing a fresh installed… I tried updating the current version I had… received this message:

root@server:/home/lewayotte# ee update
Downloading update script        Unable to download file, /tmp/eeupdate20190104-204256

So I manually updated like this:

root@ip-172-31-12-116:/home/ubuntu# wget -qO ee rt.cx/ee4 && sudo bash ee 
-----> Checking dependencies
-----> Installing Docker
-----> Installing Docker

That’s when I started to have the above problems…
but after my “fix”… I ran into a new issue. It didn’t recognize any of my sites…

root@ip-172-31-12-116:~# ee site list
Error: No sites found!

So, I went down to ee 3.8.1…

root@ip-172-31-12-116:/home/ubuntu# wget -qO ee rt.cx/ee && sudo bash ee
Executing apt-get update, please wait...
Update EasyEngine to 3.8.1 (y/n): y

And everything worked again.