xasharma this seems to indicate a file permission issue. You probably ran composer
(or the extension manager) with 2 different shell users, and the files are not owned by the correct shell user anymore.
You should check which user you should/want to use (if this is a shared hosting, your host might have documentation about it). If you don't use the package manager, just identify the default shell user for SSH (whoami
), and chown
the files. Make sure you never run Composer as root.
If you use both the CLI Composer and the extension manager, you might want to identify the webserver shell user (could be www-data
), chown
the files to www-data
run run every Composer command with sudo -u www-data composer [...]
in the future so all files remain in the ownership of the webserver user.
In some circumstances you might need to chmod
every file to 777 permission, but this should be avoided if possible.