Sugarcrm Logging Out Unexpectedly on local development

I am using SugarCRM Version 10.0.3 (Build 192 P) (Q2 2020).
For my local development, web server - Apache2, database Mysql.


I don't know why sugarcrm keep logout unexpectedly and the problem only happen on my local development.

I have check the page - https://support.sugarcrm.com/Knowledge_Base/Troubleshooting/Troubleshooting_Sugar_Logging_Out_Unexpectedly/

and the problem still unable to solved.

Any suggestion would be appreciated.

Parents
  • Are you using Firefox? There is a bug for frequent logouts with the later versions of Firefox: Bug Number 88055

    portal.sugarondemand.com/

  • Hi Francesca,

    Thank you very much for the information.

    However, I tried to use Chromium browser for a few hours, but the issue is same.

    Any other hints would be appreciated.

  • Hi Manson,

    Please make sure you have the right ownership and permissions on your sugar root directory. Please clear your browser cache and login to Sugar and see how it behaves now.

  • Hi Poojitha,

    Thank you very much for your suggestion.

    Here is the ownership and permissions of the sugar root directory


    SugarPro$ ls -l /var
    total 52
    drwxr-xr-x  2 root root     4096 Oct 26 09:35 backups
    drwxr-xr-x 21 root root     4096 Aug  5 09:32 cache
    drwxrwsrwt  2 root whoopsie 4096 Oct 27 09:35 crash
    drwxr-xr-x 75 root root     4096 Aug 11 15:57 lib
    drwxrwsr-x  2 root staff    4096 Apr 15  2020 local
    lrwxrwxrwx  1 root root        9 Jul 22 16:07 lock -> /run/lock
    drwxrwxr-x 17 root syslog   4096 Oct 25 09:50 log
    drwxrwsr-x  2 root mail     4096 Feb 10  2021 mail
    drwxrwsrwt  2 root whoopsie 4096 Feb 10  2021 metrics
    drwxr-xr-x  2 root root     4096 Feb 10  2021 opt
    lrwxrwxrwx  1 root root        4 Jul 22 16:07 run -> /run
    drwxr-xr-x 16 root root     4096 Sep 23 15:00 snap
    drwxr-xr-x  7 root root     4096 Feb 10  2021 spool
    drwxrwxrwt 13 root root     4096 Oct 27 15:09 tmp
    drwxr-xr-x  6 root root     4096 Aug  2 10:20 www

    I have tried to clear browser cache and login to Sugar, but still not luck.

    One thing I may need to mention, we have another Laravel web application will call the api provided in Sugar. I am not sure if I using sugar and the Laravel app at the same time will it affect the session in sugar.

    I will try to use sugar only to see if the problem solve.

Reply
  • Hi Poojitha,

    Thank you very much for your suggestion.

    Here is the ownership and permissions of the sugar root directory


    SugarPro$ ls -l /var
    total 52
    drwxr-xr-x  2 root root     4096 Oct 26 09:35 backups
    drwxr-xr-x 21 root root     4096 Aug  5 09:32 cache
    drwxrwsrwt  2 root whoopsie 4096 Oct 27 09:35 crash
    drwxr-xr-x 75 root root     4096 Aug 11 15:57 lib
    drwxrwsr-x  2 root staff    4096 Apr 15  2020 local
    lrwxrwxrwx  1 root root        9 Jul 22 16:07 lock -> /run/lock
    drwxrwxr-x 17 root syslog   4096 Oct 25 09:50 log
    drwxrwsr-x  2 root mail     4096 Feb 10  2021 mail
    drwxrwsrwt  2 root whoopsie 4096 Feb 10  2021 metrics
    drwxr-xr-x  2 root root     4096 Feb 10  2021 opt
    lrwxrwxrwx  1 root root        4 Jul 22 16:07 run -> /run
    drwxr-xr-x 16 root root     4096 Sep 23 15:00 snap
    drwxr-xr-x  7 root root     4096 Feb 10  2021 spool
    drwxrwxrwt 13 root root     4096 Oct 27 15:09 tmp
    drwxr-xr-x  6 root root     4096 Aug  2 10:20 www

    I have tried to clear browser cache and login to Sugar, but still not luck.

    One thing I may need to mention, we have another Laravel web application will call the api provided in Sugar. I am not sure if I using sugar and the Laravel app at the same time will it affect the session in sugar.

    I will try to use sugar only to see if the problem solve.

Children