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

`Installing wo dependencies [OK]
Installing WordOps [KO]
Running post-install steps [OK]
wo: line 746: wo: command not found
WordOps (wo) installed successfully

To enable bash-completion, just use the command:
bash -l

To install WordOps recommended stacks, you can use the command:
wo stack install

To create a first WordPress site, you can use the command:
wo site create site.tld --wp
`
I get this error.

Thank you

Regards,,

    Which user did you install as? Using sudo? Under root? Likely a permission issue, I suggest installing with "sudo" or "sudo su -"

    I use sudo to setup. User is "pi". Then i use root user but get old error.🙁

    Which OS are you running on?

    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?

            Hosted by VirtuBox