GithubHelp home page GithubHelp logo

fazalfarhan01 / earnapp-docker Goto Github PK

View Code? Open in Web Editor NEW
41.0 4.0 22.0 41 KB

Containerized version of BrightData's EarnApp

Home Page: https://hub.docker.com/r/fazalfarhan01/earnapp

Dockerfile 33.12% Shell 66.88%
docker earnapp x86-64 armv7 rapberry-pi

earnapp-docker's Introduction

EarnApp Docker

Docker Image for EarnApp

Clone

git clone https://github.com/fazalfarhan01/earnapp_docker.git

Available Tags

  1. latest - Built and updated daily
  2. hourly-latest - Built and updated every hour at UTC 10th minute.
  3. lite - Use when you have problems with regular version. Note: lite version cannot generate it's own UUID and the same has to be provided as an environment variable.

How to:

Non Compose

  1. Make a directory for earnapp data

    • mkdir $HOME/earnapp-data
  2. Run the container

    • docker run -d --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v $HOME/earnapp-data:/etc/earnapp --name earnapp fazalfarhan01/earnapp

    or if you are using the lite version

    • docker run -d -e EARNAPP_UUID='sdk-node-XXXXXXXXXXXXXXXXXXX' --name earnapp fazalfarhan01/earnapp:lite
  3. Get the UUID

    • docker exec -it earnapp showid
  4. Copy and paste the app UUID in the EarnApp Dashboard

Compose

  1. Make a new directory, create a file named docker-compose.yml and paste the following into it.
version: '3.3'
services:
    app:
        image: fazalfarhan01/earnapp
        privileged: true
        volumes:
            - /sys/fs/cgroup:/sys/fs/cgroup:ro
            - ./etc:/etc/earnapp

Use the lite version if you don't want to run the container priviledged or having any of the issues here.

version: '3.3'
services:
    app:
        image: fazalfarhan01/earnapp:lite
        environment:
            EARNAPP_UUID: YOUR_NODE_ID_HERE
  1. Run docker-compose up -d

  2. You can access the earnapp cli using the command

    docker-compose exec app earnapp <YOUR COMMAND GOES HERE>

Like my work?

Consider donating.

  • BTC: 1PdUFXmVUxy88NRPJ2RFuhyjUqMiJyZybR
  • ETH: 0x715810d3619b6831b3d4ff0465ec3523aceb20c6
  • PayPal: @fazalfarhan01

earnapp-docker's People

Contributors

fazalfarhan01 avatar jlegue avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

earnapp-docker's Issues

EARNAPP_UUID

Hi, thx for your job!
I begin with EarnApp and i don't know where to find the EARNAPP_UUID for the lite version, can you help me?
Thx.

Build issue: At least one invalid signature was encountered.

Hello, I have such error during build. Do you know what may be a cause? Invalid GPG signature?

Important info: I tried it on RaspberryPi.

Step 6/15 : RUN apt-get update && apt-get install -y --no-install-recommends apt-utils locales python-setuptools python3-pip software-properties-common rsyslog systemd systemd-cron sudo iproute2 && apt install -y wget curl nano dos2unix iputils-ping net-tools htop libatomic1 && rm -Rf /var/lib/apt/lists/* && rm -Rf /usr/share/doc && rm -Rf /usr/share/man && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -f /lib/systemd/system/multi-user.target.wants/* && rm -f /etc/systemd/system/.wants/ && rm -f /lib/systemd/system/local-fs.target.wants/* && rm -f /lib/systemd/system/sockets.target.wants/udev && rm -f /lib/systemd/system/sockets.target.wants/initctl && rm -f /lib/systemd/system/basic.target.wants/* && rm -f /lib/systemd/system/anaconda.target.wants/* && rm -f /lib/systemd/system/plymouth* && rm -f /lib/systemd/system/systemd-update-utmp* && rm -Rf /usr/share/doc && rm -Rf /usr/share/man && apt-get clean
---> Running in 904bbf271c2b
Get:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease [265 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [114 kB]
Err:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
At least one invalid signature was encountered.
Err:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
At least one invalid signature was encountered.
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [108 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [114 kB]
Err:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
At least one invalid signature was encountered.
Err:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
At least one invalid signature was encountered.
Reading package lists...
W: GPG error: http://ports.ubuntu.com/ubuntu-ports focal InRelease: At least one invalid signature was encountered.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports focal InRelease' is not signed.
W: GPG error: http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease: At least one invalid signature was encountered.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease' is not signed.
W: GPG error: http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease: At least one invalid signature was encountered.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease' is not signed.
W: GPG error: http://ports.ubuntu.com/ubuntu-ports focal-security InRelease: At least one invalid signature was encountered.
E: The repository 'http://ports.ubuntu.com/ubuntu-ports focal-security InRelease' is not signed.
The command '/bin/sh -c apt-get update && apt-get install -y --no-install-recommends apt-utils locales python-setuptools python3-pip software-properties-common rsyslog systemd systemd-cron sudo iproute2 && apt install -y wget curl nano dos2unix iputils-ping net-tools htop libatomic1 && rm -Rf /var/lib/apt/lists/* && rm -Rf /usr/share/doc && rm -Rf /usr/share/man && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && rm -f /lib/systemd/system/multi-user.target.wants/* && rm -f /etc/systemd/system/.wants/ && rm -f /lib/systemd/system/local-fs.target.wants/* && rm -f /lib/systemd/system/sockets.target.wants/udev && rm -f /lib/systemd/system/sockets.target.wants/initctl && rm -f /lib/systemd/system/basic.target.wants/* && rm -f /lib/systemd/system/anaconda.target.wants/* && rm -f /lib/systemd/system/plymouth* && rm -f /lib/systemd/system/systemd-update-utmp* && rm -Rf /usr/share/doc && rm -Rf /usr/share/man && apt-get clean' returned a non-zero code: 100
ERROR: Service 'app' failed to build

won't start on synology docker DS718+ (Intel Celeron J3455)

I start the container with highest privileges, but it will not start.
I also created a volume under /etc/earnapp.

Here is the log output:

Welcome to Linux!
Set hostname to .
Cannot determine cgroup we are running in: No medium found
Failed to allocate manager object: No medium found
[!!!!!!] Failed to allocate manager object.
Exiting PID 1...
Failed to look up module alias 'autofs4': Function not implemented
systemd 245.4-4ubuntu3.15 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
Detected virtualization docker.
Detected architecture x86-64.
Failed to read os-release file, ignoring: No such device or address

Exited (255)

I can't start the container,
i'm on debian 11,
KVM,
Docker version : 20.10.12
WindowsTerminal_piTlTuldnO

Lite version does not start on Raspberrypi4

Setup

root@raspberrypi:~/docker/earnapp-lite# cat docker-compose.yml
version: "3.3"
services:
    app:
        image: fazalfarhan01/earnapp:lite
        volumes:
            - ./etc:/etc/earnapp
        environment:
            EARNAPP_UUID: sdk-node-2d35ccabXXXXXXXXXXXXXXX63
            
 
 root@raspberrypi:~/docker/earnapp-lite# docker-compose up -d
              Creating network "earnapp-lite_default" with the default driver
              Creating earnapp-lite_app_1 ... done


root@raspberrypi:~/docker/earnapp-lite# docker-compose exec app earnapp status
ERROR: No container found for app_1
root@raspberrypi:~/docker/earnapp-lite# docker-compose ps
       Name          Command    State     Ports
-----------------------------------------------
earnapp-lite_app_1   install   Exit 134

Docker-Logs

root@raspberrypi:~/docker/earnapp-lite# docker-compose logs
Attaching to earnapp-lite_app_1
app_1  |
app_1  | ███████╗░█████╗░██████╗░███╗░░██╗░█████╗░██████╗░██████╗░  ██████╗░░█████╗░░█████╗░██╗░░██╗███████╗██████╗░
app_1  | ██╔════╝██╔══██╗██╔══██╗████╗░██║██╔══██╗██╔══██╗██╔══██╗  ██╔══██╗██╔══██╗██╔══██╗██║░██╔╝██╔════╝██╔══██╗
app_1  | █████╗░░███████║██████╔╝██╔██╗██║███████║██████╔╝██████╔╝  ██║░░██║██║░░██║██║░░╚═╝█████═╝░█████╗░░██████╔╝
app_1  | ██╔══╝░░██╔══██║██╔══██╗██║╚████║██╔══██║██╔═══╝░██╔═══╝░  ██║░░██║██║░░██║██║░░██╗██╔═██╗░██╔══╝░░██╔══██╗
app_1  | ███████╗██║░░██║██║░░██║██║░╚███║██║░░██║██║░░░░░██║░░░░░  ██████╔╝╚█████╔╝╚█████╔╝██║░╚██╗███████╗██║░░██║
app_1  | ╚══════╝╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░╚══╝╚═╝░░╚═╝╚═╝░░░░░╚═╝░░░░░  ╚═════╝░░╚════╝░░╚════╝░╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝
app_1  | An image by https://github.com/fazalfarhan01
app_1  |
app_1  | Installing
app_1  | sleep: cannot read realtime clock: Operation not permitted
app_1  | touch: setting times of '/etc/earnapp/status': Operation not permitted
app_1  | Node.js[12]: ../src/util.cc:188:double node::GetCurrentTimeInMicroseconds(): Assertion `(0) == (uv_gettimeofday(&tv))' failed.
app_1  | /usr/bin/install: line 18:    12 Aborted                 (core dumped) earnapp start
app_1  | Node.js[13]: ../src/util.cc:188:double node::GetCurrentTimeInMicroseconds(): Assertion `(0) == (uv_gettimeofday(&tv))' failed.
app_1  | /usr/bin/install: line 19:    13 Aborted                 (core dumped) earnapp run

device information

root@rapsberrypi: uname -a
Linux raspberrypi 5.10.63-v7l+ #1459 SMP Wed Oct 6 16:41:57 BST 2021 armv7l GNU/Linux

Docker: 
Docker version 20.10.12, build e91ed57

Docker-Compose:
docker-compose version 1.21.0, build unknown

Impossible to start on docker / debian 11

Hi,
I got a problem trying to launch the docker compose or docker run
My container start and stop immediately.

I use the compose :
version: "3.3"
services:
app:
image: fazalfarhan01/earnapp
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- ./etc:/etc/earnapp

and then :
dcjona@debian11:~/earnapp2$ sudo docker-compose up -d
Creating earnapp2_app_1 ... done

logs :
No log line matching the '' filter

Do you have an idea?

Thank you

Connection lost / "EarnApp was already started before."

Hello,
Since 29th march, I guess just after the new image was pulled, I've lost the connection with Earnapp.
If I stop and start my container, it says "EarnApp was already started before."
Could this be the reason for my dockers to be offline on the EarnApp's dashboard ?
Just to be sure, I've just checked with a new ID, straight from my Windows laptop and it's good on the dashboard.
So I created a new docker with this new ID. But it don't show as connected on the dashboard.

Issue with docker-compose !

Hi,

My docker-compose :

version: "3.3"
services:
    app:
        image: fazalfarhan01/earnapp:lite
        volumes:
            - /srv/dev-disk-by-uuid-bddd126b-cf50-4db1-ab2a-8480a250c3b7/etc/earnapp:/etc/earnapp
        environment:
            EARNAPP_UUID: sdk-android-d***************6
        restart: unless-stopped

I generated the EARNAPP_UUID with installation of EARNAPP with my smartphone.

Wtih this docker-compose, the logs are the followings (sorry !!):

Installing
✖ EarnApp was already started before.
2022-02-21 14:14:37.621 NOTICE: running PID: 19
2022-02-21 14:14:37.624 ERR: perr 05_svc_init {}
2022-02-21 14:14:37.626 ERR: perr init {}
2022-02-21 14:14:37.627 NOTICE: idle_state_monitor run
2022-02-21 14:14:37.633 NOTICE: run: E.start()
2022-02-21 14:14:37.634 NOTICE: devs changed: found 1 devs
2022-02-21 14:14:37.634 NOTICE: interface detected: eth0 (172.29.0.2)
2022-02-21 14:14:37.638 ERR: perr 10_show_dialog {}
2022-02-21 14:14:37.638 ERR: perr display {}
2022-02-21 14:14:37.639 NOTICE: run: E.update_consent(true)
2022-02-21 14:14:37.639 ERR: perr 15_choose_peer {}
2022-02-21 14:14:37.640 ERR: perr opt_in
2022-02-21 14:14:37.641 NOTICE: perr lum_sdk_node_opt_in proxy
2022-02-21 14:14:37.908 NOTICE: eth0 matched http://lumtest.com/myip.json
2022-02-21 14:14:37.910 NOTICE: dev eth0 connected
2022-02-21 14:14:37.911 NOTICE: device online: eth0, connecting...
2022-02-21 14:14:37.913 NOTICE: conn_open_single proxyjs.luminatinet.com:443
2022-02-21 14:14:37.974 NOTICE: proxyjs_client_conn eth0 172.29.0.2 35.169.231.185:443(proxyjs.luminatinet.com)
2022-02-21 14:14:37.977 NOTICE: proxy_eth0 WS: connecting to wss://35.169.231.185:443
2022-02-21 14:14:37.998 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_opt_in&appid=node_earnapp.com&ver=1.280.948&ver_sdk=1.280.948&uuid=sdk-android-d***********************************6 res 200
2022-02-21 14:14:37.999 ERR: perr perr_direct_success {}
2022-02-21 14:14:38.412 NOTICE: proxy_eth0 WS: upgrade conn
2022-02-21 14:14:38.418 NOTICE: proxy_eth0 WS (35.169.231.185): connected
2022-02-21 14:14:38.419 NOTICE: proxy connected
2022-02-21 14:14:38.419 ERR: perr proxyjs_conn_00_direct_success {"servername":"proxyjs.luminatinet.com","port":443,"ip":"35.169.231.185"}
2022-02-21 14:14:38.421 NOTICE: perr lum_sdk_node_proxyjs_conn_00_direct_success proxy
2022-02-21 14:14:38.435 ERR: perr 20_svc_connected {}
2022-02-21 14:14:38.436 ERR: perr connected {}
2022-02-21 14:14:38.436 NOTICE: detected interface eth0 for 172.29.0.2
2022-02-21 14:14:38.437 NOTICE: js peer init from 172.29.0.2 eth0 unknown
2022-02-21 14:14:38.440 NOTICE: tunnel_init resp: {"arch":"x64","release":"ubuntu_20.04_x64","platform":"node","sdk_version":"1.280.948","version":"1.280.948","idle":true,"confdir":"/etc/earnapp","old_cid":"xx.xxx.xxx.xx-1feb4097/ls8c4p443_xx.xxx.xxx.xx_45321","dca":false,"is_tv":false,"appid":"node_earnapp.com","partnerid":"luminati","uuid":"sdk-android-d6","ifname":"eth0","usage":{},"ifs":[{"name":"eth0","addr":"172.29.0.2"}]}
2022-02-21 14:14:38.554 NOTICE: eth0 cid_set xx.xxx.xxx.xx-1feb4097/ls9c8p443_xx.xxx.xxx.xx_42707
session_key undefined
2022-02-21 14:14:38.555 ERR: perr register_client {"msg":"ls9c8p443_xx.xxx.xxx.xx_42707","body":"{"type":"eth0","myip":"{\"ip\":\"xx.xxx.xxx.xx\",\"country\":\"FR\",\"asn\":{\"asnum\":15557,\"org_name\":\"SFR SA\"},\"geo\":{\"city\":\"Ambares-et-Lagrave\",\"region\":\"NAQ\",\"region_name\":\"Nouvelle-Aquitaine\",\"postal_code\":\"33440\",\"latitude\":44.9253,\"longitude\":-0.4931,\"tz\":\"Europe/Paris\",\"lum_city\":\"ambaresetlagrave\",\"lum_region\":\"naq\"}}"}"}
2022-02-21 14:14:38.556 NOTICE: perr lum_sdk_node_register_client proxy
2022-02-21 14:14:38.563 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":16.52,"mem_usage_ts":1645452877685},"bw":{}}
2022-02-21 14:14:38.673 ERR: perr 21_svc_tun_ready {}
2022-02-21 14:14:38.674 ERR: perr tun_ready {}
2022-02-21 14:14:38.678 NOTICE: client_connect start [172.29.0.2]->45.32.147.159:443 (45-32-147-159.luminatinet.com)
2022-02-21 14:14:38.680 NOTICE: agent WS: connecting to wss://45.32.147.159:443
2022-02-21 14:14:38.686 ERR: perr 21_svc_tun_ready {}
2022-02-21 14:14:38.687 ERR: perr tun_ready {}
2022-02-21 14:14:38.687 NOTICE: client_connect start [172.29.0.2]->95.179.218.112:443 (95-179-218-112.luminatinet.com)
2022-02-21 14:14:38.688 NOTICE: agent WS: connecting to wss://95.179.218.112:443
2022-02-21 14:14:38.693 ERR: perr 21_svc_tun_ready {}
2022-02-21 14:14:38.693 ERR: perr tun_ready {}
2022-02-21 14:14:38.694 NOTICE: client_connect start [172.29.0.2]->45.32.114.246:443 (45-32-114-246.luminatinet.com)
2022-02-21 14:14:38.695 NOTICE: agent WS: connecting to wss://45.32.114.246:443
2022-02-21 14:14:38.786 NOTICE: agent WS: upgrade conn
2022-02-21 14:14:38.787 NOTICE: agent WS (45.32.147.159): connected
2022-02-21 14:14:38.789 NOTICE: client_connect established [172.29.0.2]->45.32.147.159:443 (45-32-147-159.luminatinet.com)
2022-02-21 14:14:38.790 ERR: perr tun_init_success {"servername":"45-32-147-159.luminatinet.com"}
2022-02-21 14:14:38.793 NOTICE: detected interface eth0 for 172.29.0.2
2022-02-21 14:14:38.793 NOTICE: js peer init from 172.29.0.2 eth0 unknown
2022-02-21 14:14:38.795 NOTICE: tunnel_init resp: {"arch":"x64","release":"ubuntu_20.04_x64","platform":"node","sdk_version":"1.280.948","version":"1.280.948","idle":true,"confdir":"/etc/earnapp","cid":"xx.xxx.xxx.xx-1feb4097/ls9c8p443_xx.xxx.xxx.xx_42707","old_cid":"xx.xxx.xxx.xx-1feb4097/ls9c8p443_xx.xxx.xxx.xx_42707","dca":false,"is_tv":false,"appid":"node_earnapp.com","partnerid":"luminati","uuid":"sdk-android-d
6","ifname":"eth0","usage":{},"ifs":[{"name":"eth0","addr":"172.29.0.2"}]}
2022-02-21 14:14:38.807 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_proxyjs_conn_00_direct_success&appid=node_earnapp.com&ver=1.280.948&ver_sdk=1.280.948&uuid=sdk-android-d**************6 res 200
2022-02-21 14:14:38.815 NOTICE: agent WS: upgrade conn
2022-02-21 14:14:38.816 NOTICE: agent WS (95.179.218.112): connected
2022-02-21 14:14:38.817 NOTICE: client_connect established [172.29.0.2]->95.179.218.112:443 (95-179-218-112.luminatinet.com)
2022-02-21 14:14:38.817 ERR: perr tun_init_success {"servername":"95-179-218-112.luminatinet.com"}
2022-02-21 14:14:38.818 NOTICE: detected interface eth0 for 172.29.0.2
2022-02-21 14:14:38.818 NOTICE: js peer init from 172.29.0.2 eth0 unknown
2022-02-21 14:14:38.820 NOTICE: tunnel_init resp: {"arch":"x64","release":"ubuntu_20.04_x64","platform":"node","sdk_version":"1.280.948","version":"1.280.948","idle":true,"confdir":"/etc/earnapp","cid":"xx.xxx.xxx.xx-1feb4097/ls9c8p443_xx.xxx.xxx.xx_42707","old_cid":"xx.xxx.xxx.xx-1feb4097/ls9c8p443_xx.xxx.xxx.xx_42707","dca":false,"is_tv":false,"appid":"node_earnapp.com","partnerid":"luminati","uuid":"sdk-android-d6","ifname":"eth0","usage":{},"ifs":[{"name":"eth0","addr":"172.29.0.2"}]}
2022-02-21 14:14:38.829 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":16.52,"mem_usage_ts":1645452877685,"cpu_usage":7.92,"cpu_usage_ts":1645452878648},"bw":{}}
2022-02-21 14:14:38.849 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":16.52,"mem_usage_ts":1645452877685,"cpu_usage":7.92,"cpu_usage_ts":1645452878648},"bw":{}}
2022-02-21 14:14:38.899 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_register_client&appid=node_earnapp.com&ver=1.280.948&ver_sdk=1.280.948&uuid=sdk-android-d***********************************6 res 200
2022-02-21 14:14:39.706 NOTICE: agent WS: upgrade conn
2022-02-21 14:14:39.707 NOTICE: agent WS (45.32.114.246): connected
2022-02-21 14:14:39.708 NOTICE: client_connect established [172.29.0.2]->45.32.114.246:443 (45-32-114-246.luminatinet.com)
2022-02-21 14:14:39.709 ERR: perr tun_init_success {"servername":"45-32-114-246.luminatinet.com"}
2022-02-21 14:14:39.710 NOTICE: detected interface eth0 for 172.29.0.2
2022-02-21 14:14:39.710 NOTICE: js peer init from 172.29.0.2 eth0 unknown
2022-02-21 14:14:39.712 NOTICE: tunnel_init resp: {"arch":"x64","release":"ubuntu_20.04_x64","platform":"node","sdk_version":"1.280.948","version":"1.280.948","idle":true,"confdir":"/etc/earnapp","cid":"xx.xxx.xxx.xx-1feb4097/ls9c8p443_xx.xxx.xxx.xx_42707","old_cid":"xx.xxx.xxx.xx-1feb4097/ls9c8p443_xx.xxx.xxx.xx_42707","dca":false,"is_tv":false,"appid":"node_earnapp.com","partnerid":"luminati","uuid":"sdk-android-d
6","ifname":"eth0","usage":{},"ifs":[{"name":"eth0","addr":"172.29.0.2"}]}
2022-02-21 14:14:39.969 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":16.52,"mem_usage_ts":1645452877685,"cpu_usage":7.92,"cpu_usage_ts":1645452878648},"bw":{}}
2022-02-21 14:14:43.683 ERR: perr 21_svc_tun_start {}
2022-02-21 14:14:43.684 ERR: perr tun_start {}
2022-02-21 14:14:43.685 NOTICE: cmd_tun 45.32.147.159:443
2022-02-21 14:14:43.712 ERR: perr 22_svc_tun_1b {}
2022-02-21 14:14:43.713 ERR: perr tun_1b {}
2022-02-21 14:14:46.425 NOTICE: cmd_tun_close 1

arm version

Hi and thanks for your job.

Your docker work fine on amd64.

Moreover, is it possible to convert your docker for arm architecture? (like RPi0).

Thanks in advance for your replie.

earnapp dashboard says that node has the same ip as my host machine

I have a running docker container and on the earnapp dashboard the node says that It has the same ip as my host machine thus won't earn any more money, however when I run the command docker inspect "container" it says that the ip is different private one. Is there a way to get the container to have a different ip so that earnapp will let the node earn money?

Container shows as running, however Earnapp console shows device is unavailable

I have noticed this happening a number of times over the past 4 days while running the container. Essentially the Earnapp console shows the device as offline and everything looks good in the docker UI. If I restart the docker image then refresh my Earnapp console it shows as online once more. Have you noticed any stability issues?

Environment:
Windows 10 Pro
Docker Desktop 4.5.1 (74721) running with WSL2 enabled

work slowly

Hello
I installed the lite version on the synology it seems working but I see a lot of errors :
Can you please help ?

2022-02-15 22:08:59.745 NOTICE: js peer init from 172.22.0.2 eth0 unknown
2022-02-15 22:08:59.746 NOTICE: tunnel_init resp: {"arch":"x64","release":"ubuntu_20.04_x64","platform":"node","sdk_version":"1.280.948","version":"1.280.948","idle":true,"confdir":"/etc/earnapp","cid":"91.182.233.87-a4738efc/ls3c7p443_91.182.233.87_40669","old_cid":"91.182.233.87-a4738efc/ls3c7p443_91.182.233.87_40669","dca":false,"is_tv":false,"appid":"node_earnapp.com","partnerid":"luminati","uuid":"sdk-win-5dbbf9688d7e224f8651392fd7544e6c","ifname":"eth0","usage":{},"ifs":[{"name":"eth0","addr":"172.22.0.2"}]}
2022-02-15 22:08:59.750 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_proxyjs_conn_00_direct_success&appid=node_earnapp.com&ver=1.280.948&ver_sdk=1.280.948&uuid=sdk-win-5dbbf9688d7e224f8651392fd7544e6c res 200
2022-02-15 22:08:59.751 ERR: perr perr_direct_success {}
2022-02-15 22:08:59.762 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":15.18,"mem_usage_ts":1644962938739,"cpu_usage":100,"cpu_usage_ts":1644962939622},"bw":{}}
2022-02-15 22:09:00.226 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_register_client&appid=node_earnapp.com&ver=1.280.948&ver_sdk=1.280.948&uuid=sdk-win-5dbbf9688d7e224f8651392fd7544e6c res 200
2022-02-15 22:09:00.329 NOTICE: agent WS: upgrade conn
2022-02-15 22:09:00.330 NOTICE: agent WS (144.202.92.178): connected
2022-02-15 22:09:00.330 NOTICE: client_connect established [172.22.0.2]->144.202.92.178:443 (144-202-92-178.luminatinet.com)
2022-02-15 22:09:00.331 ERR: perr tun_init_success {"servername":"144-202-92-178.luminatinet.com"}
2022-02-15 22:09:00.332 NOTICE: detected interface eth0 for 172.22.0.2
2022-02-15 22:09:00.332 NOTICE: js peer init from 172.22.0.2 eth0 unknown
2022-02-15 22:09:00.334 NOTICE: tunnel_init resp: {"arch":"x64","release":"ubuntu_20.04_x64","platform":"node","sdk_version":"1.280.948","version":"1.280.948","idle":true,"confdir":"/etc/earnapp","cid":"91.182.233.87-a4738efc/ls3c7p443_91.182.233.87_40669","old_cid":"91.182.233.87-a4738efc/ls3c7p443_91.182.233.87_40669","dca":false,"is_tv":false,"appid":"node_earnapp.com","partnerid":"luminati","uuid":"sdk-win-5dbbf9688d7e224f8651392fd7544e6c","ifname":"eth0","usage":{},"ifs":[{"name":"eth0","addr":"172.22.0.2"}]}
2022-02-15 22:09:00.356 NOTICE: agent WS: upgrade conn
2022-02-15 22:09:00.356 NOTICE: agent WS (159.223.95.233): connected
2022-02-15 22:09:00.357 NOTICE: client_connect established [172.22.0.2]->159.223.95.233:443 (159-223-95-233.luminatinet.com)
2022-02-15 22:09:00.358 ERR: perr tun_init_success {"servername":"159-223-95-233.luminatinet.com"}
2022-02-15 22:09:00.359 NOTICE: detected interface eth0 for 172.22.0.2
2022-02-15 22:09:00.359 NOTICE: js peer init from 172.22.0.2 eth0 unknown
2022-02-15 22:09:00.360 NOTICE: tunnel_init resp: {"arch":"x64","release":"ubuntu_20.04_x64","platform":"node","sdk_version":"1.280.948","version":"1.280.948","idle":true,"confdir":"/etc/earnapp","cid":"91.182.233.87-a4738efc/ls3c7p443_91.182.233.87_40669","old_cid":"91.182.233.87-a4738efc/ls3c7p443_91.182.233.87_40669","dca":false,"is_tv":false,"appid":"node_earnapp.com","partnerid":"luminati","uuid":"sdk-win-5dbbf9688d7e224f8651392fd7544e6c","ifname":"eth0","usage":{},"ifs":[{"name":"eth0","addr":"172.22.0.2"}]}
2022-02-15 22:09:00.494 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":15.18,"mem_usage_ts":1644962938739,"cpu_usage":100,"cpu_usage_ts":1644962939622},"bw":{}}
2022-02-15 22:09:00.527 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":15.18,"mem_usage_ts":1644962938739,"cpu_usage":100,"cpu_usage_ts":1644962939622},"bw":{}}
2022-02-15 22:09:04.681 ERR: perr 21_svc_tun_start {}
2022-02-15 22:09:04.682 ERR: perr tun_start {}
2022-02-15 22:09:04.683 NOTICE: cmd_tun 199.247.28.91:443 
2022-02-15 22:09:04.701 ERR: perr 22_svc_tun_1b {}
2022-02-15 22:09:04.702 ERR: perr tun_1b {}
2022-02-15 22:09:07.114 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_opt_in&appid=node_earnapp.com&ver=1.280.948&ver_sdk=1.280.948&uuid=sdk-win-5dbbf9688d7e224f8651392fd7544e6c res 200
2022-02-15 22:09:07.237 NOTICE: cmd_tun_close 1 
2022-02-15 22:09:14.725 WARN: agent WS (199.247.28.91): zfin_pending: 1-timeout
2022-02-15 22:09:59.352 ERR: perr heartbeat_proxy_js_conn_00_1min {}
2022-02-15 22:09:59.354 NOTICE: perr lum_sdk_node_heartbeat_proxy_js_conn_00_1min proxy 
2022-02-15 22:09:59.623 NOTICE: idle_state_monitor run
2022-02-15 22:09:59.639 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_heartbeat_proxy_js_conn_00_1min&appid=node_earnapp.com&ver=1.280.948&ver_sdk=1.280.948&uuid=sdk-win-5dbbf9688d7e224f8651392fd7544e6c res 200
2022-02-15 22:10:59.640 ERR: perr heartbeat_proxy_js_conn_01_2min {}
2022-02-15 22:10:59.642 NOTICE: perr lum_sdk_node_heartbeat_proxy_js_conn_01_2min proxy 
2022-02-15 22:10:59.937 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_heartbeat_proxy_js_conn_01_2min&appid=node_earnapp.com&ver=1.280.948&ver_sdk=1.280.948&uuid=sdk-win-5dbbf9688d7e224f8651392fd7544e6c res 200
2022-02-15 22:11:00.627 NOTICE: idle_state_monitor run
2022-02-15 22:11:43.688 ERR: perr 21_svc_tun_start {}
2022-02-15 22:11:43.689 ERR: perr tun_start {}
2022-02-15 22:11:43.690 NOTICE: cmd_tun www.instagram.com:443 
2022-02-15 22:11:44.356 NOTICE: cmd_tun_close 2 
2022-02-15 22:12:01.630 NOTICE: idle_state_monitor run
2022-02-15 22:12:59.938 ERR: perr heartbeat_proxy_js_conn_02_4min {}
2022-02-15 22:12:59.939 NOTICE: perr lum_sdk_node_heartbeat_proxy_js_conn_02_4min proxy 
2022-02-15 22:13:02.632 NOTICE: idle_state_monitor run
2022-02-15 22:13:09.306 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_heartbeat_proxy_js_conn_02_4min&appid=node_earnapp.com&ver=1.280.948&ver_sdk=1.280.948&uuid=sdk-win-5dbbf9688d7e224f8651392fd7544e6c res 200
2022-02-15 22:14:03.634 NOTICE: idle_state_monitor run
2022-02-15 22:15:04.638 NOTICE: idle_state_monitor run
2022-02-15 22:16:05.641 NOTICE: idle_state_monitor run
2022-02-15 22:17:06.642 NOTICE: idle_state_monitor run
2022-02-15 22:17:09.308 ERR: perr heartbeat_proxy_js_conn_03_8min {}
2022-02-15 22:17:09.309 NOTICE: perr lum_sdk_node_heartbeat_proxy_js_conn_03_8min proxy 
2022-02-15 22:17:10.648 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_heartbeat_proxy_js_conn_03_8min&appid=node_earnapp.com&ver=1.280.948&ver_sdk=1.280.948&uuid=sdk-win-5dbbf9688d7e224f8651392fd7544e6c res 200
2022-02-15 22:17:46.603 ERR: perr 21_svc_tun_start {}
2022-02-15 22:17:46.604 ERR: perr tun_start {}
2022-02-15 22:17:46.604 NOTICE: cmd_tun zh-hk.facebook.com:443 
2022-02-15 22:17:51.029 NOTICE: cmd_tun_close 3 
2022-02-15 22:18:07.645 NOTICE: idle_state_monitor run
2022-02-15 22:18:59.570 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":17.85,"mem_usage_ts":1644963487647,"cpu_usage":6.57,"cpu_usage_ts":1644963488647},"bw":{}}
2022-02-15 22:18:59.765 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":17.85,"mem_usage_ts":1644963487647,"cpu_usage":6.57,"cpu_usage_ts":1644963488647},"bw":{}}
2022-02-15 22:19:00.503 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":17.85,"mem_usage_ts":1644963487647,"cpu_usage":6.57,"cpu_usage_ts":1644963488647},"bw":{}}
2022-02-15 22:19:00.530 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":17.85,"mem_usage_ts":1644963487647,"cpu_usage":6.57,"cpu_usage_ts":1644963488647},"bw":{}}
2022-02-15 22:19:08.648 NOTICE: idle_state_monitor run
2022-02-15 22:20:09.650 NOTICE: idle_state_monitor run
2022-02-15 22:21:01.731 ERR: perr 21_svc_tun_start {}
2022-02-15 22:21:01.732 ERR: perr tun_start {}
2022-02-15 22:21:01.732 NOTICE: cmd_tun www.google.be:443 
2022-02-15 22:21:03.862 NOTICE: cmd_tun_close 4 
2022-02-15 22:21:10.651 NOTICE: idle_state_monitor run
2022-02-15 22:22:11.655 NOTICE: idle_state_monitor run
2022-02-15 22:23:12.658 NOTICE: idle_state_monitor run
2022-02-15 22:24:13.661 NOTICE: idle_state_monitor run
2022-02-15 22:25:10.654 ERR: perr heartbeat_proxy_js_conn_04_16min {}
2022-02-15 22:25:10.655 NOTICE: perr lum_sdk_node_heartbeat_proxy_js_conn_04_16min proxy 
2022-02-15 22:25:10.938 NOTICE: perr https://perr.l-err.biz/perr?id=lum_sdk_node_heartbeat_proxy_js_conn_04_16min&appid=node_earnapp.com&ver=1.280.948&ver_sdk=1.280.948&uuid=sdk-win-5dbbf9688d7e224f8651392fd7544e6c res 200
2022-02-15 22:25:14.664 NOTICE: idle_state_monitor run
2022-02-15 22:26:15.668 NOTICE: idle_state_monitor run
2022-02-15 22:27:16.671 NOTICE: idle_state_monitor run
2022-02-15 22:28:17.674 NOTICE: idle_state_monitor run
2022-02-15 22:29:00.511 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":18.52,"mem_usage_ts":1644964097676,"cpu_usage":8.16,"cpu_usage_ts":1644964098677},"bw":{}}
2022-02-15 22:29:00.533 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":18.52,"mem_usage_ts":1644964097676,"cpu_usage":8.16,"cpu_usage_ts":1644964098677},"bw":{}}
2022-02-15 22:29:18.677 NOTICE: idle_state_monitor run
2022-02-15 22:29:29.762 NOTICE: status_get: {"idle":true,"usage":{},"idle_state":{"mem_usage":18.61,"mem_usage_ts":1644964158679,"cpu_usage":4.76,"cpu_usage_ts":1644964159678},"bw":{}}
2022-02-15 22:29:31.766 ERR: perr 21_svc_tun_start {}
2022-02-15 22:29:31.766 ERR: perr tun_start {}
2022-02-15 22:29:31.767 NOTICE: cmd_tun www.instagram.com:443 
2022-02-15 22:29:32.693 NOTICE: cmd_tun_close 5 
2022-02-15 22:29:45.280 ERR: perr 21_svc_tun_start {}
2022-02-15 22:29:45.281 ERR: perr tun_start {}
2022-02-15 22:29:45.282 NOTICE: cmd_tun zh-hk.facebook.com:443 
2022-02-15 22:29:49.605 NOTICE: cmd_tun_close 6 
2022-02-15 22:30:19.679 NOTICE: idle_state_monitor run
2022-02-15 22:31:20.680 NOTICE: idle_state_monitor run
2022-02-15 22:32:21.684 NOTICE: idle_state_monitor run
2022-02-15 22:33:22.690 NOTICE: idle_state_monitor run
2022-02-15 22:34:23.691 NOTICE: idle_state_monitor run
2022-02-15 22:35:24.693 NOTICE: idle_state_monitor run
2022-02-15 22:36:25.696 NOTICE: idle_state_monitor run
2022-02-15 22:37:26.698 NOTICE: idle_state_monitor run

online but possible communication error?

After setting up this image and running the 'EarnApp register' command and clicking the link, the EarnApp website showed the error 'can not find device'. I noticed the 'consent' file and changed the file contents of '1' to '0' and this fixed the above issue. Was this something I was meant to do? If not, why did it resolve the issue?

My issue now is, it seems the image isn't communicating well with EarnApp as both the EarnApp dashboard isn't showing a country of IP for this client, and no earnings are being made. The dashboard does show the client as being online however.

I'm also seeing this error repeat once a while:
agent WS (157.245.36.44): zfin_pending: 2-timeout

It usually follows the following log:
2022-05-03 22:52:49.101 NOTICE: cmd_tun www.instagram.com:443
2022-05-03 22:52:49.494 NOTICE: cmd_tun_close 3

getting status exited when i instaling in docker non-compose or compose on debian bullseye, but normally works on debian buster, how to fix it?

i have 2 system, one using debian buster work pefectly and one using debian bullseye its not working.
how to make the system using debian bullseye working?
because the folder earn-app data still empty will i running using your script compose or non-compose (showing on pictures STB 01, the system using debian bullseye, but the system using debian buster is work showing on picture STB 04)

image

UUID for lite version

I am probably missing something, but how do I go and get UUID for lite version?

What I did was I installed earnapp on windows PC I dont want to use for earnings, and get his UUID and used it for a Synology NAS and registered it with the UUID, then uninstalled win version and let NAS run under his UUID.

But dashboard says the device is offline. Am I doing something wrong?

Appreciate help

docker exec -it earnapp earnapp showid tells me the container has already exited

I can pull the image and run it but when i run docker ps i get an empty table , and

docker ps -a shows that earnapp container has exited, when i run docker exec -it earnapp earnapp showid it tells me Error response from daemon: Container 1240dd9167b18af68f9a926ab3c0d26b74e039884611ec2bda00bfe0a81c5e60 is not running

please help

containers generating new IDs

First off let me start by saying thank you for the work you have done building this! I have been enjoying it very much.

I am pretty new to docker and such so I will do my best to explain the issue I am running into.
I have been trying to run this as using docker-compose.yml and docker-compose up -d. Each 'app' under 'services' ends up generating a new ID (showid) upon restart. This is causing that each docker-compose down or restart of the the OS results in new IDs disconnecting the previous applications that were running and needing a new connection for the next.

my docker-compose.yml looks like this:

version: '3.3'
services:
eanapp01:
image: fazalfarhan01/earnapp
privileged: true
volumes:
- /sys/fs/cgroup:sys/fs/cgroup:ro
- ./etc:/etc:earnapp01
restart: always
eanapp02:
image: fazalfarhan01/earnapp
privileged: true
volumes:
- /sys/fs/cgroup:sys/fs/cgroup:ro
- ./etc:/etc:earnapp02
restart: always

When running this .yml everything works fine and I can get the IDs without issue using docker-compose exec earnapp01 earnapp showid. As mentioned above the issue happens when there is any restart of the container the showid changes. I suspect this is due to a lack of understanding of how containers work in general but I would really appreciate any insight into how I can work around this :).

Thank you for any time you can provide to my question.

showid doesn't work

"docker exec -it earnapp showid" gives me this:

OCI runtime exec failed: exec failed: container_linux.go:344: starting container process caused "exec: "showid": executable file not found in $PATH": unknown

It doesn't matter if I run it compose or non-compose

Invalid node id

Hi,

I'm using this compose :

version: "3.3"
services:
    app:
        image: fazalfarhan01/earnapp
        privileged: true
        volumes:
            - /sys/fs/cgroup:/sys/fs/cgroup:ro
            - /home/jeoffrey/data/earnapp/etc:/etc/earnapp

And I'm getting the nod id from the file "uuid", but he's invalid :

sdk-node-9616f4XXXXXXXXXXXXeceb03 : Error while linking device. The device is not found

Any idea ? Anything I can check ?

Regards,

don't work on Raspberry PI 3 ?

Hello
I use the fazalfarhan01/earnapp:lite version on Docker with a Rapsberry PI 3.
Unfortunately the ShowID command does not show me anything.
Here is the output on my command prompt:

pi@Chalet:~ $ docker exec -it earnapp_Lite earnapp status
✔ Current status: enabled
pi@Chalet:~ $ docker exec -it earnapp_Lite earnapp showid

pi@Chalet:~ $

has anyone managed to get it to work on Rapsberry Pi 3?
thank you in advance

What am i doing wrong ?

Hello,
I have ran your commands but I got stuck on this.
What am I doing wrong ?

Thank you.
Screenshot_1

Allow running lite container as non-root user

Currently it is not possible to run earnapp:lite with a specific user (other than root) such as in following command:
docker run -d --user 1001 -e "EARNAPP_UUID=sdk-xyz" -v $HOME/etc:/etc/earnapp --name earnapp fazalfarhan01/earnapp:lite

It will end with permission error due to following action requiring root privilege:

cp /download/earnapp /usr/bin/earnapp

Would it be possible to improve/fix this build by moving that line at end of src/setup.sh script for example ?

ID is not created?

Hi,
i cant register my device.

root@raspberrypi: ~/docker/earnapp/etc# docker-compose up -d
                            Starting earnapp_app_1 ... done


root@raspberrypi: docker ps
CONTAINER ID   IMAGE                   COMMAND        CREATED         STATUS              PORTS     NAMES
c4662f07c8d1   fazalfarhan01/earnapp   "/sbin/init"   2 minutes ago   Up About a minute             earnapp_app_1


root@raspberrypi:~/docker/earnapp/etc# docker-compose exec app earnapp status
✔ Current status: disabled


root@raspberrypi:~/docker/earnapp/etc# docker-compose exec app earnapp register
⚠ You must register it for earnings to be added to your account.
⚠ Open the following URL in the browser:
  https://earnapp.com/r/


root@raspberrypi:~/docker/earnapp/etc# docker-compose exec app earnapp showid
(Its empty)

docker-compose.yml

version: "3.3"
services:

    app:
        image: fazalfarhan01/earnapp
        privileged: true
        volumes:
            - /sys/fs/cgroup:/sys/fs/cgroup:ro
            - ./etc:/etc/earnapp

more information

root@rapsberrypi: uname -a
Linux raspberrypi 5.10.63-v7l+ #1459 SMP Wed Oct 6 16:41:57 BST 2021 armv7l GNU/Linux

Docker: 
Docker version 20.10.12, build e91ed57

Docker-Compose:
docker-compose version 1.21.0, build unknown

ARM64 executable is bugged again

on arm64, lite version:

An image by https://github.com/fazalfarhan01
Installing
internal/fs/utils.js:307
throw err;
^
Error: ENOENT: no such file or directory, open '/usr/bin/node_modules/workerjs/bootstrap.js'
at Object.openSync (fs.js:476:3)
at Object.readFileSync (fs.js:377:35)
at Object.readFileSync (/usr/bin/earnapp:233:55)
at Object. (/usr/bin/node_modules/workerjs/index.js:6:6)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/usr/bin/node_modules/workerjs/bootstrap.js'
}
internal/fs/utils.js:307
throw err;
^
Error: ENOENT: no such file or directory, open '/usr/bin/node_modules/workerjs/bootstrap.js'
at Object.openSync (fs.js:476:3)
at Object.readFileSync (fs.js:377:35)
at Object.readFileSync (/usr/bin/earnapp:233:55)
at Object. (/usr/bin/node_modules/workerjs/index.js:6:6)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18) {
errno: -2,
syscall: 'open',
code: 'ENOENT',
path: '/usr/bin/node_modules/workerjs/bootstrap.js'
}

doesn't work

Hi, this image doesn't work

i have this error :

Failed to look up module alias 'autofs4': Function not implemented
Failed to mount cgroup at /sys/fs/cgroup/systemd: No such file or directory
[!!!!!!] Failed to mount API filesystems.
Exiting PID 1...

Integrate Proxies

Hello,

Thank you first of all for sharing this project.

Im trying to implement this project working with network proxies with credentials (IP:PORT:USERNAME:PASSWORD)

Can you help me?

Thank you

`latest` image does not start up correctly

I'm trying to run the latest version of the earnapp image so it can create it's own UUID, but it is hitting the following error:
Couldn't find an alternative telinit implementation to spawn.

Looking around, it sounds like it's to do with the privileged and /sys/fs/cgroup settings, but those are set in my docker compose config

version: '3.8'

services:
  earnapp:
    image: fazalfarhan01/earnapp
    container_name: cf_earnapp
    privileged: true
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
      - /storage/data/earnapp:/etc/earnapp
    restart: always

Inability to make Earnapp work under docker

Hello I want to use docker to create docker images for earnapp here is the example currency (sdk-android-76777cbb) before the number was complete could you tell me the command to perform? thank you

Lite version fails to connect to earn-app ip

Hello,
i've first tried the lite version and even if "status" command is returning that everything is ok (at first startup) if i "stop" and "start" earnapp from inside the docker the connection ends up in a timeout

Error: connect ETIMEDOUT 34.237.199.147:443
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '34.237.199.147',
  port: 443,
...

the privileged version works though (same machine).

Container is restarting

Compose:

earnapp:
container_name: earnapp
image: fazalfarhan01/earnapp:latest
privileged: true
volumes:
- ${DOCKER}/earnapp:/etc/earnapp
- /sys/fs/cgroup:/sys/fs/cgroup:ro
restart: always

Linux server 5.15.0-67-generic #74-Ubuntu SMP Wed Feb 22 14:14:39 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Docker version 23.0.1, build a5ee5b1

No log output from command 'docker logs earnapp'

'docker exec -it earnapp earnapp showid' or 'docker-compose exec earnapp install' throws:
Error response from daemon: Container 042ae9a5adea254d7fa5097f196e5c38bea0ee2bbe9a8e815363114308c18bbf is restarting, wait until the container is running

I've tried rebuilding the docker container and data directory, and using 'hourly-latest' build.

The lite version appears to work, but obviously I do not then have the required UUID.

Please advise.

earnapp lite error on console

image
2022-06-20 12:17:03.308 ERR: perr 21_svc_tun_start {}
2022-06-20 12:17:03.309 ERR: perr tun_start {}

i keep getting this error on earnapp lite
using ubuntu 22.04 lts

Link device button don't exist

seems that link device button doesn't exist anymore on the dashboard,

Instead, in FAQ, they say that we have to click on generating url after installation,

How can we have access to this url in ur image?

Request for 32 bit

How much work is it to add a 32 bit variant?

I've used this a few times and whenever I'm accidentally attempting to use this image on a 32 bit OS the container builds, but exists immediately with no logs.

Exit Code 255

I am working at deploying this at scale, but after installing 29 docker containers it will not start anymore.

I have tried:

  • Increasing ram
  • New install of Ubuntu 20.04

Is there anything else I should be trying, or looking at diagnostics for?

docker image on wsl2

Hello

Can we run earnapp docker image on WSL2 ?
i try but my container doesnt start

Regards

Honeygain issue

Does this docker have an hidden honeygain client?
Because it is interfering with my honeygain docker

Select interface

Hello,
Is possible to select interface because i have two interface in container :
tun0 and eth0 and earnapp choise eth0 and not tun0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.