Potat0000 / luci-app-syncthing

A LuCI interface to manage syncthing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

luci-app-syncthing

请配合 OpenWrt 官方 syncthing 使用。

请勿使用 Lean 版或 Lienol 版 Syncthing。 如需使用,请用对应仓库内的 luci-app-syncthing。

如需升级 OpenWrt 官方 syncthing 版本,请修改 syncthing 插件的 Makefile

-第三处:第5行 https://github.com/openwrt/packages/blob/master/utils/syncthing/files/etc/config/syncthing#L5 将http:127.0.0.1:8384改为:0.0.0.0:8384

-第四处:第28行 https://github.com/openwrt/packages/blob/master/utils/syncthing/files/etc/init.d/syncthing#L28 将http:127.0.0.1:8384改为:0.0.0.0:8384

此外,为防止升级后数据库破损,建议升级时不保留数据库,具体如下:

  • 删除 Makefile 第48行,替换为:

    /etc/syncthing/cert.pem
    /etc/syncthing/config.xml
    /etc/syncthing/https-cert.pem
    /etc/syncthing/https-key.pem
    /etc/syncthing/key.pem
    

About

A LuCI interface to manage syncthing.


Languages

Language:Lua 59.5%Language:HTML 26.0%Language:Shell 7.5%Language:Makefile 6.9%