usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.53k stars 592 forks source link

web terminal not working #469

Open lorvent opened 3 years ago

lorvent commented 3 years ago

When i installed cyberpanel, web terminal is working fine

but after changing admin password and mysql password, it stopped working.

now it says

Error connecting to backend

so i doubt, it needs admin or mysql password somewhere so failing.

MightyDrWolf commented 3 years ago

can you please check this: https://cyberpanel.net/docs/web-terminal/ and try it....

lorvent commented 3 years ago

@MightyDrWolf i have tried all those steps and even rebooted the vps but still it says same message.

so i doubt, it is something to do with admin or mysql password.

lorvent commented 3 years ago

Hello,

I have changed only root password, not cyberpanel user's

i have changed in first 2 places and in all other sections, it is using only cyberpanel user, not root so i didn't touch those files.

thanks

lorvent commented 3 years ago

unfortunately No, it is not working.

that is why i am seeking help.

my doubt is...somewhere web terminal access mysql with root user somewhere so it is failing

lorvent commented 3 years ago

I have done that no help i tried upgrading cyberpanel still no change.

if it matter, i have changed hostname after installing cyberpanel

ibrahimk157 commented 3 years ago

Can confirm the same issue has been going on for months... even on a fresh installation.

r3cha commented 3 years ago

Hello to everyone I will share one details why it doesn’t work for me: I just go trough the WebTerminal/CPWebSocket.py script that to get used ssh port parsing /etc/ssh/sshd_config file and found line contains Port .. So if you edit your /etc/ssh/sshd_config file before and has commented out line like:

Port 57890
# Port 22`

This script will fails 💯

So it can fails for fresh installations for someone because different OS/releases contains different default /etc/ssh/sshd_config content better its refactoring method and use other way to determinate ssh port

lorvent commented 3 years ago

@r3cha but in my case, i didn't change port too and my port is still 22

Zer0Down commented 3 years ago

First of all make sure the following port is added to your firewall in cyberpanel, and your provider is not blocking that port.

terminal | tcp | 0.0.0.0/0 | 5678 Once you know for sure that the port number is reachable restart the web terminal.

lorvent commented 3 years ago

Hello, that record is already added by default.

Zer0Down commented 3 years ago

We do use AWS, and this port is not open on AWS. Also make sure to reboot ssh server from within webterminal window. Screen Shot 2020-11-06 at 10 24 09

lorvent commented 3 years ago

rebooted terminal too but no luck

dampelz commented 3 years ago

The same error

dampelz commented 3 years ago

Sorry, but I don't use the panel anymore. Because the developers do not respond to requests For example, a lot of not responded issues on the forum, or this https://github.com/usmannasir/cyberpanel/issues/682 When editing a file, the file manager loses Cyrillic characters after saving Cyberpanel is not supported Cyrillic characters. First name, last name, when creating the user account.

lorvent commented 3 years ago

@dampelz i can feel you. are you using any other panels or went back to terminal? in my case....i realized regular openlitespeed panel is enough for my requirements.