Many thanks for this, I will try when I’ll go back.
Again, thanks a lot for this !
I wish to all a happy and great new year 2025 (some hours before !!!)
Best wishes,
Xavier
Many thanks for this, I will try when I’ll go back.
Again, thanks a lot for this !
I wish to all a happy and great new year 2025 (some hours before !!!)
Best wishes,
Xavier
Hi Farstar,
Back after a while, I have upgraded to SuiteCRM 8.8 and to finalize this, tried to run your trick.
First, my monolog.yaml is in config/packages directly (no “prod” folder).
I dont even find the filter you are talking to.
Then if I run the bin/console cache:clear, I can see on a green background “OK Cache for the “prod” environnement (debug=false was successfully cleared”.
But If I check the logs/prod/prod.deprecations.log, the size is still the same (…29.7 Gb !!!).
What did I miss ?
Thanks for your help
Xavier
Does it keep growing up with “php.INFO: User Deprecated” messages?
What SuiteCRM version you’re using?
Hi,.
I’m using 8.8.0 (very last one).
Farstar, I can even not open the file as 29.7Gb to edit is too big…
And as I already tried to remove the file and this seems to “block” the CRM, I am still stuck with this…
Thanks for your help,
Xavier
@Chabi02 you have to access the file from the operating system and delete it or trim it there.
Just remove it from Linux
Hi Pgr
I already did this in the past (tried to delete the file) : if I remove the prod.deprecations.log, just after that, some CRM screens does not work anymore (studio, repair and rebuild, etc…), even if I add again an empty file with the same name and the correct rights…
That doesn’t make much sense. Maybe try again, this time shutdown the web server before deleting the file. Then do a Symfony cache clear and restart the server.
And make sure you get those ownerships and permissions right.
@Chabi02 we do not have that file in the logs/prod/ folder.
Maybe you did not set error reporting correctly in the php.ini or in the SuiteCRM under admin → system settings → Logger Settings
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE & ~E_WARNING
and also do things mentioned by pgr
@rsp this is Symfony’s logging, it’s different from PHP logging and SuiteCRM logging… I know, this can be quite confusing…
This is configured as per @Farstar 's post above
Ohhhh now I understood it. Thank you for correction!
Hi
I will make the test Friday evening when nobody work on the CRM and check if the issue still happen or not (to be able to fetch back a backup if necessary).
I’ll tell you…
Xavier
By the way, I dont have the solution to my previous email as I dont find the information given by Farstar in my SuiteCRM 8.8 ?
Thanks again and again and again
Xavier
Maybe it is this code:
Or
Thanks Rsp,
I have seen this code but as I was not 100% sure, and as I dont want to crash in any manner a production SuiteCRM, I did not change it before. I will make a try this evening when office is closed.
Thanks
Xavier
Sounds like a plan! All the best
Hi everyone,
To keep you in touch, I come back to tell you the results.
This morning, I log by FTP to rename the prod.deprecations.log, purge the cache and check if all is running after that.
And then… before doing anything, I see the prod.deprecations.log file with a size of… 1 octet (byte) without doing anything !!
I dont know if the V8.8 have solved the issue or if the order
./bin/console cache:clear
done 2 days ago did something on this, but so far, I can see the file is empty. I can access to the dashboard, the admin page, the studio…
I dont have any explanation on this and how this has occured.
If somebody knows how this can occurs or if the V8.8 fix this, please tell me ! So far, it seems to be fixed (and I did not do anything else except the upgrade to the V8.8 and a cache purge in console).
To be sure, I have checked the size of the file yesterday on the JetBackup : 29.7Gb…
Incredible…
Have a nice day eveyone
Xavier
EDIT : I have also checked, I have no logrotate known on my side, but maybe there is one in SuiteCRM now ?
That’s good to know. Maybe it is fixed!
Hi everyone,
Back for a follow-up.
Since the upgrade to V8.8, no more issue with this deprecation log.
So far, this issue seems to be fixed for good.
Have a nice day !
Xavier
That’s awesome!