Post Upgrade from 7.10.6 to 7.12.8 Clean Up

So after getting my upgrade completed, noticing some errors. Main issues include:

  1. On save of some files, ( seems common that it trigger a workflow (mail is sent). A 500 error occurs. However the record does save. - The 500 error is annoying and disturbs the users.

  2. Several Addons stopped working - A custom Admin Filter, Multiple Fields (Addon)

  3. Not able to install new addons without help from the DEV in suiteCRM store.

$) Noticing several areas where things say “undefined”

On the 500 error: Log file shows this. I removed an old mail template to get rid on the mail template issue - Not sure what to do about AOD.

Wed Feb 15 22:13:48 2023 [19142][1][ERROR] Unable to find relationship emails_email_templates
Wed Feb 15 22:13:48 2023 [19142][1][ERROR] Unable to find relationship emails_email_templates
Wed Feb 15 22:13:48 2023 [19142][1][ERROR] Unable to find relationship emails_email_templates
Wed Feb 15 22:30:43 2023 [20262][1][ERROR] File 'modules/AOD_Index/Index/Index/segments_4b1q' is not readable.
Wed Feb 15 22:31:20 2023 [20289][1][ERROR] Unable to find relationship projects_quotes
Wed Feb 15 22:31:23 2023 [20297][1][ERROR] Unable to find relationship projects_quotes
Wed Feb 15 22:31:24 2023 [20301][1][ERROR] Unable to find relationship projects_quotes
Wed Feb 15 22:33:02 2023 [20400][1][ERROR] File 'modules/AOD_Index/Index/Index/segments_4b1q' is not readable.
Wed Feb 15 22:33:05 2023 [20400][1][ERROR] File 'modules/AOD_Index/Index/Index/segments_4b1q' is not readable.
Wed Feb 15 22:33:05 2023 [20400][1][ERROR] Unable to find relationship projects_quotes
Wed Feb 15 22:33:17 2023 [20440][1][ERROR] File 'modules/AOD_Index/Index/Index/segments_4b1q' is not readable.
Wed Feb 15 22:33:18 2023 [20439][1][ERROR] Unable to find relationship projects_quotes
Wed Feb 15 22:33:18 2023 [20439][1][ERROR] Unable to find relationship projects_quotes
Wed Feb 15 22:33:31 2023 [20438][1][ERROR] File 'modules/AOD_Index/Index/Index/segments_4b1q' is not readable.
Wed Feb 15 22:33:31 2023 [20438][1][ERROR] File 'modules/AOD_Index/Index/Index/segments_4b1q' is not readable.
Wed Feb 15 22:33:31 2023 [20438][1][ERROR] fromUser: Conversion of 2023-02-03 22:28:05 from user format m/d/Y H:i failed
Wed Feb 15 22:33:31 2023 [20438][1][ERROR] fromUser: Conversion of 2023-02-15 22:33:30 from user format m/d/Y H:i failed
Wed Feb 15 22:33:31 2023 [20438][1][ERROR] fromUser: Conversion of 2023-02-03 22:28:05 from user format m/d/Y H:i failed
Wed Feb 15 22:33:31 2023 [20438][1][ERROR] fromUser: Conversion of 2023-02-15 22:33:30 from user format m/d/Y H:i failed
Wed Feb 15 22:33:31 2023 [20438][1][ERROR] fromUser: Conversion of 2023-02-03 22:28:05 from user format m/d/Y H:i failed
Wed Feb 15 22:33:31 2023 [20438][1][ERROR] fromUser: Conversion of 2023-02-15 22:33:30 from user format m/d/Y H:i failed
Wed Feb 15 22:33:31 2023 [20438][1][ERROR] fromUser: Conversion of 2023-02-03 22:28:05 from user format m/d/Y H:i failed
Wed Feb 15 22:33:31 2023 [20438][1][ERROR] fromUser: Conversion of 2023-02-15 22:33:30 from user format m/d/Y H:i failed
Wed Feb 15 22:33:31 2023 [20438][1][ERROR] Unable to find relationship projects_quotes
Thu Feb 16 04:53:44 2023 [13864][1][ERROR] File 'modules/AOD_Index/Index/Index/segments_4b1q' is not readable.
Thu Feb 16 04:53:45 2023 [13863][1][FATAL] {name:'Login',data: [4]},{name:'Logout',data: [0]},{name:'Created',data: [1]},{name:'Updated',data: [24]},{name:'Deleted',data: [0]},{name:'View',data: [32]},{name:'Restored',data: [0]}
Thu Feb 16 04:53:45 2023 [13863][1][ERROR] Unable to get proper side for link project_name_link
Thu Feb 16 04:53:45 2023 [13863][1][ERROR] Unable to get proper side for link project_name_link
Thu Feb 16 04:53:47 2023 [13864][1][FATAL] {name:'Login',data: [4]},{name:'Logout',data: [0]},{name:'Created',data: [1]},{name:'Updated',data: [24]},{name:'Deleted',data: [0]},{name:'View',data: [32]},{name:'Restored',data: [0]}
Thu Feb 16 04:53:47 2023 [13864][1][ERROR] Unable to get proper side for link project_name_link
Thu Feb 16 04:53:47 2023 [13864][1][ERROR] Unable to get proper side for link project_name_link

Any suggestions welcome

Check your ownerships/permissions - that non-readable file is a bad sign. The same goes for the “undefineds”.

I also suggest (after the permissions are fixed!) a QR&R and a “Rebuild Relationships”

1 Like

Ran these commands in WHM / CPanel

sudo chown -R  owner:group .  (owner group seems to reference the Cpanel user) 
sudo chmod -R 755 .
sudo chmod -R 775 cache custom modules themes data upload config_override.php

I think the above cleared up the undefined issues

Still had the 500 error persist as well as Addons not working. We determined The 500 error definitely was related to workflows. We switched from PHP8 to 7.4 and the 500 error stopped meaning the workflow (with email send) stopped triggering the 500 error on the saved record.

2 of 3 Addons started working again as well. Im guessing the older one may have an update, available. Still looking into that.

I still have errors in the error log but at the moment users are happy and one of the most important addon is functioning.

1 Like