CyberPanel Community

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

hi
hindibio #1

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

25 replies
qt
qtwrk #2

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)

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

Ay
Aykut24 #3

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…

qt
qtwrk #4

there must be more error above that, please run that script command to log output

Ay
Aykut24 #5

i run it “script /root/install.log”

qt
qtwrk #6

Then upload that file please

qt
qtwrk #8

the log is incomplete…

Ay
Aykut24 #9

script only created so many log records

Ji
Jito #12

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…

qt
qtwrk #13

are you running as root or sudo ?

qt
qtwrk #15

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

Ji
Jito #16

/root/install.log

bash: /root/install.log: Permission denied

Ay
Aykut24 #17

this problem is very annoying. I have 7 servers running smoothly, but I’m having trouble installing 8.

qt
qtwrk #18

Type your comment> @Jito said:

/root/install.log

bash: /root/install.log: Permission denied

no , check my commands again.

qt
qtwrk #20

may I know your system and provider ? i will try to reproduce it.

Ay
Aykut24 #21

we use our own servers and centos 7

qt
qtwrk #22

please run

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

and post the result

Ay
Aykut24 #24

Type your comment> @qtwrk said:

please run

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

and post the result

what do you think is wrong

qt
qtwrk #25

something failed to install I think.

Can you reinstall a clean system and PM me SSH ?

Ay
Aykut24 #26

I did the installation for the 5th time and my problem was solved. Thank you.

Sign in to reply