Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing pymysql3 #969

Closed
AfzalH opened this issue Mar 28, 2018 · 18 comments
Closed

Missing pymysql3 #969

AfzalH opened this issue Mar 28, 2018 · 18 comments
Assignees
Labels

Comments

@AfzalH
Copy link

AfzalH commented Mar 28, 2018

Can't install ee with the command wget -qO ee rt.cx/ee && sudo bash ee. It was fine even 20 hours ago.
Here's the generated error near the end of the installation

Searching for pymysql3==0.4
Reading https://pypi.python.org/simple/pymysql3/
Couldn't find index page for 'pymysql3' (maybe misspelled?)

It seems that the pymysql3 page/package is not there anymore.
The first page returned by google search for pymsql3 is also showing a not found page
https://pypi.python.org/pypi/PyMySQL3/

Is it possible to give it a quick fix or any workaround?

@jatiyanon
Copy link

same here

1 similar comment
@tiagoandrepro
Copy link

same here

@mtstedman
Copy link

Ditto on this issue. Can't install EE on fresh Ubuntu 16.04 installs as of yesterday. Same error.

@jatiyanon
Copy link

jatiyanon commented Mar 29, 2018

and now have an error in fresh install.

root@ip-172-31-0-216:~# sudo ee site create abc.co --wp
Adding repository for MySQL, please wait...
Adding repository for NGINX, please wait...
Adding repository for PHP, please wait...
Updating apt-cache, please wait...
Installing packages, please wait...
Downloading MySQLTuner           [Done]
Downloading WP-CLI               [Done]
Reload : postfix   [OK]
Reload : nginx     [OK]
Restart : php5.6-fpm[OK]
Reload : mysql     [OK]
Running pre-update checks, please wait...
Setting up NGINX configuration  [Done]
Setting up webroot              [Done]
Downloading WordPress           [Done]
Setting up database             Oops Something went wrong !!
Calling cleanup actions ...
'ee_mysql_grant_host'

@farukipekcom
Copy link

I have the same problem. I can not add the site. Is there a solution?

@AfzalH
Copy link
Author

AfzalH commented Mar 29, 2018

It seems pymysql isn't a drop in replacement for pymysql3. I also tried changing pymysql3 to pymysql by creating a fork. It removed the installation error but site management isn't working

@farukipekcom
Copy link

Have you made a mistake while adding the website?
ee_mysql_grant_host

@AfzalH
Copy link
Author

AfzalH commented Mar 29, 2018

I'm not trying with easyengine anymore. Trying to do the site management myself. So far I've come up with this https://github.com/afzalh/lara-server
It needs manual commands but everything is under users control so no dependency (except the standard packages)

@mbtamuli
Copy link
Contributor

We're looking into this.

@VirtuBox
Copy link
Contributor

Hello guys, the only workaround I have found is to copy the folder /usr/local/lib/python3.5/dist-packages/ from another server with pymysql3 at the moment.
I have uploaded this folder in a zip file on Github if you want to try this temporary solution.
Folder content is from a server running ubuntu 16.04 LTS with easyengine.

@AfzalH AfzalH changed the title Unable to install today (It was working yesterday) Missing pymysql3 Mar 29, 2018
@ghost
Copy link

ghost commented Mar 29, 2018

thanks VirtuBox for solution. now its working

@farukipekcom
Copy link

Which code did you download?
I'm not an expert on this. Could you share the code completely, please.

@ghost
Copy link

ghost commented Mar 29, 2018

  1. cd /usr/local/lib/python3.5/
  2. rm -r dist-packages
  3. sudo apt-get install unzip
  4. wget https://github.com/VirtuBox/easyengine/raw/master/dist.zip
  5. unzip dist.zip
  6. wget -qO ee rt.cx/ee && sudo bash ee # install easyengine
  7. sudo ee site create example.com --wp # install wordpress on example.com
    and now try to install easy engine

@VirtuBox
Copy link
Contributor

To avoid errors with permissions and files owners :

sudo wget https://github.com/VirtuBox/easyengine/raw/master/dist.zip -O  /usr/local/lib/python3.5/dist.zip

sudo apt install unzip
sudo rm -rf dist-packages
sudo unzip dist.zip
sudo rm dist.zip
sudo chown root:staff dist-packages/*.egg

Then you should be able to install easyengine. If you have already installed EE, it doesn't matter, you can simply use it and create your first site.

@farukipekcom
Copy link

Worked. I love you. Thank you so much.

@mbtamuli
Copy link
Contributor

This has been fixed in EasyEngine v3.7.5. The Travis build passed.

Thanks @VirtuBox for providing a workaround for users till this was fixed.

Closing this issue.

@janiosarmento
Copy link

Shouldn't the new version be 3.7.6 or at least 3.7.5.1?

@fagnerguima
Copy link

The version with the problem already is 3.7.5. I think that the fixed version must be 3.7.6. Isn't?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

9 participants