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

Agents do not install after upgrade to 0.18.0 #1818

Open
2 tasks
phoenixbackups opened this issue Mar 29, 2024 · 10 comments
Open
2 tasks

Agents do not install after upgrade to 0.18.0 #1818

phoenixbackups opened this issue Mar 29, 2024 · 10 comments

Comments

@phoenixbackups
Copy link

Server Info (please complete the following information):

  • OS: Ubuntu 20.04
  • Browser: Chrome
  • RMM Version : 0.18.0

Installation Method:

  • [X ] Standard
  • Standard with --insecure flag at install
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): n/a
  • Agent OS: Kubuntu 23.10

Describe the bug
Unable to install agent - see output

/rmm-phoenixbackups-desktops-workstation.sh: eval: line 208: syntax error near unexpected token `('
./rmm-phoenixbackups-desktops-workstation.sh: eval: line 208: `/usr/local/bin/tacticalagent -m install -api https://api.phoenixbackups.com -client-id 1 -site-id 11 -agent-type workstation -auth [REDACTED] --meshnodeid ...Checking for previous installation of "meshagent" [FOUND: /opt/tacticalmesh/meshagent] -> Uninstalling previous installation... [DONE] -> Checking for secondary agent... [NONE] ...Installing service [ERROR] fs.readFileSync(): File [/opt/tacticalmesh/meshagent.msh] not found'
Created symlink /etc/systemd/system/multi-user.target.wants/tacticalagent.service → /etc/systemd/system/tacticalagent.service.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Main page on TacticalRMM
  2. Click on 'Agents -> Download -> Select company/site -> linux -> workstation'
  3. Scroll down to 'n/a'
  4. See error

Expected behavior
The agent should install.

@3gmgithub
Copy link

I am having this same error with Debian 12

Downloading tactical agent...
Downloading and installing mesh agent...
Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.
/root/meshtemp/meshagent: 3: Syntax error: Unterminated quoted string
Getting mesh node id...
/usr/local/bin/tacticalagent: 1: Syntax error: end of file unexpected (expecting ")")
./install-rmm: line 208: /usr/local/bin/tacticalagent: cannot execute binary file: Exec format error
Created symlink /etc/systemd/system/multi-user.target.wants/tacticalagent.service → /etc/systemd/system/tacticalagent.service

@dinger1986
Copy link
Collaborator

Are you a sponsor?

@3gmgithub
Copy link

Are you a sponsor?

Yes

@3gmgithub
Copy link

3gmgithub commented May 6, 2024 via email

@dinger1986
Copy link
Collaborator

Thanks for confirming.

How are you getting the script onto your machine?

It's also mentioning exec format error which could mean it's trying to install on the wrong architecture.

@3gmgithub
Copy link

Confirmed... I selected ARM instead of AMD/Intel... Thanks!

@dinger1986
Copy link
Collaborator

Confirmed... I selected ARM instead of AMD/Intel... Thanks!

just to check is that it working now for you?

@3gmgithub
Copy link

3gmgithub commented May 6, 2024 via email

@dinger1986
Copy link
Collaborator

great

@wh1te909
Copy link
Member

wh1te909 commented May 7, 2024

re-opening as original issue was never resolved, and it's not the same error

@wh1te909 wh1te909 reopened this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants