Skip to content
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

Agent installer built for linux 32-bit after version 1.2.7 #803

Closed
3 tasks done
milesnz opened this issue Jul 4, 2023 · 3 comments · Fixed by #847
Closed
3 tasks done

Agent installer built for linux 32-bit after version 1.2.7 #803

milesnz opened this issue Jul 4, 2023 · 3 comments · Fixed by #847
Assignees
Labels
os: linux Specific to Linux operating system topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project

Comments

@milesnz
Copy link

milesnz commented Jul 4, 2023

Describe the problem

When attempting to run the linux binary RUN file nothing happens. It does nothing.
I tried downloading the run files and also the zip and the tz file and none of them run.
Permissions are correct but nothing happens.

To reproduce

  1. Download the run file ArduinoCreateAgent-1.3.2-linux-amd64-installer.run
  2. Double click the file in FileManager
    🐛 Nothing happens
  3. Open folder in terminal
  4. Invoke the following command:
    ./ArduinoCreateAgent-1.3.2-linux-amd64-installer.run
    
    🐛 An error message occurs:
    bash: ./ArduinoCreateAgent-1.3.2-linux-amd64-installer.run: No such file or directory
    

Expected behavior

Either methods should install the Agent but nothing happens or the error appears in the CLI

Arduino Create Agent version

1.3.2 linux

Operating system

Linux

Operating system version

Ubuntu 18.04, Ubuntu 20.04, Ubuntu 22.04

Browser

Chrome and Firefox

Browser version

Chrome 114.0.5735.198 (Official Build) (64-bit), Firefox 114.0.2-1

Additional context

$ ls -al ArduinoCreateAgent-1.3.2-linux-amd64-installer.run 
-rwxrwxr-x 1 miles miles 25827027 Jul  4 19:54 ArduinoCreateAgent-1.3.2-linux-amd64-installer.run

Additional Reports

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest version
  • My report contains all necessary details
@milesnz milesnz added the type: imperfection Perceived defect in any part of project label Jul 4, 2023
@umbynos umbynos added the os: linux Specific to Linux operating system label Jul 4, 2023
@umbynos umbynos self-assigned this Jul 4, 2023
@umbynos
Copy link
Contributor

umbynos commented Jul 4, 2023

You are definitely right, and thanks for reporting it.
It seems that for some reason, the installers for linux are built for 32-bit linux instead of 64-bit. 😨
This happened before 1.3.0 release:

$ file ArduinoCreateAgent-1.3.0-linux-amd64-installer.run 
ArduinoCreateAgent-1.3.0-linux-amd64-installer.run: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, stripped
$ file ArduinoCreateAgent-1.2.7-linux-amd64-installer-chrome.run 
ArduinoCreateAgent-1.2.7-linux-amd64-installer-chrome.run: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.4.0, stripped

Currently, the affected releases are:

I suspect that this has something to do with changes that we did in the installbuilder configuration file.
I know this is not ideal, but while we fix the bug you can install the latest working version which is 1.2.7. The agent should be able to autoupdate to the latest (1.3.2) automatically when you connect to Arduino Web Editor.

@umbynos umbynos pinned this issue Jul 4, 2023
@umbynos umbynos changed the title Linux Ubuntu install file unable to install Agent installer built for linux 32-bit after version 1.2.7 Jul 4, 2023
@milesnz
Copy link
Author

milesnz commented Jul 5, 2023

Thank you for such a fast response. The agent installs now and runs automatically on the 1.3.2 version.
The agent finds my online esp8266 devices but doesn't see my USB attached ESP32-CAM - I'll need to find how out how to attach my usb devices. /dev/tty shows no USB devices either
Thanks for your help

@jfclere
Copy link

jfclere commented Aug 28, 2023

[jfclere@dhcp-144-158 pico]$ file ArduinoCreateAgent-1.3.2-linux-amd64-installer.run
ArduinoCreateAgent-1.3.2-linux-amd64-installer.run: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.2.5, stripped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: linux Specific to Linux operating system topic: infrastructure Related to project infrastructure type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants