Iâm not sure of what I can or cant do with the cache folder.
In SuiteCRM8.5, I can see 2 caches folders :
Cache on the root level of the CRM containing only a folder âprodâ.
Cache in Public/legacy.
Why do I get 2 cache folder in SuiteCRM8 ?
Can I manually empty this folder completely without crashing the CRM with a simple ârm -r *â ?
Why ? I cannot actually perform a âquick repair and rebuildâ to clean the cache (I get an âunexpected errorâ even after verify the chmod and chown for the whole site), and I want to clean the cache to rebuilt it correctly as I want to make some changesâŚ
On the root level, that cache folder is the Symfony cache. There are Symfony console commands to clear it, but I think it is also ok to simply delete it and it gets rebuilt.
The public/legacy/cache is a different thing, that is a SuiteCRM folder and has many different types of contents, not all of them are ok to delete.
This was discussed here:
make sure you check out a link there that chris001 posted
Ok, I dont mess up with the cache folder as I understand there are not only âcacheâ but contains informations no where else.
I read the post you gave me PGR, Thanks again
This is quite complicate then as the quick repair and rebuild does not work on my CRM (unexpected error, no trace in any log file, chmod ok, chown okâŚ).
Hi everyone,
Ok, I keep having the issue to be unable to âquick repair and rebuildâ from Admin menu ârepairâ.
I have checked chown, chmod (02775 - 0644)
What could be your advice to find what giving me âunexpected errorâ and send me back to the dashboard every time I click on âquick repair and rebuildââŚ
Hi Pgr,
Ok,
I have nothing in Suitecrm.log, I have activate the error log on the server, and I have no issue in the console.
Iâm going to run the command this week end as I have seen a result of the issue : if I click on âquick repairâ, I get the error and after that, I cannot access anymore to many part of the CRM (dashboard, admin, etcâŚ) as I get then a page with the menu only (no more items in the page).
I will do this on the week end because I will be able to get the error.log and after that to restore the full folder. I will then have (I hope !) the reasonsâŚ
By the way, in the error.log, I already have many many âdeprecatedâ logâŚ
Donât worry about deprecateds, theyâre messages for future developers, nothing to worry about for the current moment.
Make sure your web server user (you can find out which one it is by looking at the cron instructions in Admin / Schedulers) is the same youâre using to set the ownerships in the file system.
Also check that that user name matches what you have in config.php, section default_permissions
Hi everyone,
Ok, I have to wait on Sunday to be sure that nobody was working on the CRM and be able to restore the CRM if I have a fatal issue.
So,
In error.log : nothing else than deprecated
In suitecrm.log, I have imapHandler trying to use i non valid ressource stream (I always have this error on the mailbox but the emails work).
Nothing also in the console raise.
All the permissions and chown are corrects.
Default permission did not change in the config file.
But I still having an âunexpected errorâ and send back to home when I try to use âquick repair and rebuildâ.
The only change : when I was trying this before, the dashboard and admin was broken, but now, it seems nothing seems broken (I can open the dashboard, the admin panels, etc⌠while I cant before).
So, all seems to be ok, but I get this âunexpected error on action callââŚ
What could I try to see what is the error or solve it ? Maybe someone had this also and found a way to solve this ?
For the record, I have only add fields in the Studio, change some forms to use these new fields, change the pdf generator (AOS PDFâŚ) but all was correctly working before.
This is quite a big issue as if I need to ârepair and rebuiltâ, it will not work and I will be stuckâŚ
Back,
Ok, I was thinking all was ok, but this have broke the email parameters (working with OAUTH on microsoft.com).
How this could happens ? It seems emails configuration generate then an issue but I dont know how to fix this : the email are working correctly if I dont repairâŚ