Syncthing and apache

I found this

    root@ubuntu:/# syncthing -paths
Configuration file:
        /root/.config/syncthing/config.xml

Database directory:
        /root/.config/syncthing/index-v0.14.0.db

Device private key & certificate files:
        /root/.config/syncthing/key.pem
        /root/.config/syncthing/cert.pem

HTTPS private key & certificate files:
        /root/.config/syncthing/https-key.pem
        /root/.config/syncthing/https-cert.pem

Log file:
        -

GUI override directory:
        /root/.config/syncthing/gui

Default sync folder directory:
        /root/Sync

In /root/.config/syncthing/gui ther’s no gui folder

How to enable a log to /var/log/ path ?

I am not sure why you think this is relevant.

The GUI directory is a override directory, if you want to use a custom UI.

- means it logs to stdout, so the logs are probably captured by your service manager. You can specify -logfile command line option to whatever starts syncthing, but I am not sure you know what that is by the looks of it.

You service file starts syncthing like this, so the gui address is overritten and the config is ignored:

/usr/bin/syncthing -no-browser -gui-address=192.168.1.10:8384 -no-restart -logflags=0

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.