Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. LAMP
  3. LAMP composer: command not found

LAMP composer: command not found

Scheduled Pinned Locked Moved LAMP
8 Posts 4 Posters 1.4k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      T Offline
      TheNils
      App Dev
      wrote on last edited by
      #1

      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

      BrutalBirdieB girishG 2 Replies Last reply
      0
      • T TheNils

        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

        BrutalBirdieB Offline
        BrutalBirdieB Offline
        BrutalBirdie
        Partner
        wrote on last edited by
        #2

        @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
        

        Like my work? Consider donating a drink. Cheers!

        1 Reply Last reply
        0
        • nebulonN Away
          nebulonN Away
          nebulon
          Staff
          wrote on last edited by
          #3

          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.

          T 1 Reply Last reply
          0
          • nebulonN nebulon

            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.

            T Offline
            T Offline
            TheNils
            App Dev
            wrote on last edited by
            #4

            @nebulon app version is :
            lamp.cloudronapp.php74@1.8.0-3

            it's a fresh install made yesterday from the app store

            BrutalBirdieB 1 Reply Last reply
            0
            • T TheNils

              @nebulon app version is :
              lamp.cloudronapp.php74@1.8.0-3

              it's a fresh install made yesterday from the app store

              BrutalBirdieB Offline
              BrutalBirdieB Offline
              BrutalBirdie
              Partner
              wrote on last edited by BrutalBirdie
              #5

              @thenils True!
              My LAMP App is:
              50d5801d-acd4-4f7a-9ad7-b7415cab2932-image.png
              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

              Like my work? Consider donating a drink. Cheers!

              1 Reply Last reply
              0
              • T TheNils

                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

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #6

                @thenils indeed, this is an oversight. I am making a new package.

                T 1 Reply Last reply
                1
                • girishG girish moved this topic from Support on
                • girishG girish

                  @thenils indeed, this is an oversight. I am making a new package.

                  T Offline
                  T Offline
                  TheNils
                  App Dev
                  wrote on last edited by
                  #7

                  @girish 👍 💪

                  girishG 1 Reply Last reply
                  0
                  • T TheNils

                    @girish 👍 💪

                    girishG Offline
                    girishG Offline
                    girish
                    Staff
                    wrote on last edited by
                    #8

                    @thenils I have pushed a new package, can you please check? It should have composer 2.1.8

                    1 Reply Last reply
                    1
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search