@pstevens I don’t know what happens with my installation, but it does not behave as yours. When I do as you described, my screen shows an “Error occurred while fetching metadata” and shows nothing. I tried renaming the task_activities_1* files as you did in your example, but this did not recover my system.
Something I’m getting, but I’m not sure what I did to make them appear, are the following error messages in the /var/www/html/logs/prod/prod.log
file :
2025-01-10 23:36:16] request.CRITICAL: Uncaught PHP Exception Error: "Failed opening required '/var/www/html/cache/prod/ContainerVnQHcyy/getApiPlatform_Listener_ExceptionService.php' (include_path='/var/www/html/public/legacy/include/..:.:/usr/share/php')" at App_KernelProdContainer.php line 552 {"exception":"[object] (Error(code: 0): Failed opening required '/var/www/html/cache/prod/ContainerVnQHcyy/getApiPlatform_Listener_ExceptionService.php' (include_path='/var/www/html/public/legacy/include/..:.:/usr/share/php') at /var/www/html/cache/prod/ContainerVnQHcyy/App_KernelProdContainer.php:552)"} []
[2025-01-10 23:36:16] php.CRITICAL: Uncaught Error: Failed opening required '/var/www/html/cache/prod/ContainerVnQHcyy/getApiPlatform_Listener_ExceptionService.php' (include_path='/var/www/html/public/legacy/include/..:.:/usr/share/php') {"exception":"[object] (Error(code: 0): Failed opening required '/var/www/html/cache/prod/ContainerVnQHcyy/getApiPlatform_Listener_ExceptionService.php' (include_path='/var/www/html/public/legacy/include/..:.:/usr/share/php') at /var/www/html/cache/prod/ContainerVnQHcyy/App_KernelProdContainer.php:552)"} []
but when I check the file is there, and the permissions and ownership are correct.
I also see a lot of messages like unable to find relationships emails_email_templates or projects_contacts_resources (and some others) in /var/www/html/public/legacy/suitecrm.log
, but when you look at the database the relationships are there.
In the log of apache, or in syslog (php_error.log) there is nothing.
Maybe as trying to understand suiteCRM, I did something really wrong and broke the installation? Is there a way to correct it? Or it will be the best to reinstall again and try to migrate the information? I guess the database can not be migrated, because if it is corrupt the new installation will have the have the same problems, so I may need to export and re-import the info.
One test I performed, as suggested by @pgr, was to create a many to many relationship between tasks and emails, and that seem to be working, but I’m not sure if it is worth the risk to try to keep running this installation. From your experience, what do you suggest?
One last thing, checking your tasks image, you have a history panel. This one does not appear in my installation. Is there something I need to do? this is exactly what I want to be able to follow up the task.
Just to complete the information:
OS: Debian 12 in an LXC container
PHP: 8.2.26
Apache: 2.4.62
Mariadb: 10.11.6
Thanks again to @pstevens and @pgr for trying to help me solve this problem.