SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-29-2018, 05:45 AM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
SJQ Agent problem

I'm finalizing my transfer of Sage to my Ubuntu server that I'm running as a VM on unRAID. I'm stuck trying to register a SJQ agent on the host system. I can register an agent as a plugin but when I try to run the SJQ agent outside of Sage I get the following:

Code:
 sjqagent.sh: line 2: $'\r': command not found
: No such file or directory
sjqagent.sh: line 5: syntax error near unexpected token `$'do\r''
'jqagent.sh: line 5: `for jar in `ls ../lib/*.jar` ; do
The agent installs ok on another Ubuntu box were I'm running Ubuntu Desktop. The reason I want an agent running outside Sage is to use a groovy script to backup the Sage installation which I have used on my windows machine successfully. Any suggestions?
Reply With Quote
  #2  
Old 05-29-2018, 07:20 AM
KarylFStein KarylFStein is offline
Sage Fanatic
 
Join Date: Apr 2006
Location: Westland, Michigan, USA
Posts: 999
Looks like you may need to strip the carriage return (\r) from the script. Try this in the directory with the sjqagent.sh file:

Code:
sudo cp sjqagent.sh sjqagent.sh.save
sudo dos2unix sjqagent.sh
You may also have to install the dos2unix command.
__________________
Home Network: https://karylstein.com/technology.html
Reply With Quote
  #3  
Old 05-29-2018, 09:54 AM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
That worked. Thanks.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Plex Scanner and BMT Agent for SageTV PiX64 SageTV v7 Customizations 1412 11-11-2022 12:35 AM
Browser Agent Issue [BMT 4.100.0] Skirge01 SageTV v9 Customizations 3 10-05-2016 10:59 AM
Need help with SJQv4 remote agent coppit SageTV v7 Customizations 4 12-19-2010 11:03 AM
SagetTVService Virus Win32.Agent.dwo Ponchera SageTV Software 6 02-04-2008 06:33 PM
NVIDIA Boot Agent loads after Sage freezes; doesn't see hard drive popechild Hardware Support 8 08-24-2007 07:27 PM


All times are GMT -6. The time now is 12:29 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.