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. InfluxDB

InfluxDB

Scheduled Pinned Locked Moved App Wishlist
22 Posts 6 Posters 3.3k 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.
  • doodlemania2D doodlemania2

    @ei8fdb I've been using it for many months now - works like a champ.

    ei8fdbE Offline
    ei8fdbE Offline
    ei8fdb
    wrote on last edited by
    #11

    Thanks for letting me know @doodlemania2. I've tried to build it but am running into the following issue - "COPY failed: stat usr/bin/influxd: file does not exist" - which you can see here:

    Step 1/10 : FROM influxdb:latest as final
     ---> a6cdd3eeabf3
    Step 2/10 : FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
     ---> afa4cfc125b4
    Step 3/10 : COPY --from=final /usr/bin/influxd /app/code/influxd
    COPY failed: stat usr/bin/influxd: file does not exist
    child_process.js:669
        throw err;
        ^
    
    Error: Command failed: docker build  -t ei8fdb/influxdb:20210405-095545-77686303f -f Dockerfile  /home/bernard/code/influxdb
    
    

    Do you have any suggestions? I'm following this documentation. Thanks.

    BrutalBirdieB 1 Reply Last reply
    0
    • ei8fdbE ei8fdb

      Thanks for letting me know @doodlemania2. I've tried to build it but am running into the following issue - "COPY failed: stat usr/bin/influxd: file does not exist" - which you can see here:

      Step 1/10 : FROM influxdb:latest as final
       ---> a6cdd3eeabf3
      Step 2/10 : FROM cloudron/base:2.0.0@sha256:f9fea80513aa7c92fe2e7bf3978b54c8ac5222f47a9a32a7f8833edf0eb5a4f4
       ---> afa4cfc125b4
      Step 3/10 : COPY --from=final /usr/bin/influxd /app/code/influxd
      COPY failed: stat usr/bin/influxd: file does not exist
      child_process.js:669
          throw err;
          ^
      
      Error: Command failed: docker build  -t ei8fdb/influxdb:20210405-095545-77686303f -f Dockerfile  /home/bernard/code/influxdb
      
      

      Do you have any suggestions? I'm following this documentation. Thanks.

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

      @ei8fdb the error is what it reads usr/bin/influxd: file does not exist
      The file or path does not exist.

      https://git.cloudron.io/doodlemania2/influxdb/-/blob/master/Dockerfile

      COPY --from=final /usr/bin/influxd /app/code/influxd
      COPY --from=final /usr/bin/influx /app/code/influx
      

      I assume @doodlemania2 has influxdb installed locally and that's why he used these paths to copy the binary files.
      Also binary files have no place in git so it's kinda understandable.

      You can download the files here https://docs.influxdata.com/influxdb/v2.0/get-started/?t=Linux

      Like my work? Consider donating a drink. Cheers!

      doodlemania2D 1 Reply Last reply
      3
      • BrutalBirdieB BrutalBirdie

        @ei8fdb the error is what it reads usr/bin/influxd: file does not exist
        The file or path does not exist.

        https://git.cloudron.io/doodlemania2/influxdb/-/blob/master/Dockerfile

        COPY --from=final /usr/bin/influxd /app/code/influxd
        COPY --from=final /usr/bin/influx /app/code/influx
        

        I assume @doodlemania2 has influxdb installed locally and that's why he used these paths to copy the binary files.
        Also binary files have no place in git so it's kinda understandable.

        You can download the files here https://docs.influxdata.com/influxdb/v2.0/get-started/?t=Linux

        doodlemania2D Offline
        doodlemania2D Offline
        doodlemania2
        App Dev
        wrote on last edited by
        #13

        @brutalbirdie yes that's right - i use a local copy of the influx binaries to manage the server running in cloudron. Thanks for picking this up - been out on vacation 🙂

        1 Reply Last reply
        1
        • L Offline
          L Offline
          lukas
          wrote on last edited by
          #14

          How I can install this package in my Cloudron?

          1 Reply Last reply
          0
          • girishG girish referenced this topic on
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #15

            Just wanted to put a warning out that databases are very different from webapps and need special care for backup and updates. I suspect Influx DB from it's name is a database and not just a web app. So, please be careful about installing a databases as an app on Cloudron.

            L doodlemania2D 2 Replies Last reply
            0
            • girishG girish

              Just wanted to put a warning out that databases are very different from webapps and need special care for backup and updates. I suspect Influx DB from it's name is a database and not just a web app. So, please be careful about installing a databases as an app on Cloudron.

              L Offline
              L Offline
              lukas
              wrote on last edited by
              #16

              @girish said in InfluxDB:

              Just wanted to put a warning out that databases are very different from webapps and need special care for backup and updates. I suspect Influx DB from it's name is a database and not just a web app. So, please be careful about installing a databases as an app on Cloudron.

              ok, so when do you plan to implement it into Cloudron? 🙂

              1 Reply Last reply
              0
              • girishG girish

                Just wanted to put a warning out that databases are very different from webapps and need special care for backup and updates. I suspect Influx DB from it's name is a database and not just a web app. So, please be careful about installing a databases as an app on Cloudron.

                doodlemania2D Offline
                doodlemania2D Offline
                doodlemania2
                App Dev
                wrote on last edited by
                #17

                @girish agreed - it's a bit of a weird fit, but does work for my purposes. Note that the data files sit in /app/data so backups land well. Also, it is influxv1, not v2 that I packaged up - v2 was too hard lol.

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

                  @doodlemania2 running a database is no issue. Issue comes when trying to restore and upgrade. When restoring, you have to be sure that the backup is atomic/consistent. It's basically backing up the raw files of a database and the restore may or may not work (On Cloudron, this is why we create "dumps" of the database and do not backup raw database files) . Also, in many databases, the files are not portable across db versions (for upgrades).

                  1 Reply Last reply
                  1
                  • doodlemania2D Offline
                    doodlemania2D Offline
                    doodlemania2
                    App Dev
                    wrote on last edited by
                    #19

                    Ah yes - 100% - and is definitely risky if you are ingesting a lot of data (the point of influx). For me, the two times I've restored (practice) were fine because I didn't end up with a transaction in the middle of the backup, so no corruptions. But absolutely possible.

                    L 1 Reply Last reply
                    0
                    • doodlemania2D doodlemania2

                      Ah yes - 100% - and is definitely risky if you are ingesting a lot of data (the point of influx). For me, the two times I've restored (practice) were fine because I didn't end up with a transaction in the middle of the backup, so no corruptions. But absolutely possible.

                      L Offline
                      L Offline
                      lukas
                      wrote on last edited by
                      #20

                      @doodlemania2 said in InfluxDB:

                      Ah yes - 100% - and is definitely risky if you are ingesting a lot of data (the point of influx). For me, the two times I've restored (practice) were fine because I didn't end up with a transaction in the middle of the backup, so no corruptions. But absolutely possible.

                      Hey, can you please tell me, how I can install your InfluxDB package on my Cloudron Server ?

                      doodlemania2D 1 Reply Last reply
                      0
                      • L lukas

                        @doodlemania2 said in InfluxDB:

                        Ah yes - 100% - and is definitely risky if you are ingesting a lot of data (the point of influx). For me, the two times I've restored (practice) were fine because I didn't end up with a transaction in the middle of the backup, so no corruptions. But absolutely possible.

                        Hey, can you please tell me, how I can install your InfluxDB package on my Cloudron Server ?

                        doodlemania2D Offline
                        doodlemania2D Offline
                        doodlemania2
                        App Dev
                        wrote on last edited by
                        #21

                        @lukas just grab the bits from the git repo on the cloudron server and use the cli to install it

                        L 1 Reply Last reply
                        0
                        • doodlemania2D doodlemania2

                          @lukas just grab the bits from the git repo on the cloudron server and use the cli to install it

                          L Offline
                          L Offline
                          lukas
                          wrote on last edited by
                          #22

                          @doodlemania2 ok never dealed with it, then I try it. 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