How to Solve CloudPanel Login Page Redirect Loop After an Update?

Nemesis

Active member
Joined
Mar 22, 2025
Messages
35
Points
61
Age
26
After updating CloudPanel to the latest version, I'm unable to access the login page—it keeps redirecting in an endless loop. How can I resolve this?
 
Solution
A redirect loop on CloudPanel's login page after an update usually indicates an issue with the session, cookies, firewall, or incorrect SSL configurations.

Here's how you can quickly fix this issue:

🔸 Step 1: Clear Browser Cache and Cookies

First, ensure it's not a browser caching issue:
  • Clear your browser's cache and cookies.
  • Restart your browser and retry accessing CloudPanel.

🔸 Step 2: Restart CloudPanel Service


Log in via SSH and restart CloudPanel to resolve temporary service issues:

Code:
sudo systemctl restart cloudpanel


Additionally, restart PHP-FPM to ensure backend stability:

Code:
sudo systemctl restart php8.3-fpm  # replace '8.3' with your PHP version

🔸 Step 3: Check...

A redirect loop on CloudPanel's login page after an update usually indicates an issue with the session, cookies, firewall, or incorrect SSL configurations.

Here's how you can quickly fix this issue:

🔸 Step 1: Clear Browser Cache and Cookies

First, ensure it's not a browser caching issue:
  • Clear your browser's cache and cookies.
  • Restart your browser and retry accessing CloudPanel.

🔸 Step 2: Restart CloudPanel Service


Log in via SSH and restart CloudPanel to resolve temporary service issues:

Code:
sudo systemctl restart cloudpanel


Additionally, restart PHP-FPM to ensure backend stability:

Code:
sudo systemctl restart php8.3-fpm  # replace '8.3' with your PHP version

🔸 Step 3: Check and Fix SSL Configuration

Incorrect SSL configuration often causes redirection loops:
  • Check CloudPanel SSL settings:
Code:
sudo nginx -t
  • If errors are shown, review and correct your SSL configuration (certificate paths, etc.), then reload Nginx:
Code:
sudo systemctl reload nginx
  • Reinstall the SSL certificate via CloudPanel CLI if necessary:
Code:
clpctl lets-encrypt:install:certificate --domainName=panel.domain.com

🔸 Step 4: Verify Permissions

Incorrect permissions after an update might cause redirect loops:

Code:
clpctl system:permissions:reset --directories=770 --files=660 --path=/usr/local/cloudpanel

Restart CloudPanel afterward:

Code:
sudo systemctl restart cloudpanel

🔸 Step 5: Check Firewall and IP Restrictions

Make sure your IP is not being blocked:
  • Temporarily disable UFW firewall for troubleshooting:
Code:
sudo ufw disable
  • If CloudPanel's Basic Authentication is enabled, consider temporarily disabling it:
Code:
clpctl cloudpanel:disable:basic-auth

🔸 Step 6: Review CloudPanel Logs

Check logs for specific errors:

Code:
tail -f /usr/local/cloudpanel/storage/logs/laravel.log

Address any errors found in the logs.
 
Solution
Back
Top