-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doesn't work #2
Comments
Hello @JamesDAdams |
The problem comme from my os Unraid, i don't have systemd in cgroup (and i can't add it) |
The problem is earnapp uses systemd to install and keep the processes running the background. And the container must have access to the cgroup to be able to run the systemd (still isolated). |
To bad for me :( Thanks for the help |
I have a workaround which is close sourced, and I am not willing to make it open source due to it's complications. I could help if you mail me or get in touch on discord (toothyraider201#4454). |
I have issue to make it starts also, but I'm on a pure Linux box (Debian) any idea ? |
@lunarok what version of debian are you on? And as the base image of the container is ubuntu and not plain debian, that might have been causing the issues. But I had tested the image on a RPI with the default os which is also debian. That seemed to work. |
ok, so not matching debian. cgroup 2 look avalaible only in testing and unstable |
Well, You have the reason. However I'll have it in my todo list to add debian compatibility. I'll see what I can do. |
Hello, Failed to look up module alias 'autofs4': Function not implemented |
@lolvince It's the same thing.. The cgroup issue, coz earnapp needs systemd to work. Ill workout a fix soon. |
Will your fix make it unnecessary to run privileged? Would be really interesting because I don't want to run it privileged... |
@pbertra Yep. The container doesn't need to run privileged as systemd isn't used. |
@lunarok @pbertra @JamesDAdams @lolvince version: "3.3"
services:
app:
image: fazalfarhan01/earnapp:lite
volumes:
- ./etc:/etc/earnapp
environment:
EARNAPP_UUID: YOUR_NODE_ID_HERE |
I just configured it, the docker is running fine for few minutes, not restarting. |
Cool. |
the lite version starts without crashing, on the other hand, it is indeed Earnapp which does not work correctly :( `Installing Start making money in the background process Options: Error: Request failed with status code 400 |
@lolvince I experienced similar issue last night which was fixed by today morning. You might want to try running it again. |
unfortunately the problem persists: / |
same error as lolvince :/ Working on synology |
no solution found for me: / |
Hi, same 400 bad request issue here, did you find a solution? |
Hi :) I'm looking at the docker-compose part and I don't know what I have to put in that line : EARNAPP_UUID: YOUR_NODE_ID_HERE My other quesion is : can I have several instance running at the same time ? If I can, can use the same ID in every container ? Thank you for your answer. Regards <3 |
Your welcome 😄
It's the existing UUID, the
Same UUID? Nope. A unique one on every container.? Yep. But running it on the same public IP doesn't make any difference. |
Hi, First good job with that work! I try to add the docker with my portainer. But I can't get my UUID with the command, I got this error And if I use the lite version, I don't kown which EARNAPP_UUID using. |
What was the command you run? |
It's perfect |
Cool.. glad it helped.. 😄 |
Hi! I was going to make a picture and I came across yours, perfect :) |
@Midsnipee Hey, do you have any specific error when linking the UUID to the dashboard? |
nop ! just Error while linking device The device is not found in earnapp dashbord |
no error in container log ! i have traffic like |
@Midsnipee you might want to try deleting the existing UUID and create a new one and link it. (If it's not done already) |
Ok do you know the command for that ? |
You'll just have to recreate the container. If using the compose method. Stop the container, then delete the |
i don't know how the container can link with earnapp when we give the uuid . i try an install on ubuntu and that the install wich generate an id like sdk-node-ce2e48cbxxxxxxxxxxxxxxxxxxxxxxxx |
sorry i have a bad english |
opk i find ma solution ty for your help |
Hi, i get the SDK-Node name but when entering into the earnapp dashboard - brings up device not found :( |
Happens sometimes.. Get a new UUID and try linking that.. |
Hello @fazalfarhan01 , |
Hi @roland681, a simple fix to that is mounting a volume to /etc/earnapp directory. Details for the same are in the repo Readme. |
Found out that you have to run the second container highlighted (with arrows) in the image above, after that you can run the first one. In this case, your node will be recognized and it works as expected. |
i deploy a container as written in https://github.com/fazalfarhan01/EarnApp-Docker
from container shell i obtained the UUID.
and again i receive that message when try to add that node to my account : Error while linking device, The device is no found. |
You have to have an existing UUID. It's mentioned in the replies above, and you can find a video tutorial here: https://www.youtube.com/watch?v=tt499o0OjGU&t=300s&ab_channel=NetworkBitsCrypto |
Hi, You've just to go here : https://www.uuidgenerator.net/version4 On docker, put the variable EARNAPP_UUID = sdk-node-YOURGENERATEDUUIDV4 When your container is on, go to https://earnapp.com/dashboard?link_device=sdk-node-YOURGENERATEDUUIDV4 to add your new device |
Hi, this image doesn't work
i have this error :
The text was updated successfully, but these errors were encountered: