Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: gplamondon on November 08, 2019, 04:51:33 PM

Title: Login issues with CWP
Post by: gplamondon on November 08, 2019, 04:51:33 PM
When logging in with admin credentials the screen flashes and returns to the login screen.
I didn't see any log errors.

https://www.youtube.com/watch?v=zWQs9MIlweo (https://www.youtube.com/watch?v=zWQs9MIlweo)
Title: Re: Login issues with CWP
Post by: jnet on November 08, 2019, 05:03:07 PM
When logging in with admin credentials the screen flashes and returns to the login screen.
I didn't see any log errors.

https://www.youtube.com/watch?v=zWQs9MIlweo (https://www.youtube.com/watch?v=zWQs9MIlweo)

Every time I have this problem I check to see if there is any other tabs open and loged in.  Make sure you do not have
any other session. Log out from any other windows and this should not happen
Title: Re: Login issues with CWP
Post by: josemnunez on November 08, 2019, 06:38:49 PM
Please check that the account has an associated package, tremble you can have more details of what is happening by reviewing the records
Title: Re: Login issues with CWP
Post by: gplamondon on November 08, 2019, 06:40:32 PM
Please check that the account has an associated package, tremble you can have more details of what is happening by reviewing the records

How would I go about checking this?
Title: Re: Login issues with CWP
Post by: gplamondon on November 08, 2019, 06:48:38 PM
Quote
Every time I have this problem I check to see if there is any other tabs open and loged in.  Make sure you do not have
any other session. Log out from any other windows and this should not happen

I don't have any browser instances opened anywhere else, I even rebooted the server.
Title: Re: Login issues with CWP
Post by: Jamshed Datori on November 09, 2019, 01:58:17 AM
Please check that the account has an associated package, tremble you can have more details of what is happening by reviewing the records


Kindly follow the jose solution and it will be resolved. I had the same issue and it was resolved by this way.
Title: Re: Login issues with CWP
Post by: adamjedgar on November 11, 2019, 10:04:38 PM
O.P. Also, If you cannot log into CWP user interface at all, then you would need to use SSH program such as Putty to log into the command shell backend of your server and check users from there.

for example...from command shell in Putty you could type

less /etc/passwd

or

awk -F: '{ print $1}' /etc/passwd (this shows just the usernames)

or

cut -d: -f1 /etc/passwd (also shows just usernames)

or

getent passwd

or

getent passwd | cut -d: -f1


If you want to just check for a particular user on your system...

getent passwd | grep username (where username is the user you are looking for...ie admin )

Once you have an account that can log in, then you may check packages for that user by...

CWP dashboard>User Accounts>Edit Account (little cog on RHS of user list)...

under "Account Edit", you can check/select "Package"

If there are none in this list, then you need to create them under dashboard>packages (there should at least be a default package in list)



Title: Re: Login issues with CWP
Post by: pixelpadre on November 11, 2019, 10:25:52 PM
When logging in with admin credentials the screen flashes and returns to the login screen.
I didn't see any log errors.

https://www.youtube.com/watch?v=zWQs9MIlweo (https://www.youtube.com/watch?v=zWQs9MIlweo)

Every time I have this problem I check to see if there is any other tabs open and loged in.  Make sure you do not have
any other session. Log out from any other windows and this should not happen

Agree!  been there done that.
Title: Re: Login issues with CWP
Post by: gplamondon on November 13, 2019, 01:50:12 PM
Please check that the account has an associated package, tremble you can have more details of what is happening by reviewing the records

Can you please explain how I do this?  I cannot login to the web panel at all.

Title: Re: Login issues with CWP
Post by: gplamondon on November 13, 2019, 01:52:50 PM
O.P. Also, If you cannot log into CWP user interface at all, then you would need to use SSH program such as Putty to log into the command shell backend of your server and check users from there.

for example...from command shell in Putty you could type

less /etc/passwd

or

awk -F: '{ print $1}' /etc/passwd (this shows just the usernames)

or

cut -d: -f1 /etc/passwd (also shows just usernames)

or

getent passwd

or

getent passwd | cut -d: -f1


If you want to just check for a particular user on your system...

getent passwd | grep username (where username is the user you are looking for...ie admin )

Once you have an account that can log in, then you may check packages for that user by...

CWP dashboard>User Accounts>Edit Account (little cog on RHS of user list)...

under "Account Edit", you can check/select "Package"

If there are none in this list, then you need to create them under dashboard>packages (there should at least be a default package in list)

Thanks for the reply.  I dont think there is an issue with my password being incorrect.  if I try to login to the web panel with my credentials it just returnes to the login screen,  if I login with my credentials but purposely enter the wrong password it says "FAILED" in red.
Title: Re: Login issues with CWP
Post by: josemnunez on November 14, 2019, 09:07:39 AM
Could you login with your user account?
Title: Re: Login issues with CWP
Post by: anandmys on April 06, 2020, 08:51:36 AM
Please check that the account has an associated package, tremble you can have more details of what is happening by reviewing the records
ccount associated w

Thank you. I had same issue.

I was not able to login to user account after cwp to cwp migration. Although there was already a package associated with imported account, it was not logging me in.

Just changing the package helped me fix it.

If I revert back to old package (It was also migrated), I can not login.
Title: Re: Login issues with CWP
Post by: Radical Redemption on April 09, 2020, 08:29:10 AM
I'm having the very same issue, i manage to log in successfully on every second try.
Title: Re: Login issues with CWP
Post by: jaikar on April 24, 2020, 07:46:14 AM
deleting and creating a new user worked for me.
Title: Re: Login issues with CWP
Post by: samucamg on June 15, 2020, 03:24:25 PM
When logging in with admin credentials the screen flashes and returns to the login screen.
I didn't see any log errors.

https://www.youtube.com/watch?v=zWQs9MIlweo (https://www.youtube.com/watch?v=zWQs9MIlweo)

Every time I have this problem I check to see if there is any other tabs open and loged in.  Make sure you do not have
any other session. Log out from any other windows and this should not happen

I have the exacly problem, but only if I use a 4G.  If I use 4g, I only can stay logged, if I'm using an vpn to manteim the same Ip.
Title: Re: Login issues with CWP
Post by: cbstudiomx on November 02, 2023, 11:41:15 AM
deleting and creating a new user worked for me.

For me was enogh just to create a new user.
Then I try to log in with the old user, and everyting was ok!
I delete the new user and Centos Web Panel for users works fine!
Title: Re: Login issues with CWP
Post by: thewebexpert on November 21, 2023, 02:07:47 AM
so odd, the entire user panel was broken, added a test user then deleted it, and all of the accounts work.
Title: Re: Login issues with CWP
Post by: oceanhoster on November 21, 2023, 10:06:03 AM
Is it fixed?