Installatron removes my manually added module from composer

Operating System & Version
godaddy shared hosting
cPanel & WHM Version
86.0.30

Adarsh Khatri

Registered
Aug 4, 2016
4
0
51
NSW, Australia
cPanel Access Level
Website Owner
Not sure how to ask this, but please bear with me.

I am on godaddy shared hosting, which is why I cannot do a
Code:
composer update
because of limited memory. So the workaround to that is I have cloned the site in my localhost and running composer update in my local server then copying the composer.lock file to my server then run the composer update.

This allows me to update a module install in limited memory.

But the problem is this:

I have got auto-update on my cPanel for that site. I just realized that upon cPanel updated my site, it then removed that particular module from the site. I do have that particular module in the composer.json, but that didn't help.

Where does the cPanel Installatron update the site from, which composer.json or composer.lock to rely on?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,418
1,000
313
cPanel Access Level
Root Administrator
Hey there!

cPanel doesn't manage the Composer software, so our support for that is going to be very limited.

The little documentation that we do have for this all involves performing work as the root user directly, and that can be found here:


If you are using Installatron to manage the software, it would be best to contact them directly as that tool is also not provided or maintained by the cPanel team.

I'm sorry I don't have more specifics on my end, but another user may be able to recommend some additional things you can try based on their experience.