Closed enderneuer closed 2 years ago
Temporarily fixed via removing line 165 in \SquadJS\node_modules\ftp-tail\index.js
this.fetchLoop();
Temporarily fixed via removing line 165 in \SquadJS\node_modules\ftp-tail\index.js
this.fetchLoop();
Are you using FTP to tail your log? Because removing the fetch loop will 100% break that functionality.
Further, your original error
FTPError: 550 File not found
Shows that FTP was enabled, however, the path passed didn't exist.
Assuming "logReaderMode": "ftp",
in the config is using FTP to tail the log, yes, I am.
SquadJS has been working without any issues so far after disabling the fetch loop.
So this means your only seeing events from RCON because that fetch loop is how squadjs checks for updates to the log file, which fires some events.
This means any event that fires off log output will never happen on your install
I believe I found the issue.
I originally had the logDir set as
"logDir": "/Squad-Server/SquadGame/Saved/Logs/SquadGame.log",
set to the actual file, instead of
"logDir": "/Squad-Server/SquadGame/Saved/Logs",
the folder.
I've updated to the latter and added the fetchLoop back, works fine now.
Description of Issue
Errors or Screenshots of Issue
Squad Information
If potentially relevant, please provide regarding the state of the Squad server at the time of error, e.g. the current layer.
System Information
When trying to launch SquadJS, the following error pops: