Closed sixfootseven closed 6 years ago
could you post your config.php here? please check, if the webserver-user has read-access to the logdirectory.
Thanks for a very quick reply...
`<?php
date_default_timezone_set('UTC'); define("YSFREFLECTORLOGPATH", "/var/log/"); define("YSFREFLECTORLOGPREFIX", "YSFReflector"); define("YSFREFLECTORINIPATH", "/etc/"); define("YSFREFLECTORINIFILENAME", "YSFReflector.ini"); define("YSFREFLECTORPATH", "/usr/local/bin"); define("TIMEZONE", "Pacific/Auckland"); define("LOGO", ""); define("REFRESHAFTER", "60"); define("SHOWPROGRESSBARS", "on"); define("TEMPERATUREALERT", "on"); define("TEMPERATUREHIGHLEVEL", "60"); define("SHOWQRZ", "on"); ?> `
I created a file called /var/log/YSFReflector and the webserver user can read/write to it.
so is the logfile filled with logdata by the reflector itself? May you configured the reflector wrong with the logpath? YSFReflector.ini please :-)
`[General] Daemon=1
[Info]
Name=NZ XLX626 Description=NZ Official
[Log]
DisplayLevel=1 FileLevel=1 FilePath=. FileRoot=YSFReflector
[Network] Port=42000 Debug=0`
Absolutely nothing in the logfile :(
That's it: set FilePath=/var/log/ and I think it would be running... keep sure, that mmdvm-user could create logfiles within your logdirectory
Otherwise you get trouble after 0:00 UTC, when logrotation follows and mmdvm-user has no possibility to create the log
Wonderful help thankyou. All working now - I appreciate the effort. :)
thank you for feedback :-) 73
Try as I might, i cant get the dashboard to show any connections.
Installed reflector and its running and registered and I can connect to it. However, the dashboard never shows a connection.
I installed the dashboard software from here, set the mmdvm user up, mmdvm is in the www-data group, and also has read/write permission for the logfile - but the log file never gets written to.
Ive specified /var/log and YSFReflector
Any ideas? Im relatively experienced in Linux, we run an XLX with transcoding, and lots of custom work, but i cant get this lovely dashboard working :(