-
Hi there,
i'm trying to install drupal on a LAMP app
when i try to run composer i get :bash: composer: command not found
i've tested with root user and www-data also tested in different location /app/data/ , /app/data/public/
thanks
@thenils
My LAMP App (latest version)root@60ae11f2-5b75-4c15-8272-d0e7d9c15092:/app/data# composer --version Do not run Composer as root/super user! See https://getcomposer.org/root for details Composer 1.6.3 2018-01-31 16:28:17
and explicit path
root@60ae11f2-5b75-4c15-8272-d0e7d9c15092:/app/data# /usr/bin/composer --version Do not run Composer as root/super user! See https://getcomposer.org/root for details Composer 1.6.3 2018-01-31 16:28:17
-
We had a couple of LAMP app flavors in the past, which one and version are you using?
You can find this information in the Update section in your Cloudron dashboard when you configure the app. -
@nebulon app version is :
lamp.cloudronapp.php74@1.8.0-3it's a fresh install made yesterday from the app store
@thenils True!
My LAMP App is:
lamp.cloudronapp@2.1.0
and was not update over a year
I just installed a new instance and yes I can confirm this issue is replicable.
And indeed the
composer
binary is missing!root@57870c5e-4d1b-46b9-87ad-395728cbafa2:/app/code# ls -lah /usr/bin/ | grep -i compo lrwxrwxrwx 1 root root 11 Oct 18 2019 compose -> run-mailcap lrwxrwxrwx 1 root root 27 Feb 6 2021 composite -> /etc/alternatives/composite lrwxrwxrwx 1 root root 31 Feb 6 2021 composite-im6 -> /etc/alternatives/composite-im6 -rwxr-xr-x 1 root root 15K Nov 18 2020 composite-im6.q16
-
Hi there,
i'm trying to install drupal on a LAMP app
when i try to run composer i get :bash: composer: command not found
i've tested with root user and www-data also tested in different location /app/data/ , /app/data/public/
thanks
-
G girish moved this topic from Support on