Author Topic: Cant'access to cwp pro admin  (Read 1819 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Cant'access to cwp pro admin
« on: March 02, 2023, 01:50:28 PM »
Hi to all, I can't access more to my Admin/root panel of CWP.

I do the login and get many redirects error.

I have tryed many cli command but nothing solve this error.
Reinstalled cwp, reloaded and restarted... nothing
Rebuilded apache too, but nothing.


Anyone can help me?

Offline
***
Re: Cant'access to cwp pro admin
« Reply #1 on: March 02, 2023, 02:21:20 PM »
how u can rebuild apache if you cant login?


btw turn off adblock and allow cookies and disable VPN

Offline
*
Re: Cant'access to cwp pro admin
« Reply #2 on: March 02, 2023, 02:29:56 PM »
Cookie is allowed, and adblock is not activated.

I rebuild it via cli

Offline
*
Re: Cant'access to cwp pro admin
« Reply #3 on: March 02, 2023, 10:53:40 PM »
Anyone can help me???

Users access to control panel, and root/admin can't accesso to cwp..

Offline
***
Re: Cant'access to cwp pro admin
« Reply #4 on: March 03, 2023, 12:15:38 AM »
if you can ping your server
then try change the root pwd
after that relogin to cwp using the new password (user root)


if you cant ping :D try to get in and disable csf


btw
can you screenshot what kind of error

Offline
*
Re: Cant'access to cwp pro admin
« Reply #5 on: March 03, 2023, 07:21:30 AM »
I think the problem is 2FA plugin for cwp.

Because when login I inser root username and password, then ask me the 2fa code, I put the code and will get many redirect error.


I have tryed to uninstall cwp 2FA plugin and get this error
Code: [Select]
setenforce: SELinux is disabled
uninstall.sh: line 7: syntax error near unexpected token `>'
uninstall.sh: line 7: `exec >  >(tee -ia $logFile)'

After that I have tryed to exec update admin script via sh /scripts/cwp_update_admin

and get this other error
Code: [Select]
cat: /usr/local/cwpsrv/htdocs/resources/admin/version.txt: No such file or directory
/scripts/cwp_update_admin: line 14: [[: 0.9.8.1140: syntax error: invalid arithmetic operator (error token is ".9.8.1140")

Could it be a token issue? Because I get an token error?

Offline
*
Re: Cant'access to cwp pro admin
« Reply #6 on: March 03, 2023, 07:45:24 AM »
I have tried to remove 2FA, and I do this command

sh /usr/local/src/cwp_2fa/uninstall.sh

and get this
Code: [Select]
[root@srv2 cwp_2fa]# ./uninstall.sh
setenforce: SELinux is disabled
0.9.8.1151
username
user1
user2
user3
user4
user5
user6
sed: -e expression #1, char 1: unknown command: `,'
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/htdocs/admin/login//design
tail: cannot open ‘/usr/local/cwpsrv/htdocs/admin/login/index.php’ for reading: No such file or directory
chattr: Operation not supported while reading flags on /usr/local/cwpsrv/var/services/users/login//cwp_theme
tail: cannot open ‘/usr/local/cwpsrv/var/services/users/login/login.php’ for reading: No such file or directory
/////Uninstalling User Panel Files/////

and now when I try to open cwp panel get 404 error