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. Ackee
  3. Leaving Ackee : data export

Leaving Ackee : data export

Scheduled Pinned Locked Moved Ackee
9 Posts 4 Posters 1.2k 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.
    • timconsidineT Offline
      timconsidineT Offline
      timconsidine
      App Dev
      wrote on last edited by timconsidine
      #1

      Much as I like the principle of Ackee, and it works nicely in so far as it goes, it is not as good (IMHO) as Umami.

      So I will be uninstalling Ackee but want to get what data I can out.
      However I can see no way of doing through the UI.
      Something in docs about use GraphQL and the API.
      But hardly easy.
      Now I have to set up a new system just to get data from my old system.

      Any thoughts on how I can get the data out?
      Not asking for every last ounce, just main metrics.

      timconsidineT 1 Reply Last reply
      0
      • timconsidineT timconsidine

        Much as I like the principle of Ackee, and it works nicely in so far as it goes, it is not as good (IMHO) as Umami.

        So I will be uninstalling Ackee but want to get what data I can out.
        However I can see no way of doing through the UI.
        Something in docs about use GraphQL and the API.
        But hardly easy.
        Now I have to set up a new system just to get data from my old system.

        Any thoughts on how I can get the data out?
        Not asking for every last ounce, just main metrics.

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

        @timconsidine guess I am going to have to export from the terminal
        at least the mongo shell is easily accessible from terminal : well done Cloudron

        timconsidineT 1 Reply Last reply
        0
        • timconsidineT timconsidine

          @timconsidine guess I am going to have to export from the terminal
          at least the mongo shell is easily accessible from terminal : well done Cloudron

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

          @timconsidine so using the Cloudron app terminal, this seems to work

          events :

          root@4<appid>:/app/code# mongoexport -u "${CLOUDRON_MONGODB_USERNAME}" -p "${CLOUDRON_MONGODB_PASSWORD}" --host="${CLOUDRON_MONGODB_HOST}" --port="${CLOUDRON_MONGODB_PORT}" --db="${CLOUDRON_MONGODB_DATABASE}" --collection=events --out=/app/data/events.json
          2021-09-21T15:07:54.457+0000    connected to: mongodb://mongodb:27017/
          2021-09-21T15:07:54.485+0000    exported 0 records
          

          domains:

          root@<appid>:/app/code# mongoexport -u "${CLOUDRON_MONGODB_USERNAME}" -p "${CLOUDRON_MONGODB_PASSWORD}" --host="${CLOUDRON_MONGODB_HOST}" --port="${CLOUDRON_MONGODB_PORT}" --db="${CLOUDRON_MONGODB_DATABASE}" --collection=domains --out=/app/data/domains.json
          2021-09-21T15:08:22.075+0000    connected to: mongodb://mongodb:27017/
          2021-09-21T15:08:22.086+0000    exported 2 records
          

          actions :

          root@<appid>:/app/code# mongoexport -u "${CLOUDRON_MONGODB_USERNAME}" -p "${CLOUDRON_MONGODB_PASSWORD}" --host="${CLOUDRON_MONGODB_HOST}" --port="${CLOUDRON_MONGODB_PORT}" --db="${CLOUDRON_MONGODB_DATABASE}" --collection=actions --out=/app/data/actions.json
          2021-09-21T15:08:43.450+0000    connected to: mongodb://mongodb:27017/
          2021-09-21T15:08:43.479+0000    exported 0 records
          

          records :

          root@<appid>:/app/code# mongoexport -u "${CLOUDRON_MONGODB_USERNAME}" -p "${CLOUDRON_MONGODB_PASSWORD}" --host="${CLOUDRON_MONGODB_HOST}" --port="${CLOUDRON_MONGODB_PORT}" --db="${CLOUDRON_MONGODB_DATABASE}" --collection=records --out=/app/data/records.json
          2021-09-21T15:09:04.531+0000    connected to: mongodb://mongodb:27017/
          2021-09-21T15:09:05.540+0000    [#############...........]  2bd8f6343edd4d20.records  8000/14225  (56.2%)
          2021-09-21T15:09:06.089+0000    [########################]  2bd8f6343edd4d20.records  14225/14225  (100.0%)
          2021-09-21T15:09:06.089+0000    exported 14225 records
          
          

          Seems likes records is the primary table.
          Hope this helps someone.

          1 Reply Last reply
          3
          • nebulonN Offline
            nebulonN Offline
            nebulon
            Staff
            wrote on last edited by
            #4

            Thanks for sharing, this is always worth it to have a documented flow for such data migration steps πŸ™‚

            timconsidineT 1 Reply Last reply
            3
            • nebulonN nebulon

              Thanks for sharing, this is always worth it to have a documented flow for such data migration steps πŸ™‚

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

              @nebulon I learn constantly from everyone here so pleased to share 😁

              Would be great to get umami packaged if someone is so kind
              I got it installed on CapRover so hopefully it is within viable scope. Would be great to have it in my production Cloudron.

              1 Reply Last reply
              1
              • SansGuidonS Online
                SansGuidonS Online
                SansGuidon
                wrote last edited by
                #6

                @timconsidine are you still there and using umami?
                I want to move away from Matomo which works fine but not so great neither. Ackee seems abandonned so I guess Umami is the viable option, even if 2GB for memory requirements looks a bit overkill but well, the web is bloated.

                About me / Now

                timconsidineT luckowL 2 Replies Last reply
                0
                • SansGuidonS SansGuidon

                  @timconsidine are you still there and using umami?
                  I want to move away from Matomo which works fine but not so great neither. Ackee seems abandonned so I guess Umami is the viable option, even if 2GB for memory requirements looks a bit overkill but well, the web is bloated.

                  timconsidineT Offline
                  timconsidineT Offline
                  timconsidine
                  App Dev
                  wrote last edited by
                  #7

                  @SansGuidon hi
                  "using Umami" is an interesting point.
                  I have umami installed but hardly ever use it (so rarely that I have even forgotten what sites I have configured there).
                  As far as I recall, it worked fine.
                  My needs are quite simplistic, and I have lost interest in monitoring traffic to sites.
                  I should probably take more interest when I have time and motivation ! πŸ˜†

                  1 Reply Last reply
                  0
                  • SansGuidonS SansGuidon

                    @timconsidine are you still there and using umami?
                    I want to move away from Matomo which works fine but not so great neither. Ackee seems abandonned so I guess Umami is the viable option, even if 2GB for memory requirements looks a bit overkill but well, the web is bloated.

                    luckowL Online
                    luckowL Online
                    luckow
                    translator
                    wrote last edited by
                    #8

                    @SansGuidon umami also works with β€œhigher” traffic, but we had to set the memory limit to 4 GB.

                    (screenshot shows a time frame of 30 days)

                    53ca19d2-febe-4327-a4e1-1c680454fc5d-image.png

                    Pronouns: he/him | Primary language: German

                    1 Reply Last reply
                    0
                    • SansGuidonS Online
                      SansGuidonS Online
                      SansGuidon
                      wrote last edited by
                      #9

                      Thanks! For me the main concern is just to be able to get a minimalistic view of my stats per blog posts/notes shared and how the blog traffic evolves over time, who reads me, how, when. Matomo provides this information but not so clearly to me, I'm too confused when using it and I seem to always navigate new areas and check the wrong things and I seem to not use the tool fully. This is why I look for alternative.

                      About me / Now

                      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