Git Product home page Git Product logo

io_launch_binaries's Introduction

IO-Net Official Binaries

Latest Version: 2.0.7
Oldest Supported Version: 2.0.1 (versions older than this are deprecated)

This repository contains official binaries for the io.net - Follow the instructions below to set up and run the binaries on your respective operating system.

Prerequisites

For Linux

  • Docker
  • Nvidia drivers (In case of GPU Worker) (running io-setup will automatically install this if needed)
  • Nvidia container toolkit (In case of GPU Worker) (running io-setup will automatically install this if needed)

For Mac

Installation

Linux

  1. Perform IO-Setup (one time for hardware) (skip if docker and Nvidia drivers are already installed and configured)

    • Download the setup script:
      curl -L https://github.com/ionet-official/io-net-official-setup-script/raw/main/ionet-setup.sh -o ionet-setup.sh
      
    • Run the script:
      chmod +x ionet-setup.sh && ./ionet-setup.sh
      
    Note - in case curl command fails:
    • Install curl:
      sudo apt install curl
      
  2. For systems with GPUs

    • Wait for a restart.
    • After restart, rerun the setup again with the command above.

Start the containers using binary

Linux

  1. Download and launch binary:
    curl -L https://github.com/ionet-official/io_launch_binaries/raw/main/io_net_launch_binary_linux -o io_net_launch_binary_linux
    chmod +x io_net_launch_binary_linux
    
  • Launch in interactive mode or copy the generated command from the website.
    ./io_net_launch_binary_linux
    

Mac

  • Download and launch binary:

    curl -L https://github.com/ionet-official/io_launch_binaries/raw/main/io_net_launch_binary_mac -o io_net_launch_binary_mac
    chmod +x io_net_launch_binary_mac
    
  • Launch in interactive mode or copy the generated command from the website.

    ./io_net_launch_binary_mac
    
  • Troubleshooting (Optional)

    • If you encounter an error message like bad CPU type in executable, it likely indicates that you are running software designed for an Intel processor on an Apple Silicon device. To resolve this issue, you'll need to install Rosetta 2, which enables support for Intel processors to run within Docker on Apple Silicon devices.

        softwareupdate --install-rosetta
      
    • After finishing the Rosetta install, rerun the execute command again.

      ./io_net_launch_binary_mac
      

Windows

  1. Download binary:
  • Go to your browser and paste:
    https://github.com/ionet-official/io_launch_binaries/raw/main/io_net_launch_binary_windows.exe
    
  • Open the downloaded file in the cmd and it will fill out the details in interactive mode.

Usage

  1. Interactive Mode: When you run the binary with no additional arguments, it will prompt you to enter the necessary details.

  2. Additional Arguments Mode: You can also pass the arguments directly to the binary.

    • [required] --device_name: (string) The name of the device.

    • [required] --device_id: (string) The ID of the device.

    • [optional] --no_warnings: (boolean) Disable warnings of deleting existing and running containers.

    • [optional] --no_cache: (boolean) Disable loading arguments from in-disk cache of your device.

    • [optional] --token: (string) User refresh token to enable silent authentication.

    • [optional] --disable_sleep_mode: (boolean) Disable sleep mode for the device.

    • see --help for additional commands.

  • Example usage:

    ./io_net_launch_binary_linux --device_name=my_device --device_id=1234 --no_warnings=true --no_cache=true
    
  • Note: The binary application will wait until the IO Worker Containers are up and running.

  • Note: After one successful sign-in, the auth token will be saved in cache file. To re-authenticate use --no_cache=true flag.

  • Note: The binary will cache the arguments on the disk for future use. If you DO NOT want to use cached arguments, you can pass the --no_cache=true argument.

  • Note: If you want to disable warnings about deleting existing and running containers, you can pass the --no_warnings=true argument.

  • Note: If you want to disable sleep mode for the device, you can pass the --disable_sleep_mode=true argument.

Support

For support, please open an issue or contact our support team on discord

io_launch_binaries's People

Contributors

ilkhom19 avatar jimcurrywang avatar pilgrim-xzed avatar smiraldr 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

io_launch_binaries's Issues

Error Authenticating

After using the no_cache flag, I still cannot finish the authentication.

./io_net_launch_binary_mac --no_cache=true --device_id=10787db2-24aa-4bc5-8adc-4965e102f1c4 --user_id=5748e64a-7e32-47e4-8713-a1ccbcd1a3b0 --operating_system="macOS" --usegpus=false --device_name=ausdin-mac-new --no_cache=true
____ ____ _ __ ____ ______
/ // __ \ / |/ // // /
/ / / // / / // / / /
/
/ _
/()//|//__/ //

Welcome to the IO.net Launcher CLI. The ultimate tool to help you manage your IO Worker.

Current version: 2.0.6

2024/05/21 12:17:48 {
"key_set": true
}
Error: device code authorization returned: Bad Request
Error: Error authenticating: provided token has expired or invalid. Please re-authenticate using --no_cache=true flag.

BitDefender Detecting Infected Web Page (Gen:Variant.Cerbu.197687 Crypto Locker Ransomware)

I'm running BitDefender and am getting this for download the .exe.

Infected web page detected
3 minutes ago

Feature:
Online Threat Prevention

We blocked this dangerous page for your protection:
https://raw.githubusercontent.com/ionet-official/io_launch_binaries/main/io_net_launch_binary_windows.exe
Dangerous pages attempt to install software that can harm the device, gather personal information or operate without your consent.

I'm assuming this is a false positive, and still want to download it.

When I add the URL as an exception, it does not work.

When I add the folder, to which I'm trying to download it, as an exception, it also doesn't work.

When I temporarily disable BitDefender's 'Shield' feature, it also does not work.

For the life of me, I cannot download this file.

mac M2 can not install binary

M2
when I use the code to install the binary , it shows the issue as the picture. I had tried many times , ir was not be fixed .

Error: failed to validate token: expected claims not validated: go-jose/go-jose/jwt: validation field, token issued in the future (iat)

                 ____ ____      _  __ ____ ______
                /  _// __ \    / |/ // __//_  __/
               _/ / / /_/ /   /    // _/   / /
              /___/ \____/(_)/_/|_//___/  /_/

Welcome to the IO.net Launcher CLI. The ultimate tool to help you manage your IO Worker.

Current version: 2.0.6

To authorise the device with IO.ID, please follow one of the options below and verify your IO.ID account:
Option 1: On your computer or mobile device navigate to: https://auth0.io.solutions/activate?user_code=XXX
Option 2: Enter the following code: XXX on: https://auth0.io.solutions/activate

Waiting for interactive authorization...

Use the following token as '--token' flag for silent authentication: XXX
Refresh tokens are valid and can be reused for 365 days after being generated.
Warning: If you feel that the token has been compromised, contact IO.Net Support Team

Signed in as: [email protected]
Error: failed to validate token: expected claims not validated: go-jose/go-jose/jwt: validation field, token issued in the future (iat)
Error: Error authenticating: provided token has expired or invalid. Please re-authenticate using --no_cache=true flag.

mac m1 Pro docker container err

worker docker container err

2024-03-29 17:58:21 Script invoked: true
2024-03-29 17:58:21 /usr/bin/cat: pass.txt: No such file or directory
2024-03-29 17:58:21 /usr/bin/rm: cannot remove '/srp': Is a directory
2024-03-29 17:58:21 No password supplied
2024-03-29 17:58:21 No password supplied
2024-03-29 17:58:21 No password supplied
2024-03-29 17:58:21 chpasswd: (user root) pam_chauthtok() failed, error:
2024-03-29 17:58:21 Authentication token manipulation error
2024-03-29 17:58:21 chpasswd: (line 1, user root) password not changed

mac version:

image

docker version:

Client:
 Cloud integration: v1.0.35+desktop.4
 Version:           24.0.6
 API version:       1.43
 Go version:        go1.20.7
 Git commit:        ed223bc
 Built:             Mon Sep  4 12:28:49 2023
 OS/Arch:           darwin/arm64
 Context:           desktop-linux

Server: Docker Desktop 4.23.0 (120376)
 Engine:
  Version:          24.0.6
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.7
  Git commit:       1a79695
  Built:            Mon Sep  4 12:31:36 2023
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.6.22
  GitCommit:        8165feabfdfe38c65b599c4993d227328c231fca
 runc:
  Version:          1.1.8
  GitCommit:        v1.1.8-0-g82f18fe
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

version `GLIBC_2.29' not found

ubuntu 18.04 run ./launch_binary_linux
[19709] Error loading Python lib '/tmp/_MEIq14YqL/libpython3.8.so.1.0': dlopen: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /tmp/_MEIq14YqL/libpython3.8.so.1.0)

can you update the binary

Waiting for IO containers to start...

When I am starting io_net_launch_binary_windows.exe in my cmd, it creates some docker containers, they are working, but the script thinks that containers are not launched and spamming "Waiting for IO containers to start..." in cmd.

My system is Windows 11 23H2,
CPU is 12th Gen Intel(R) Core(TM) i5-12400F,
and GPU is NVIDIA GeForce RTX 3060.

I've installed Docker Desktop, but haven't installed NVIDIA CUDA Toolkit for now.

Screenshot 2024-06-06 205117
Screenshot 2024-06-06 205444

Not working on M2 Chip

When I try to run

launch_binary_mac

I get this error.

Traceback (most recent call last):
File "launch_script_mac_n.py", line 240, in
File "launch_script_mac_n.py", line 148, in main
File "launch_script_mac_n.py", line 32, in check_docker
File "subprocess.py", line 424, in check_output
File "subprocess.py", line 505, in run
File "subprocess.py", line 951, in init
File "subprocess.py", line 1821, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'docker'
[17791] Failed to execute script 'launch_script_mac_n' due to unhandled exception!

run launch command error on mac m1.

[18689] Error loading Python lib '/var/folders/ty/5_22wc2163n83dzkc40mtdmm0000gn/T/_MEIG40j33/libpython3.9.dylib': dlopen: dlopen(/var/folders/ty/5_22wc2163n83dzkc40mtdmm0000gn/T/_MEIG40j33/libpython3.9.dylib, 0x000A): Symbol not found: (_mkfifoat)
  Referenced from: '/private/var/folders/ty/5_22wc2163n83dzkc40mtdmm0000gn/T/_MEIG40j33/libpython3.9.dylib'
  Expected in: '/usr/lib/libSystem.B.dylib'

tomastomas@tomass-MacBook-Pro Downloads % which python3
/usr/bin/python3
tomastomas@tomass-MacBook-Pro Downloads % 

docker desktop Version

4.24.0 (122432)

macos 12.6.5

M1 version NOT fixed.

As the title states the Mac Apple Silicon version isn't working.
I have installed ARM version of Docker Desktop but your images are installing as AMD64, and getting this output on io-worker-vc.
Also io-launch will be created then delete. so can you provide a real solution to getting the correct docker image downloaded.

Screenshot 2024-03-30 at 9 21 29 PM

Your IO worker is launched and ready. but workers is down.

                       *     .--.
                            / /  `
           +               | |
                  '         \ \__,
              *          +   '--'  *
                  +   /\
     +              .'  '.
            *      /======\      +
                  ;:.  _   ;
                  |:. (_)  |
                  |:.  _   |
        +         |:. (_)  |          *
                  ;:.      ;
                .' \:.    / `.
               / .-'':._.'`-. \
               |/    /||\    \|
             _..--"""````"""--.._
       _.-'``                    ``'-._
     -'                                '-

Congratulations. Your IO worker is launched and ready.
show me this tips.but workers is down.

ArchLinux system error

System: Archlinux
docker logs

sudo: unable to resolve host ArchLinux: Name or service not known
sudo: unable to resolve host ArchLinux: Name or service not known
sudo: unable to resolve host ArchLinux: Name or service not known
Script invoked: true
sudo: unable to resolve host ArchLinux: Name or service not known
sudo: unable to resolve host ArchLinux: Name or service not known
sudo: unable to resolve host ArchLinux: Name or service not known
sudo: unable to resolve host ArchLinux: Name or service not known
sudo: unable to resolve host ArchLinux: Name or service not known
sudo: unable to resolve host ArchLinux: Name or service not known
sudo: /srp/invokeprogram.sh: command not found

Error: NVIDIA GPU not found.

cmd:

PS F:\Downloads> .\io_net_launch_binary_windows.exe --device_id=xxx --user_id=xxx --operating_system="Windows" --usegpus=true --device_name="xxx"
                     ____ ____      _  __ ____ ______
                    /  _// __ \    / |/ // __//_  __/
                   _/ / / /_/ /   /    // _/   / /
                  /___/ \____/(_)/_/|_//___/  /_/

Welcome to the IO.net Launcher CLI. The ultimate tool to help you manage your IO Worker.

Current version: 2.0.6

To authorise the device with IO.ID, please follow one of the options below and verify your IO.ID account:
Option 1: On your computer or mobile device navigate to: https://auth0.io.solutions/activate?user_code=BBVG-xxx
Option 2: Enter the following code: BBVG-xxx on: https://auth0.io.solutions/activate

Waiting for interactive authorization...

Use the following token as '--token' flag for silent authentication: xxx
Refresh tokens are valid and can be reused for 365 days after being generated.
Warning: If you feel that the token has been compromised, contact IO.Net Support Team

Signed in as: [email protected]
To use Device: xxx

Warning: Please be aware that the IO Worker will stop and delete all your running Docker containers on the device.
Do you want to continue? (Yes/no): yes
Error: NVIDIA GPU not found.
PS F:\Downloads>

environment:

  • win11
  • i9-12900K
  • ASUS 3080TI
  • 32G RAM
  • NVIDIA App installed
  • Game Ready - 555.99
  • CUDA installed (cuda_12.5.0_555.85_windows.exe)

Failed to start on MAC

I expected the following error, which seems to be related to the way you used dynamic libraries:

[43064] Error loading Python lib '/var/folders/p4/l8_3rrd91yzgpphgqkhn_zv0rkd18g/T/_MEInkazqk/libpython3.9.dylib': dlopen: dlopen(/var/folders/p4/l8_3rrd91yzgpphgqkhn_zv0rkd18g/T/_MEInkazqk/libpython3.9.dylib, 0x000A): Symbol not found: (_mkfifoat)
Referenced from: '/private/var/folders/p4/l8_3rrd91yzgpphgqkhn_zv0rkd18g/T/_MEInkazqk/libpython3.9.dylib'
Expected in: '/usr/lib/libSystem.B.dylib'

I found some thread, please check: https://forums.developer.apple.com/forums/thread/655588

BTW, I'm running your binary on a V12.7 MAC OS.

You are not the owner of the device?

Welcome to the IO.net Launcher CLI. The ultimate tool to help you manage your IO Worker.

Current version: 2.0.6

Successfully authenticated using the provided --token flag or using saved token in the cache.

Use the following token as '--token' flag for silent authentication:xxxxxxxxxxx
Refresh tokens are valid and can be reused for 365 days after being generated.
Warning: If you feel that the token has been compromised, contact IO.Net Support Team

Signed in as: xxxx@xxxxxxcom
To use Device: xxxxxxxxxxxxxxxxxxxxx

Warning: Please be aware that the IO Worker will stop and delete all your running Docker containers on the device.
Do you want to continue? (Yes/no): y

Error: You are not the owner of the device. Please use the correct deviceID and try to update the binary to the latest version.

Is I7-9700kf support to launch?

I have started io script, but the website tells me that is disconnected, Does this CPU worked well or just CPU in your list worked?
image

Error retrieving images ... "cmd": executable file not found in %PATH%

I get this error after I say "Yes" to the warning to say that IO Worker will stop and delete
Docker Containers.

Error retrieving images for ionetcontainers/io-worker-vc: exec: "cmd": executable file not found in %PATH%
Error retrieving images for ionetcontainers/io-worker-monitor: exec: "cmd": executable file not found in %PATH%
Error retrieving images for ionetcontainers/io-launch: exec: "cmd": executable file not found in %PATH%

I encountered some errors while running on M1.

As the title suggests, I encountered some errors while running on M1. Since it's a binary file, I can't view the source code and resolve the issues on my own. I need the administrator's assistance.

The errors are as follows:

Traceback (most recent call last):
  File "launch_script_mac_n.py", line 240, in <module>
  File "launch_script_mac_n.py", line 139, in main
  File "launch_script_mac_n.py", line 121, in load_cache
  File "json/__init__.py", line 293, in load
  File "json/__init__.py", line 346, in loads
  File "json/decoder.py", line 340, in decode
json.decoder.JSONDecodeError: Extra data: line 5 column 1 (char 183)
[3851] Failed to execute script 'launch_script_mac_n' due to unhandled exception!

I want to assign a line to download docker image.

Docker images are downloaded every time the service restarts, which causes my server traffic to be quickly exhausted. I would like to assign another route to docker image download. What is the URL of the docker image download server?

windows:Error: Error getting MAC address

Why can't users customize their secret keys on the frontend? Every time I start up, I have to go to the browser to get them, and the page easily times out or expires. The devices are also unstable, and I often need to restart them...

Warning: Please be aware that the IO Worker will stop and delete all your running Docker containers on the device.
Do you want to continue? (Yes/no): yes
Stopped container 0a44ec87dd62
Stopped container d9ddcf2db5b9

Does this system have an NVIDIA GPU which you want to use? (true/false): true
Error: Error getting MAC address: no active ethernet interface found
Too stupid!!!Too stupid!!!

WINDOWS EXE BUG

Hello author. There seems to be a bug in the WINDOWS EXE file. During deployment, the network card cannot be found error will appear. This error has occurred to many people in the DC community. I am currently deploying under UBUNTU of WSL2 and hope to solve this problem soon. Thanks.

ARM version

Can you provide the installation method for the ARM version?

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.