ryanblenis / MeshCentral-RoutePlus

Port routing plugin for the MeshCentral project
Apache License 2.0
30 stars 5 forks source link

Cannot locate debug file routeplus.txt #8

Closed dhunt84971 closed 4 years ago

dhunt84971 commented 4 years ago

Hi @ryanblenis ,

I've enabled debug so I can troubleshoot some connectivity issues I seem to be having, but after setting debug_flag = true I have been unable to locate the routeplus.txt file.

[MeshCentral 5.1j on Ubuntu 18.04]

Any help is appreciated.

ryanblenis commented 4 years ago

It is located in the MeshAgent directory.

On a Linux client this is: /usr/local/mesh

dhunt84971 commented 4 years ago

For some reason this seems to be located in the root. This is the agent I am running on the server box so maybe that has something to do with it? Screenshot from 2020-04-09 13-43-49

ryanblenis commented 4 years ago

Interestingly, I see the same thing on my Linux boxes. The file just writes to the current working directory, which (up until recently) was the aforementioned path.

I'll have to check with the MeshCentral guys to see what changed and why, but basically if you log into a "Terminal" session and type pwd that is where it will end up. (Posted on main project here)

ryanblenis commented 4 years ago

From some other input on that ticket, it appears that is a base MC issue. Closing this out so it can be handled over there. Feel free to re-open or open a new one based on the connection issues you're having if it is plugin related.

ryanblenis commented 4 years ago

Noting here that this was fixed in the last commit (but not yet on a new version, along with manual fix here: https://github.com/Ylianst/MeshCentral/issues/1134)