• Questions
  • I get error when install WordOps on Raspberry 4

VirtuBox i get error when i use your command.

Found existing installation: psutil 5.5.1
ERROR: Cannot uninstall 'psutil'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

I use PI

PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"

i try fix it

pip install --upgrade --force-reinstall pip==9.0.3
pip install xxx --disable-pip-version-check
pip install --upgrade pip

Now it works

But i get error when i create new website

service nginx reload failed. check issues with nginx -t command.
Check the log for details: tail /var/log/wo/wordops.log and please try again
root@congthanh:/var/www# nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
root@congthanh:/var/www# tail /var/log/wo/wordops.log
2020-01-03 13:29:51,261 (DEBUG) wo.core.logging : Changing permission of /var/lib/wo/cert.csv, Perm:384
2020-01-03 13:29:51,262 (DEBUG) wo.core.logging : Removing /var/www/domain.com
2020-01-03 13:29:51,263 (DEBUG) wo.core.logging : Removing /var/www/domain.com
2020-01-03 13:29:51,269 (DEBUG) wo.core.logging : dropping database domain_com_RT7O5pIg
2020-01-03 13:29:51,273 (DEBUG) wo.core.logging : Executing MySQL Statement : drop database domain_com_RT7O5pIg
2020-01-03 13:29:51,275 (DEBUG) wo.core.logging : dropping user domaincdrDB
2020-01-03 13:29:51,279 (DEBUG) wo.core.logging : Executing MySQL Statement : drop user domaincdrDB@localhost
2020-01-03 13:29:51,284 (DEBUG) wo.core.logging : Executing MySQL Statement : flush privileges
2020-01-03 13:29:51,320 (INFO) wo : service nginx reload failed. check issues with nginx -t command.
2020-01-03 13:29:51,320 (ERROR) wo : Check the log for details: tail /var/log/wo/wordops.log and please try again

    I installed it on my Raspberry Pi a few days ago without any issues.

    Which version of the OS are you running?

    This is mine

    pi@raspberrypi:~ $ uname -a
    Linux raspberrypi 4.19.75-v7+ #1270 SMP Tue Sep 24 18:45:11 BST 2019 armv7l GNU/Linux

    Linux congthanhpi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux

    Still i need setup wordops for my pi but 🙁( i cannot setup... so everybody help me. Thank you

    Have you run

    sudo apt-get update && sudo apt-get dist-upgrade

    to ensure you have all the latest packages? If it's a fresh install of the OS, try re-installing the OS

      Thinking back again, did you try

      sudo su -

      then run the installer? I always have installed as "root" not using sudo itself

        Curious you're using "pip" instead of "apt-get"?

        Did you try a new, fresh install, run apt-get update && apt-get dist-upgrade and then try to install it?

          You were able to get it? Providing a solution would be great, if you have one, for other users that might be running into the same issue

          reinstall "psutil" and
          pip install --upgrade --force-reinstall pip==9.0.3
          pip install xxx --disable-pip-version-check
          pip install --upgrade pip

            6 days later

            I had a similar issue before - solved with change of internet connection. Some networks using restrictions of downloads files.

            Please try it.

            congthanhunica Thanks for your research.
            The issue is probably related to the debian package python3-pip installed from the raspbian APT repository.
            I will try to run more tests this week and to add a fix into the install script (if I manage to find the other micro-sd card I have).

            try using dietpi image - i got success with it. now its running online.

            Hosted by VirtuBox