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. App Wishlist
  3. Dashy

Dashy

Scheduled Pinned Locked Moved App Wishlist
19 Posts 7 Posters 4.1k Views 6 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.
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #7

    @girish this looks like it's ready for testing and publishing as unstable.

    Conscious tech

    1 Reply Last reply
    1
    • T thetomester13

      I've managed to do a preliminary packaging of Dashy! You can find the code here.

      Few notes (taken from the README):

      • Dashy needs to access to edit some files on the filesystem to update the actual dashboards. It frequently updates /public/conf.yml (as well as creating backups of conf.yml files whenever a change is made), and it rewrites the entire /dist directory after a configuration change is made. This resulted in me having to put the entire /dashy directory in /app/data. Not sure if this is the right way to go about it, but it works.
      • I noticed that when using the Update Configuration => Edit Config option, one must first Apply Locally or Preview Changes before writing the changes to the config file works properly. I'm going to assume that this is the behavior of the app itself, and not a result of my packaging 🙂
      • When Dashy does rebuild its files after a configuration change, it ends up taking up a lot of memory. I've set mine to 1.5GB and haven't had issues. If you're seeing issues when trying to rebuild after a config change, try giving the app more resources.
      timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote on last edited by
      #8

      @thetomester13 eventually got time to test this out
      FYI I'm getting :

      App installation error: Installation failed: (HTTP code 500) server error - failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: mkdir /app/code/dashy: file exists: unknown 
      

      Just me ? Anyone else ?

      T 1 Reply Last reply
      0
      • timconsidineT timconsidine

        @thetomester13 eventually got time to test this out
        FYI I'm getting :

        App installation error: Installation failed: (HTTP code 500) server error - failed to create shim: OCI runtime create failed: container_linux.go:380: starting container process caused: process_linux.go:545: container init caused: mkdir /app/code/dashy: file exists: unknown 
        

        Just me ? Anyone else ?

        T Offline
        T Offline
        thetomester13
        App Dev
        wrote on last edited by
        #9

        @timconsidine hmm from a fresh install I'm seeing the same thing. Some quick research didn't turn up much, wondering if @girish or @nebulon have seen this error before or know where I should start looking?

        timconsidineT girishG 2 Replies Last reply
        1
        • T thetomester13

          @timconsidine hmm from a fresh install I'm seeing the same thing. Some quick research didn't turn up much, wondering if @girish or @nebulon have seen this error before or know where I should start looking?

          timconsidineT Offline
          timconsidineT Offline
          timconsidine
          App Dev
          wrote on last edited by timconsidine
          #10

          @thetomester13 I have since "hacked" the Dockerfile and think the problem is line 25 where the WORKDIR references the no-longer-present directory (hack was to remove the dashy from /app/code)

          I've got it past that error but it fails healthcheck as the sed command in start.sh fails not finding /app/data/dashy/.env (from memory, don't have the log any more). Not been able to work out the solution to that.

          T 1 Reply Last reply
          1
          • timconsidineT timconsidine

            @thetomester13 I have since "hacked" the Dockerfile and think the problem is line 25 where the WORKDIR references the no-longer-present directory (hack was to remove the dashy from /app/code)

            I've got it past that error but it fails healthcheck as the sed command in start.sh fails not finding /app/data/dashy/.env (from memory, don't have the log any more). Not been able to work out the solution to that.

            T Offline
            T Offline
            thetomester13
            App Dev
            wrote on last edited by
            #11

            @timconsidine thanks for that! I'm seeing the same thing you are. Looks like this app isn't as done as I thought it was... 😅 I'll go back to the drawing board on this and post back when I've made some progress!

            1 Reply Last reply
            1
            • T thetomester13

              @timconsidine hmm from a fresh install I'm seeing the same thing. Some quick research didn't turn up much, wondering if @girish or @nebulon have seen this error before or know where I should start looking?

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

              @thetomester13 said in Dashy:

              Some quick research didn't turn up much, wondering if @girish or @nebulon have seen this error before or know where I should start looking?

              Just saw this now, do you need any help ?

              T 1 Reply Last reply
              1
              • girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #13

                The comment at https://git.cloudron.io/thetomester13/dashy-app/-/blob/master/Dockerfile#L17 says "Move /dashy to /app/data so we can write to it, and symlink it to /app/code" . Why is that so?

                1 Reply Last reply
                0
                • girishG girish

                  @thetomester13 said in Dashy:

                  Some quick research didn't turn up much, wondering if @girish or @nebulon have seen this error before or know where I should start looking?

                  Just saw this now, do you need any help ?

                  T Offline
                  T Offline
                  thetomester13
                  App Dev
                  wrote on last edited by thetomester13
                  #14

                  @girish thanks for the offer @girish ! I think I'm alright for now. Will try and get back to this soon when I have a free few hours to play around with it. This app isn't super high on the Cloudron priority list.

                  @girish said in Dashy:

                  The comment at https://git.cloudron.io/thetomester13/dashy-app/-/blob/master/Dockerfile#L17 says "Move /dashy to /app/data so we can write to it, and symlink it to /app/code" . Why is that so?

                  If you see my comment from Feb 14th (I really should get a life sometimes : ), Dashy needs to access to edit some files on the filesystem to update the actual dashboards. It frequently updates /public/conf.yml (as well as creating backups of conf.yml files whenever a change is made), and it rewrites the entire /dist directory after a configuration change is made. This resulted in me having to put the entire /dashy directory in /app/data. Not sure if this is the right way to go about it, but it works. This is why I moved the entire folder.

                  girishG 1 Reply Last reply
                  0
                  • T thetomester13

                    @girish thanks for the offer @girish ! I think I'm alright for now. Will try and get back to this soon when I have a free few hours to play around with it. This app isn't super high on the Cloudron priority list.

                    @girish said in Dashy:

                    The comment at https://git.cloudron.io/thetomester13/dashy-app/-/blob/master/Dockerfile#L17 says "Move /dashy to /app/data so we can write to it, and symlink it to /app/code" . Why is that so?

                    If you see my comment from Feb 14th (I really should get a life sometimes : ), Dashy needs to access to edit some files on the filesystem to update the actual dashboards. It frequently updates /public/conf.yml (as well as creating backups of conf.yml files whenever a change is made), and it rewrites the entire /dist directory after a configuration change is made. This resulted in me having to put the entire /dashy directory in /app/data. Not sure if this is the right way to go about it, but it works. This is why I moved the entire folder.

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

                    @thetomester13 Ah ok. So, as a heads up, the "copy" to /app/data won't work anymore in 7.2.4 and beyond. This is because we stopped using docker volumes internally. The copying of files from a docker image's /app/data into runtime /app/data was a docker volumes feature. The fix is to do the copy in the start.sh

                    T 1 Reply Last reply
                    3
                    • girishG girish

                      @thetomester13 Ah ok. So, as a heads up, the "copy" to /app/data won't work anymore in 7.2.4 and beyond. This is because we stopped using docker volumes internally. The copying of files from a docker image's /app/data into runtime /app/data was a docker volumes feature. The fix is to do the copy in the start.sh

                      T Offline
                      T Offline
                      thetomester13
                      App Dev
                      wrote on last edited by
                      #16

                      @girish ok, very good to know, thanks for the heads up!

                      timconsidineT 1 Reply Last reply
                      1
                      • girishG girish referenced this topic on
                      • marcusquinnM Offline
                        marcusquinnM Offline
                        marcusquinn
                        wrote on last edited by
                        #17

                        👍

                        Web Design https://www.evergreen.je
                        Development https://brandlight.org
                        Life https://marcusquinn.com

                        1 Reply Last reply
                        3
                        • T thetomester13

                          @girish ok, very good to know, thanks for the heads up!

                          timconsidineT Offline
                          timconsidineT Offline
                          timconsidine
                          App Dev
                          wrote on last edited by
                          #18

                          @thetomester13 did you manage to resolve the copying issue ? does a custom install complete now ?

                          T 1 Reply Last reply
                          2
                          • timconsidineT timconsidine

                            @thetomester13 did you manage to resolve the copying issue ? does a custom install complete now ?

                            T Offline
                            T Offline
                            thetomester13
                            App Dev
                            wrote on last edited by
                            #19

                            @timconsidine I have not had a chance to look at and fix this just yet. Will be sure to update this thread when I do!

                            1 Reply Last reply
                            2
                            • robiR robi referenced this topic on
                            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