How to change composer file directory after it has been set?
RuntimeException: Error creating directory: /home/phislub9/public_html/sites/default/files/composer in composer_manager_file_dir() (line 299 of /var/www/html/psrlivetoupdate/sites/all/modules/composer_manager/composer_manager.module).



Is this location, sites/default/files/composer not accessible?. I think you probably need to update some permission or maybe create the file manually. This means that you can't upload files.



I think the variable is composer_manager_vendor_dir

If so, running this,

drush variable-set composer_manager_vendor_dir 'path_here'


Would update it.

If that's not the variable, running 

drush variable-get 


Should list all the variables and it's just searching which is the right one.




  I've run into an issue where I need to fix a composer error in my production environment


You should consider not moving your database from Development to Production for this exact reason. 

Check the Features module and other ways to move configuration into production, without having to import the database.

Always move your database from Production to Development, and move code from Development to Production.

This way, if you had to change something or apply a fix, it would be on your development environment, not on production.