How to install extensions via command line? #874
-
I was wondering, since I can't get to a computer at the moment, whether it is possible to install extensions via CLI, and if so, how. The background is that I have just updated a Yellow-powered website and the maintenance extension (not Giovanni's) did not come along and I would like to install Giovanni's now. Thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Do you only have shell access to the website? If the recommended installation methods don't work, try downloading the extension with
You should run the above command as the webserver's user to avoid potential permission issues. Finally open your website in a browser as usual, yellow then will take care of the actual installation. |
Beta Was this translation helpful? Give feedback.
Do you only have shell access to the website? If the recommended installation methods don't work, try downloading the extension with
wget
,curl
or any other command line tool that can handle file downloads for you. Change into yoursystem/extensions
directory and download the appropriate zip file there.cd system/extensions/ && wget -O yellow-maintenance-main.zip https://github.com/GiovanniSalmeri/yellow-maintenance/archive/main.zip
You should run the above command as the webserver's user to avoid potential permission issues. Finally open your website in a browser as usual, yellow then will take care of the actual installation.