local Dev instance v.11 getting: Error there was an error while connecting to the server.

Hello friends...

Updated my local dev instance to v11.0 (Enterprise. Cloud) and now whenever I save any record (in any module) I get this:

  

I previously had to do the following after each reboot of my VM box to stop 500 errors:

 - Log into My SQL as Root
SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));
quit
Though I don't think this is the same thing now/above...  
I have checked through all the config files etc...  fully expect something really obvious will bee staring at me but so far eluded me!
  • Any pointers for something I might be missing???  

Thank you, Luke. Pray

Parents
  • Hi Luke,

    Can you please check what is the error you are seeing in the sugarcrm.log and error_log, so that we can narrow down the issue.

    Thanks and Regards,

    PK,

    https://www.bhea.com

  • Hi ,

    Ignoring all the Licence Server warnings in the log, these are the ones triggered when doing an edit > save on a contact record:

    Mon Jun 28 16:01:38 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_tasks within module Contacts
    Mon Jun 28 16:01:38 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_tasks
    Mon Jun 28 16:01:38 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_leads within module Leads
    Mon Jun 28 16:01:38 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_leads
    Mon Jun 28 16:01:41 2021 [6215][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_tasks within module Contacts
    Mon Jun 28 16:01:41 2021 [6215][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_tasks
    Mon Jun 28 16:01:41 2021 [6215][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_tasks within module Contacts
    Mon Jun 28 16:01:41 2021 [6215][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_tasks
    Mon Jun 28 16:01:41 2021 [6215][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to load custom logic class 'MC_UserHoks'

    Note that if I make a change then the change IS saved.   So I think the DB connection is fine.

    Then an edit save on Account module record: (log refreshed from mark)

    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_leads within module Leads
    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_leads
    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_tasks within module Contacts
    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_tasks
    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_tasks within module Contacts
    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_tasks

    This is the log from Studio > System Settings > Logger Settings >Configure Log Settings.

    I will carry on with it tomorrow hopefully - sorry I don't have much more info now - one of those days!   Thank you, Luke.

Reply
  • Hi ,

    Ignoring all the Licence Server warnings in the log, these are the ones triggered when doing an edit > save on a contact record:

    Mon Jun 28 16:01:38 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_tasks within module Contacts
    Mon Jun 28 16:01:38 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_tasks
    Mon Jun 28 16:01:38 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_leads within module Leads
    Mon Jun 28 16:01:38 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_leads
    Mon Jun 28 16:01:41 2021 [6215][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_tasks within module Contacts
    Mon Jun 28 16:01:41 2021 [6215][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_tasks
    Mon Jun 28 16:01:41 2021 [6215][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_tasks within module Contacts
    Mon Jun 28 16:01:41 2021 [6215][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_tasks
    Mon Jun 28 16:01:41 2021 [6215][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to load custom logic class 'MC_UserHoks'

    Note that if I make a change then the change IS saved.   So I think the DB connection is fine.

    Then an edit save on Account module record: (log refreshed from mark)

    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_leads within module Leads
    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_leads
    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_tasks within module Contacts
    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_tasks
    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Warning: Multiple links found for relationship contact_tasks within module Contacts
    Mon Jun 28 16:06:32 2021 [5952][cdc7b90c-2954-11e9-9bad-020683bef092][ERROR] Unable to determine best appropriate link for relationship contact_tasks

    This is the log from Studio > System Settings > Logger Settings >Configure Log Settings.

    I will carry on with it tomorrow hopefully - sorry I don't have much more info now - one of those days!   Thank you, Luke.

Children
No Data