Hi all,
I’ve recently attempted to upgrade my SuiteCRM instance to version 8.7.1, and I’ve encountered a persistent issue where the login page keeps refreshing in a loop, making the system inaccessible. Here’s a detailed breakdown of the steps I followed and the troubleshooting I’ve tried so far.
Steps Followed for Upgrade
-
I followed the guide from Igo Sales and Marketing to perform the upgrade. I’ve successfully used this guide in the past without issues.
-
For troubleshooting, I referred to this community post, but my issue persists even after trying the suggested solutions.
Commands Executed During the Upgrade
Here are the exact commands I used for the upgrade:
# Navigate to the current SuiteCRM release directory
cd /home/suitecrm/releases/current/
# Download the upgrade package
cd tmp/package/upgrade/
curl -L -o suitecrm-8-7-1.zip "https://suitecrm.com/download/148/suite87/564667/suitecrm-8-7-1.zip"
# Begin upgrade process
cd ../..
./bin/console suitecrm:app:upgrade -t suitecrm-8-7-1
# Reset permissions
find . -type d -not -perm 2755 -exec chmod 2755 {} \;
find . -type f -not -perm 0644 -exec chmod 0644 {} \;
find . ! -user suitecrm -exec chown suitecrm:suitecrm {} \;
# Finalize the upgrade
./bin/console suitecrm:app:upgrade-finalize -t suitecrm-8-7-1
# Reset permissions again
find . -type d -not -perm 2755 -exec chmod 2755 {} \;
find . -type f -not -perm 0644 -exec chmod 0644 {} \;
find . ! -user suitecrm -exec chown suitecrm:suitecrm {} \;
# Restart the server
sudo systemctl restart nginx php8.2-fpm
Issues Encountered
After completing the upgrade:
-
Login Page Loop: Every time I try to load the login page, it immediately refreshes in a continuous loop. I cannot log in or access any part of SuiteCRM.
-
No Clear Errors: There are no immediate error messages displayed on the page.
-
SuiteCRM Logs: I checked suitecrm.log and the server logs. While I noticed some deprecated notices for Symfony components, nothing directly points to the root cause of the issue.
-
Tried Clearing Cache: I cleared the cache (rm -rf cache/*) and restarted the server again, but the issue persisted.
Steps Tried to Resolve the Issue
-
Verified Nginx Configuration: I confirmed my Nginx settings align with SuiteCRM documentation. I also reverted to the default configuration to rule out issues.
-
Reset Permissions: I ensured all files and directories have the correct ownership and permissions.
-
Restored Previous Version:
• I restored a backup of the previous version, verified functionality, and repeated the upgrade steps. The issue still occurred after upgrading.
-
Tried in Incognito Mode: I tested the system in incognito mode and on other browsers to rule out browser cache issues.
-
Reapplied Upgrade with Cache Cleared: I repeated the upgrade process with the cache cleared before and after, but the issue persisted.
Environment Details
• SuiteCRM Version: Attempting upgrade to 8.7.1
• PHP Version: 8.2
• Web Server: Nginx with PHP-FPM
• Operating System: Linux (Ubuntu 22.04)
• **Composer 2
What I Need Help With
I’m not sure what’s causing the continuous refreshing issue. I’ve verified permissions, cache clearing, server configuration, and even restored backups to repeat the process multiple times. Has anyone else experienced this issue with the 8.7.1 upgrade or have suggestions on what else to try?
Any help would be greatly appreciated! Let me know if you need additional logs or details.
Thanks in advance!