SageTV Community

SageTV Community (
-   SageTV Linux (
-   -   SJQ Agent problem (

gdippel 05-29-2018 05:45 AM

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: line 2: $'\r': command not found
: No such file or directory line 5: syntax error near unexpected token `$'do\r''
' 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?

KarylFStein 05-29-2018 07:20 AM

Looks like you may need to strip the carriage return (\r) from the script. Try this in the directory with the file:


sudo cp
sudo dos2unix

You may also have to install the dos2unix command.

gdippel 05-29-2018 09:54 AM

That worked. Thanks.

All times are GMT -6. The time now is 08:42 AM.

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