Ah, ok. So don't run that until there's a changelog with a fix for it. I personally have stayed on an older version because I saw issues persist when upgrading. At the end of the day, WordOps is a lot of complex and well thought out Python, there's no security risk of staying on previous versions -- in my opinion.

I run wo maintenance on all of my servers (100+ instances at this moment) on a daily basis, and none of them had such issue.

According to the docs wo maintenance doesn't update WordOps itself (it does package updates/cleaning). So @alexlii1971 did you mean after wo maintenance or wo update?

    marty did you mean after wo maintenance or wo update?

    Good question.

    Either way, I always use wo update, whenever there is a new release, and never faced such an issue, also.

    Hello,

    I did both wo maintenance and wo update on server.

    For local VM install, that issue will persist for me.

    For now, when I install on server, I always run the following line:

    sudo nano /etc/apt/apt.conf.d/20auto-upgrades
    switch off the Update-Package-Lists directive from 1 to 0 as shown below on Line 1:
    
    APT::Periodic::Update-Package-Lists "0";
    APT::Periodic::Unattended-Upgrade "0";

    As a workaround, try creating a file named wo with the content below:

    #!/usr/bin/python3
    # -*- coding: utf-8 -*-
    import re
    import sys
    from wo.cli.main import main
    if __name__ == '__main__':
        sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
        sys.exit(main())

    To create the file run the following commands as root (or sudo them, if you prefer):

    touch /usr/local/bin/wo
    chmod +x /usr/local/bin/wo

    I tried them all:
    bash wo --force
    sudo apt-get update && apt-get upgrade
    sudo rm /usr/local/bin/wo && wget -qO wo wops.cc && sudo bash wo
    sudo wget -qO wo wops.cc && sudo bash wo
    reboot 🙂)
    .. and nothing seems to work.. "wo: command not found"
    I use Ubuntu 18.04.4 LTS
    Can you help me, please?

    Welcome to WordOps install/update script v3.11.4

    Installing wo dependencies [OK]
    Installing WordOps [OK]
    Running post-install steps [OK]
    wo: line 755: 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

    WordOps Documentation : https://docs.wordops.net
    WordOps Community Forum : https://community.wordops.net
    WordOps Community Chat : https://chat.wordops.net

    Give WordOps a GitHub star : https://github.com/WordOps/WordOps/

      Emilian Perhaps you could try the workaround I suggested one reply before. As far as I can see, you didn't even try it.

      7 days later

      I tried to install a previous version, and I still received the "wo: command not found" error. Deleted the server and started over. Very sad.

      Hosted by VirtuBox