IamAQ Posted February 18, 2019 Share Posted February 18, 2019 Hello, I am facing a problem with updating WHMCS. It says to check memory limits and execution time but both of them are set as recommended values. I think the problem lies with the cache. As my c-panel indicates excessive use of inodes. Inode has crossed its max value. Maybe that is the reason for updating failure. As because of max node usage cache is not enough for the updating process. My website is in the initial phases, and don't have much client's data. I have seen that folder named 'composer' inside vendor folder consuming the majority of Inodes. Why it is so, What these folders contain? and how I can reduce it. Is my website having spam or something? Please help. thanks, 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 18, 2019 WHMCS Support Manager Share Posted February 18, 2019 Hi @IamAQ, My installation's /vendor directory contains 7697 files. Whilst auto-updating, this will double as the new files are extracted before being copied across. If this is hitting a limit of your hosting, you can apply incremental updates manually: https://docs.whmcs.com/Updating#For_a_Patch_Set However you cannot apply patch sets to update between major versions, (eg. 7.6 > 7.7) so in the intervening period I recommend working with your hosting provider to increase this limit, or seek a different provider. 0 Quote Link to comment Share on other sites More sharing options...
IamAQ Posted February 19, 2019 Author Share Posted February 19, 2019 5 hours ago, WHMCS John said: My installation's /vendor directory contains 7697 files. Whilst auto-updating, this will double as the new files are extracted before being copied across. In my case, it contains 177317 files. Can't I reduce them? I don't want to transfer to another hosting. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted February 19, 2019 WHMCS Support Manager Share Posted February 19, 2019 Hi @IamAQ, This indicates that the files from an unsuccessful auto-update attempt are present on your server. It sounds like the new files have been partially extracted, but not yet copied to the new location. The auto-updater failed at this point because it couldn't extract all the new files. The files are located at /vendor/whmcs/whmcs/ and can be safely removed. 0 Quote Link to comment Share on other sites More sharing options...
IamAQ Posted February 19, 2019 Author Share Posted February 19, 2019 3 hours ago, WHMCS John said: The files are located at /vendor/whmcs/whmcs/ and can be safely removed It only contains one zip file, deleting that didn't help much, 0 Quote Link to comment Share on other sites More sharing options...
IamAQ Posted February 19, 2019 Author Share Posted February 19, 2019 4 hours ago, WHMCS John said: sounds like the new files have been partially extracted, but not yet copied to the new location. The auto-updater failed at this point because it couldn't extract all the new files. Yeah, that's right! It do have many folders thats contains whmcs files, like admin, assets, downloads, vendor, attachments etc. May I remove that? Is it save if I remove these files? 0 Quote Link to comment Share on other sites More sharing options...
IamAQ Posted February 20, 2019 Author Share Posted February 20, 2019 most of the folders inside vendor > composer directory contain whmcs files, Can I safely remove these folders? 0 Quote Link to comment Share on other sites More sharing options...
larryjhammondd Posted February 20, 2019 Share Posted February 20, 2019 Hi, tell me , The files are located at /vendor/whmcs/whmcs/ and can be safely removed ????? 0 Quote Link to comment Share on other sites More sharing options...
IamAQ Posted February 20, 2019 Author Share Posted February 20, 2019 11 hours ago, larryjhammondd said: Hi, tell me , The files are located at /vendor/whmcs/whmcs/ and can be safely removed ????? Yes, The files located at vendor/whmcs/whmcs can be removed safely. I have done that and it didn't harm other files. 0 Quote Link to comment Share on other sites More sharing options...
lims Posted February 21, 2019 Share Posted February 21, 2019 On 2/20/2019 at 10:24 AM, IamAQ said: most of the folders inside vendor > composer directory contain whmcs files, Can I safely remove these folders? i think you need download full release new whmcs from https://download.whmcs.com/ backup your theme and other attachment and database 0 Quote Link to comment Share on other sites More sharing options...
IamAQ Posted February 21, 2019 Author Share Posted February 21, 2019 11 hours ago, lims said: i think you need download full release new whmcs from https://download.whmcs.com/ What if I face the same problem again! 0 Quote Link to comment Share on other sites More sharing options...
lims Posted February 22, 2019 Share Posted February 22, 2019 (edited) 12 hours ago, IamAQ said: What if I face the same problem again! u can compare your directory and default, just remove it.. to get more inodes space remember : don't forget to backup before u do this.. if u user auto update please check your Temporary Path == Utility >> update WHMCS. The temporary path is used for staging files during an update. It is recommended that this directory be located outside the public doc root. Edited February 22, 2019 by lims 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.