How to resolve ./cyberpanel.sh: line 742 : usr/local/cyberpanel/bin/python2: No such file or direct — CyberPanel - WebHosting Control Panel for OpenLiteSpeed
CyberHosting

How to resolve ./cyberpanel.sh: line 742 : usr/local/cyberpanel/bin/python2: No such file or direct

When I was trying to install Cyberpanel on existing DO droplet (Ubuntu 18), getting the errors

./cyberpanel.sh: line 742 : usr/local/cyberpanel/bin/python2: No such file or directory

grep: /var/log/installLogs.txt: No such file or directory

reference error image - http://joxi.ru/KAxJGq9HZ7ZZ6m

please help me

Comments

  • Hi,

    I just grabbed a ubuntu 18 droplet but seems can not reproduce the issue.

    please try this

    1. resintall the droplet to ubuntu 18.04

    2. login to SSH , run script /root/install.log

    3. now run sh <(curl cyberpanel.sh)</code>

    Now the installer will run , and if it hits error and stopped as in your screenshot , run exit then check your root dir you will see a file "install.log" please send me this file , this will contain more info
  • Installation will start in 10 seconds, if you wish to stop please press CTRL + C
    ./cyberpanel.sh: line 969: /usr/local/CyberPanel/bin/python: No such file or directory
    grep: /var/log/installLogs.txt: No such file or directory
    Oops, something went wrong...
  • there must be more error above that, please run that script command to log output
  • i run it "script /root/install.log"
  • Then upload that file please
  • uploading log file https://wetransfer.com/downloads/7927062e68fa129bee43cb509e39884120200106134903/e835002e768dc47589ebc370af70fc7420200106134903/7d512c
  • the log is incomplete...
  • script only created so many log records
  • I got a record of the ssh window https://we.tl/t-4qcm51o9Uu
  • I got a record of the ssh window https://we.tl/t-4qcm51o9Uu> @qtwrk said:
    > the log is incomplete...

    help pls
  • Please help, I'm with centos 7 and getting error:

    fatal: destination path 'cyberpanel' already exists and is not an empty directory.
    Minstall/install.py
    Minstall/installCyberPanel.py
    Already on 'stable'
    /home/centos
    setenforce: SELinux is disabled
    Preparing...
    Installation will start in 10 seconds, if you wish to stop please press CTRL + C
    ./cyberpanel.sh: line 990: /usr/local/CyberPanel/bin/python: No such file or directory
    grep: /var/log/installLogs.txt: No such file or directory
    Oops, something went wrong...
  • are you running as root or sudo ?
  • Type your comment> @qtwrk said:
    > are you running as root or sudo ?

    of course,
    I run:
    $ sudo su
    $ sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)

    I built again & built again for a new instance, but get the same results
  • Type your comment> @Jito said:
    > Type your comment> @qtwrk said:
    > > are you running as root or sudo ?
    >
    > of course,
    > I run:
    > $ sudo su
    > $ sh <(curl https://cyberpanel.net/install.sh || wget -O - https://cyberpanel.net/install.sh)
    >
    > I built again & built again for a new instance, but get the same results

    please try this set

    after install a new clean system ,

    yum update

    yum install curl wget

    wget cyberpanel.sh/cyberpanel.sh

    chmod +x cyberpanel.sh

    script /root/debug.log

    ./cyberpanel.sh


    now it starts to install , if you encouter error and stops , run "exit" , then please post file /root/debug.log

    this file will contain all the output in the terminal
  • # /root/install.log
    bash: /root/install.log: Permission denied
  • this problem is very annoying. I have 7 servers running smoothly, but I'm having trouble installing 8.
  • Type your comment> @Jito said:
    > # /root/install.log
    > bash: /root/install.log: Permission denied

    no , check my commands again.
  • Installation will start in 10 seconds, if you wish to stop please press CTRL + C
    ./cyberpanel.sh: line 990: /usr/local/CyberPanel/bin/python: No such file or directory
    grep: /var/log/installLogs.txt: No such file or directory


    https://wetransfer.com/downloads/9a347ae7f6d67cab7d72c5e21073929a20200110055453/d64df32f17702a88e35d43bf64016f4a20200110055453/a83a00
  • may I know your system and provider ? i will try to reproduce it.
  • we use our own servers and centos 7
  • please run

    ls -l /usr/local/CyberPanel/bin/

    and post the result
  • edited January 13
    ls: cannot access /usr/local/CyberPanel/bin/: No such file or directory.

    no bin directory
    https://ibb.co/tqxz49q
  • Type your comment> @qtwrk said:
    > please run
    >
    > ls -l /usr/local/CyberPanel/bin/
    >
    > and post the result
    >

    what do you think is wrong
  • something failed to install I think.

    Can you reinstall a clean system and PM me SSH ?
  • I did the installation for the 5th time and my problem was solved. Thank you.
This discussion has been closed.
CyberPanel Discord

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!