PhlexPlexico / get5-web

[END OF LIFE] Webpanel for servers using the get5 CS:GO server plugin
GNU General Public License v3.0
21 stars 10 forks source link

./manager.py db upgrade issue #168

Closed gouyeh closed 4 years ago

gouyeh commented 4 years ago

I am facing this issue after enter ./manager.py db upgrade command. Using Centos7, Vestacp with nginx+apache and mariadb.

./manager.py db upgrade Traceback (most recent call last): File "./manager.py", line 3, in import get5 File "/var/www/get5-web/get5/init.py", line 28, in import util File "/var/www/get5-web/get5/util.py", line 5, in from Crypto.Cipher import AES ImportError: No module named Crypto.Cipher

PhlexPlexico commented 4 years ago

Cause and effect of #169

gouyeh commented 4 years ago

I am using splewis get5-web currently on my server and its working perfect. If i copy my old venv folder from splewis get5-web to Your get5-web version i didn't face any error using pip install -r requirements.txt (all completed successfully). Only getting error when upgrading it ./manager.py db upgrade this command showing the error which i mention here. This error is not related to #169

PhlexPlexico commented 4 years ago

It's very much related, because you shouldn't copy paste a virtualenv to another project that has different requirements. Please make sure the setup runs fine, without copy pasting, and then try this. I've only tested this on Raspbian and Ubuntu, so I cannot provide support for CentOS, minus googling things.