TransWikia.com

Can't install plug-ins from CP

Craft CMS Asked on February 6, 2021

I can install plug-ins from the command line, but when I do so from within Craft, I get this:

Composer was unable to install the updates.

Error: Could not delete /var/www/craft-dev/vendor/yiisoft/yii2-shell/ShellController.php: unlink(/var/www/craft-dev/vendor/yiisoft/yii2-shell/ShellController.php): Permission denied

Composer output: Package "craftcms/vue-asset" listed for update is not installed. Ignoring.
Loading composer repositories with package information
Updating dependencies
Package operations: 8 installs, 2 updates, 4 removals

  • Removing yiisoft/yii2-shell (2.0.4)

Any suggestions? Permission error?

One Answer

Yes, looks like you'll need to look at the folder yiisoft and subfolders for permissions. Maybe set them to read, write until you're done and then change them to read only.

Just thinking off the top of my head about what the issue could be.

Answered by CraftN00b on February 6, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP