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. Galacteek on Cloudron

Galacteek on Cloudron

Scheduled Pinned Locked Moved App Wishlist
galacteekipfs
47 Posts 7 Posters 5.6k Views 8 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 timconsidine

    @cipres
    I am getting errors

    COPY docs /usr/local/galacteek/docs/
    I think this should be COPY galacteek/docs /usr/local/galacteek/docs/

    More seriously I am getting :

    #10 40.69         import cryptography
    #10 40.69     ModuleNotFoundError: No module named 'cryptography'
    #10 40.69     ----------------------------------------
    #10 40.93 ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
    

    I tried to add cryptography to requirements.txt but it didn't work
    Exploring ...

    EDIT : can't get past

    #10 1.621 Collecting cryptography                                                                                            
    #10 1.716   Downloading cryptography-36.0.1-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.8 MB)
    #10 3.071 ERROR: Could not find a version that satisfies the requirement pip3 (from versions: none)
    #10 3.077 ERROR: No matching distribution found for pip3
    

    Blocked

    C Offline
    C Offline
    cipres
    wrote on last edited by
    #27

    @timconsidine The Dockerfile for the x11vnc image is called Dockerfile.debian.x11vnc in the pimp-my-dweb branch.

    docker build -f Dockerfile.debian.x11vnc  .
    

    But no need to build it, better use the available image in the gitlab registry.

    1 Reply Last reply
    0
    • C cipres

      Why do you add http:// ? I think that's the issue. This works for me.

      docker pull registry.gitlab.com/galacteek/galacteek:pimp-my-dweb-latest-x11vnc
      

      I don't have cloudron installed yet. I wrote the CloudronManifest.json, will push it soon. Should the CloudronManifest.json file also be inside the docker container's filesystem ?

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

      @cipres I just clicked the link. Probably shouldn't have done. Ignore that.

      I tried building with recommended cloudron base image but that generated above errors. Maybe I was trying to be too clever.

      Tried again with your base image in your Dockerfile.
      That's building now better but still run into errors.
      Will report back.

      CloudronManifest.json just need to be in project directory.
      Doesn't need adding, just accessible when running cloudron install.
      Don't worry about sharing for now.

      Rather than me fill this topic with dev issues, maybe we should take this to chat ?

      C 1 Reply Last reply
      0
      • timconsidineT timconsidine

        @cipres I just clicked the link. Probably shouldn't have done. Ignore that.

        I tried building with recommended cloudron base image but that generated above errors. Maybe I was trying to be too clever.

        Tried again with your base image in your Dockerfile.
        That's building now better but still run into errors.
        Will report back.

        CloudronManifest.json just need to be in project directory.
        Doesn't need adding, just accessible when running cloudron install.
        Don't worry about sharing for now.

        Rather than me fill this topic with dev issues, maybe we should take this to chat ?

        C Offline
        C Offline
        cipres
        wrote on last edited by
        #29

        @timconsidine Yes better in the chat, thanks.

        L 1 Reply Last reply
        0
        • C cipres

          @timconsidine Yes better in the chat, thanks.

          L Offline
          L Offline
          LoudLemur
          wrote on last edited by
          #30

          @cipres @timconsidine - you people are heroes!

          This is so powerful. I can't wait to try this. Please let us know how to get it going if you get it ready.

          timconsidineT C 2 Replies Last reply
          0
          • L LoudLemur

            @cipres @timconsidine - you people are heroes!

            This is so powerful. I can't wait to try this. Please let us know how to get it going if you get it ready.

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

            @LoudLemur said in Galacteek on Cloudron:

            @cipres @timconsidine - you people are heroes!

            @cipres might be
            I'm just a blundering monkey

            I'm not convinced it will be possible to get a working build, but we're certainly trying

            1 Reply Last reply
            0
            • L LoudLemur

              @cipres @timconsidine - you people are heroes!

              This is so powerful. I can't wait to try this. Please let us know how to get it going if you get it ready.

              C Offline
              C Offline
              cipres
              wrote on last edited by
              #32

              @LoudLemur @timconsidine adapted the Dockerfile for Cloudron, i hope we can fix the remaining issues.

              L 1 Reply Last reply
              1
              • C cipres

                @LoudLemur @timconsidine adapted the Dockerfile for Cloudron, i hope we can fix the remaining issues.

                L Offline
                L Offline
                LoudLemur
                wrote on last edited by
                #33

                @cipres Great! What is the latest on progress here? Has anybody managed to deploy Galacteek on Cloudron yet?

                timconsidineT 1 Reply Last reply
                0
                • L LoudLemur

                  @cipres Great! What is the latest on progress here? Has anybody managed to deploy Galacteek on Cloudron yet?

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

                  @LoudLemur I am finishing packaging it. We're almost there, but resolving some issues.

                  To be honest @LoudLemur I am not sure that performance as a Cloudron app will be enough for most people. Mostly because it is quite demanding in terms of memory (so if your Cloudron instance is running lots of apps or has limited RAM for the VPS), it will probably seem quite slow.

                  In addition it will depend where your Cloudron server is located. If it is a VPS in the cloud, which is probably true for 90% of people (??), you will need to use VNC from your local device to the server, over a SSH tunnel. That is going to reduce speed and increase screen refresh/lag times.

                  If your Cloudron server is on your home network, you won't need a ssh tunnel for the VNC ..... but it will still be VNC speeds for screen activity.

                  I downloaded the Galacteek app for Mac, and even running locally it is quite demanding (mind you, I do usually have a ton of apps running locally).

                  I am very interested in IPFS and using this packaging project to learn about the subject (and to advance my packaging skills). But I have to be honest and say that I am very likely to not use a Cloudron-installation of Galacteek, but a native app. So please be sure you check out those options also.

                  I think for Coudron, we may need some other kind of IPFS server app. But I'm still learning about the subject.

                  @cipres, if I said something not true in the above, please feel free to correct me ! Actually no, don't feel free : PLEASE correct me.

                  C doodlemania2D 2 Replies Last reply
                  1
                  • timconsidineT timconsidine

                    @LoudLemur I am finishing packaging it. We're almost there, but resolving some issues.

                    To be honest @LoudLemur I am not sure that performance as a Cloudron app will be enough for most people. Mostly because it is quite demanding in terms of memory (so if your Cloudron instance is running lots of apps or has limited RAM for the VPS), it will probably seem quite slow.

                    In addition it will depend where your Cloudron server is located. If it is a VPS in the cloud, which is probably true for 90% of people (??), you will need to use VNC from your local device to the server, over a SSH tunnel. That is going to reduce speed and increase screen refresh/lag times.

                    If your Cloudron server is on your home network, you won't need a ssh tunnel for the VNC ..... but it will still be VNC speeds for screen activity.

                    I downloaded the Galacteek app for Mac, and even running locally it is quite demanding (mind you, I do usually have a ton of apps running locally).

                    I am very interested in IPFS and using this packaging project to learn about the subject (and to advance my packaging skills). But I have to be honest and say that I am very likely to not use a Cloudron-installation of Galacteek, but a native app. So please be sure you check out those options also.

                    I think for Coudron, we may need some other kind of IPFS server app. But I'm still learning about the subject.

                    @cipres, if I said something not true in the above, please feel free to correct me ! Actually no, don't feel free : PLEASE correct me.

                    C Offline
                    C Offline
                    cipres
                    wrote on last edited by
                    #35

                    @timconsidine Everything you said is very accurate. The RAM requirements have to be considered, it will likely be an issue on a VPS. Thanks again for doing the work on the packaging, it's never lost ..

                    The primary use case on cloudron i think wouldn't be to access the UI via VNC (although you still could) but to act as a node on the network to cache linked data. galacteek uses RDF and SparQL (over libp2p tunnels, so it's fully P2P) to exchange linked data between peers. This works pretty well but needs some optimization (synchronization is slow).

                    I think it's best to wait a bit to see how it can best be deployed, there's no rush.

                    1 Reply Last reply
                    0
                    • C cipres

                      @loudlemur @micmc Hello, galacteek author here. Recently learned about Cloudron, nice project !

                      The docker image for galacteek is about 1Gb and that's a bit much, trying to find ways to reduce that to a minimum. If you have ideas on how to improve the docker image i'm quite interested, i'm not sure the x11vnc thing is ideal but it's worked better for me than the trick with the X11 socket.

                      L Offline
                      L Offline
                      LoudLemur
                      wrote on last edited by
                      #36

                      @cipres I don't know if ipfs-lite might be usable and able to reduce the size:

                      https://github.com/hsanjuan/ipfs-lite

                      Also, there is an IPFS Docker registry
                      https://github.com/ipdr/ipdr

                      C 1 Reply Last reply
                      0
                      • timconsidineT timconsidine

                        @LoudLemur I am finishing packaging it. We're almost there, but resolving some issues.

                        To be honest @LoudLemur I am not sure that performance as a Cloudron app will be enough for most people. Mostly because it is quite demanding in terms of memory (so if your Cloudron instance is running lots of apps or has limited RAM for the VPS), it will probably seem quite slow.

                        In addition it will depend where your Cloudron server is located. If it is a VPS in the cloud, which is probably true for 90% of people (??), you will need to use VNC from your local device to the server, over a SSH tunnel. That is going to reduce speed and increase screen refresh/lag times.

                        If your Cloudron server is on your home network, you won't need a ssh tunnel for the VNC ..... but it will still be VNC speeds for screen activity.

                        I downloaded the Galacteek app for Mac, and even running locally it is quite demanding (mind you, I do usually have a ton of apps running locally).

                        I am very interested in IPFS and using this packaging project to learn about the subject (and to advance my packaging skills). But I have to be honest and say that I am very likely to not use a Cloudron-installation of Galacteek, but a native app. So please be sure you check out those options also.

                        I think for Coudron, we may need some other kind of IPFS server app. But I'm still learning about the subject.

                        @cipres, if I said something not true in the above, please feel free to correct me ! Actually no, don't feel free : PLEASE correct me.

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

                        @timconsidine can you share your packaging? happy to look at it as well

                        timconsidineT 2 Replies Last reply
                        1
                        • doodlemania2D doodlemania2

                          @timconsidine can you share your packaging? happy to look at it as well

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

                          @doodlemania2 : Sure.
                          I got it as far as my competencies allowed before the Ukraine war started on 24th Feb
                          Haven't touched it since then. In Warsaw for 2-3 weeks trying to get family out and get visas.
                          I will try to find the code, but I am not sure I have access on this laptop. Will check.

                          I'm still bit unsure whether it is a good fit for Cloudron, as per messages above. But maybe your better skills can make it so !

                          1 Reply Last reply
                          0
                          • doodlemania2D doodlemania2

                            @timconsidine can you share your packaging? happy to look at it as well

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

                            @doodlemania2 I seem to have been a bit more efficient than I normally am.
                            There is a repo here : https://git.cloudron.io/timconsidine/cloudron-galacteek
                            2 issues :

                            • it's not loading for me at the moment, but looks like there are some files there ! Maybe it will load for you.
                            • I am not convinced it's the absolute latest version, but maybe that doesn't matter, and you can pick up from a not-quite-latest commit.

                            I will try to get remote access to the computer in office to check if any o/s commits. But I ran out the door when leaving, so not sure what devices I left on/connected.

                            doodlemania2D 1 Reply Last reply
                            3
                            • timconsidineT timconsidine

                              @doodlemania2 I seem to have been a bit more efficient than I normally am.
                              There is a repo here : https://git.cloudron.io/timconsidine/cloudron-galacteek
                              2 issues :

                              • it's not loading for me at the moment, but looks like there are some files there ! Maybe it will load for you.
                              • I am not convinced it's the absolute latest version, but maybe that doesn't matter, and you can pick up from a not-quite-latest commit.

                              I will try to get remote access to the computer in office to check if any o/s commits. But I ran out the door when leaving, so not sure what devices I left on/connected.

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

                              @timconsidine Not a problem and please take good care of your family! Will look as soon as I can.

                              1 Reply Last reply
                              3
                              • L LoudLemur

                                @cipres I don't know if ipfs-lite might be usable and able to reduce the size:

                                https://github.com/hsanjuan/ipfs-lite

                                Also, there is an IPFS Docker registry
                                https://github.com/ipdr/ipdr

                                C Offline
                                C Offline
                                cipres
                                wrote on last edited by
                                #41

                                @LoudLemur Sorry bit of a late reply .. No, go-ipfs really doesn't take much disk space that's not a problem. ipfs-lite only provides the strict minimum (great project), but galacteek needs and uses the whole ipfs stack, things like streams and pubsub.

                                A flatpak repository is now available. I'll integrate tim's work in the main repo but i can't test it (don't have cloudron).

                                @timconsidine hope you're ok, thanks again for the work you did on this

                                timconsidineT 1 Reply Last reply
                                2
                                • C cipres

                                  @LoudLemur Sorry bit of a late reply .. No, go-ipfs really doesn't take much disk space that's not a problem. ipfs-lite only provides the strict minimum (great project), but galacteek needs and uses the whole ipfs stack, things like streams and pubsub.

                                  A flatpak repository is now available. I'll integrate tim's work in the main repo but i can't test it (don't have cloudron).

                                  @timconsidine hope you're ok, thanks again for the work you did on this

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

                                  @cipres thank you, bit of a tough time.
                                  If you need me to test something, happy to do so.

                                  C 2 Replies Last reply
                                  0
                                  • timconsidineT timconsidine

                                    @cipres thank you, bit of a tough time.
                                    If you need me to test something, happy to do so.

                                    C Offline
                                    C Offline
                                    cipres
                                    wrote on last edited by
                                    #43

                                    @timconsidine Built the docker image, all good. Only thing i've changed .. i'm using "python -m http.server 8000" instead of the server.js script to run the health check service. That got me wondering how the "node /app/code/server.js" command could work because nodejs isn't being installed anywhere ?

                                    One question: does the Dockerfile for cloudron need to be named "Dockerfile" ? Or is it allowed to have it named "Dockerfile.cloudron" for example. If not, that's fine i'll symlink it.

                                    1 Reply Last reply
                                    0
                                    • timconsidineT timconsidine

                                      @cipres thank you, bit of a tough time.
                                      If you need me to test something, happy to do so.

                                      C Offline
                                      C Offline
                                      cipres
                                      wrote on last edited by
                                      #44

                                      @timconsidine Just pushed the code in the pimp-my-dweb branch (see Dockerfile.cloudron). Tried the docker image, it works, and the healthcheck on port 8000 should work. Had to fix a few things, /app/code/bin wasn't in PATH, it couldn't find go-ipfs ..

                                      robiR 1 Reply Last reply
                                      0
                                      • C cipres

                                        @timconsidine Just pushed the code in the pimp-my-dweb branch (see Dockerfile.cloudron). Tried the docker image, it works, and the healthcheck on port 8000 should work. Had to fix a few things, /app/code/bin wasn't in PATH, it couldn't find go-ipfs ..

                                        robiR Offline
                                        robiR Offline
                                        robi
                                        wrote on last edited by
                                        #45

                                        @staff is there a way to use the demo cloudron for testing new apps?

                                        Conscious tech

                                        girishG 1 Reply Last reply
                                        1
                                        • robiR robi

                                          @staff is there a way to use the demo cloudron for testing new apps?

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

                                          @robi Yes, sure, install away. Are you asking for a way to make sure the app does not get uninstalled by someone else?

                                          robiR 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