Galacteek on Cloudron
-
@cipres
I am getting errorsCOPY docs /usr/local/galacteek/docs/
I think this should beCOPY 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
-
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 ?
-
@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.
-
@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 runningcloudron install
.
Don't worry about sharing for now.Rather than me fill this topic with dev issues, maybe we should take this to chat ?
-
@timconsidine Yes better in the chat, thanks.
-
@LoudLemur said in Galacteek on Cloudron:
@cipres @timconsidine - you people are heroes!
@cipres might be
I'm just a blundering monkeyI'm not convinced it will be possible to get a working build, but we're certainly trying
-
@LoudLemur @timconsidine adapted the Dockerfile for Cloudron, i hope we can fix the remaining issues.
-
@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.
-
@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.
-
@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 -
@timconsidine can you share your packaging? happy to look at it as well
-
@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 !
-
@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.
-
@timconsidine Not a problem and please take good care of your family! Will look as soon as I can.
-
@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
-
@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.