VERY frustrating problem...Can't log in and gives me an error which doesn't tell me anything...

This is SugarCRM Enterprise, Version 7.6.2.2 (Build 45)

So this instance all of a sudden won't let anyone log in.  Here is the VERY non-descript/unhelpful error message:

Unable to sync with server.  A request is failing that makes the application unusable.  Please contact technical support.

It runs on Linux (CentOS 6.x) and the database is MySQL, and I have full access to a Linux terminal.  I've restarted MySQL and Apache and the problem continues to persist.

Is there something useful being logged somewhere, and where should I look?

Thanks!

  • Hi Pete Johnstone

                                    This issue usually occurs
    1.When you have done an  incorrect customization,it is usually fixed by tracing where the issue has occurred and fixing it.

    You can check the sugarcrm.log file and the apache error logs for checking the errors.

    Also check in the network tab of chrome developer tool to trace which request if failing.

    Take backup of the cache folder and purge the cache.

    Remove your browser cache and reload the page.

    2.Insufficient disk space.

    Please update your status so that we can help you out further.

    HTH

    Regards

    Sidhu

  • Thanks, that actually makes a lot of sense.  This is a sandbox/testing instance so it's not production, and the user was literally inside doing customization when it occurred...I'll ask him tomorrow what he was doing when I speak with him, in the meantime I'll see if I can figure out something from the logs.

    (Disk space is fine, and this is a virtual machine so adding space is rather simple)

    I will update further as I get closer to resolution. 

  • hi Pete Johnstone, you can try login in incognito mode. sometimes this message is displayed even there is no error but you may have applied any changes in studio.

  • Also check for Apache error logs on the server, there might be some Fatal error that could help narrowing down the issue.

  • Hello Pete Johnstone

    Please follow below steps to over come your problem.

    1) First remove cache folder from your root dir of sugarcrm, Create new one cache folder with proper permission i.e 775 or 777

    2) clear browser cache which you are using as usal

    3) Load your instance URL in browser

    4) login in to system by entering username and password

    After following above steps if you are still facing issue than try to repair and rebuild using command line tools. Here are reference link to make repair and rebuild from command line to use in sugarcrm

    Ref Link: GitHub - inetprocess/sugarcli: A command line tool for SugarCRM 

    Even if you will face the issue please provide SugarCRM log, php log and browser console screenshot where you have loaded your SugarCRM URL.

    Thanks & Regards,

    Siddharth Gajjar

  • Thanks everyone who answered...I was able to locate the problem (had to abandon it for a few days to work on more pressing issues), it was a memory allocation error (which I found in the ssl error logs).  I had to increase the memory limit in the php.ini file, which by default was set at 128 MB, I went ahead and doubled that to 256M and everything seems to be working fine again.

    The give away is that I did a tail -f on the log via the console while simultaneously trying to log in and that error kept generating.  Whatever modifications that were added by the employee must've increased memory utilization during login.

  • Hi Pete, glad you found the issue on server side. Small recommendation here: I'd increase the limit further to 512M, depending on the actions you do 256M might still run into the limit for large operations:

    https://support.sugarcrm.com/Knowledge_Base/Platform_Management/Creating_a_phpinfo_File/ 

    Best regards,

    Dennis

  • Hi Pete

    Can you mark the correct one as Answer Correct.

  • Hi Dennis, thanks very much for that - I actually was planning on digging through the documentation when I had some down time to figure out the optimal setting, but you've made it much easier for me!  Thanks again!

  • Hi Pete! So glad the Sugar community was able to support you. If you're looking for other ways to improve your Sugar instance we've got the event for you. We'll cover user adoption, security and optimization and give attendees worksheets to complete their own CRM assessment. More on our free, online workshop: http://ow.ly/ZpD4305yCzO

1 2