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
  • Brite
  • 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. Build Service
  3. Add better logging

Add better logging

Scheduled Pinned Locked Moved Build Service
6 Posts 2 Posters 111 Views 2 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.
  • E Offline
    E Offline
    ekevu123
    wrote last edited by
    #1

    I am a heavy user of the build service. Would it be possible to align the logging better between the server version and what I see in the console when running cloudron build? Specifically, it took me a while to figure out that the Build Service preferred a Dockerfile.cloudron instead of Dockerfile, which I assumed it would always use.

    I believe the console logs don't provide me with that information (they only show the content of the dockerfile, but they would be similar at least, of course).
    However, the app's logs on the server do specify this.

    Also, I could see something like "you have multiple dockerfiles, which one would you like to use" or so.

    1 Reply Last reply
    2
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote last edited by
      #2

      Good point. The build service is definitely something "generic" and not tied to Cloudron ecosystem. It think it makes sense to always choose Dockerfile unless Dockerfile.cloudron exists or is set as default somehow somewhere.

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote last edited by
        #3

        Actually, I looked into the code now. The Dockerfile name is sent from the CLI tool. It's the CLI tool which is defaulting to Dockerfile.cloudron. This makes sense then because Cloudron CLI tool is meant for building Cloudron apps.

        1 Reply Last reply
        0
        • E Offline
          E Offline
          ekevu123
          wrote last edited by
          #4

          It kind of does, but how about we'll add this to the logs to avoid confusion? The server already shows this, but the local command line doesn't.

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote last edited by
            #5

            @ekevu123 I have added it to the CLI build command now.

            1 Reply Last reply
            0
            • E Offline
              E Offline
              ekevu123
              wrote last edited by
              #6

              Thank you!

              1 Reply Last reply
              0
              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