it works now. forgit the http. thanks
Syncthing
-
awiouy -
July 15, 2016 at 3:51 PM -
Thread is Unresolved
-
-
Hi,
Syncthing is not running anymore on LibreELEC 9.2.2. I've installed latest "Syncthing for Kodi addon 9.2.0.109" that seems to use syncthing 1.4.2. but current syncthing binary version is 1.9.0. Can you provide an update for Kodi please?
Code
Display More$ journalctl -u service.system.syncthing Sep 15 20:52:36 kronos systemd[1]: Starting Syncthing - Open Source Continuous File Synchronization... Sep 15 20:52:36 kronos systemd[1]: Started Syncthing - Open Source Continuous File Synchronization. Sep 15 20:52:36 kronos sh[1854]: [start] INFO: syncthing v1.4.2 "Fermium Flea" (go1.12.6 linux-amd64) unknown@unknown 1970-01-01 00:00:00 UTC Sep 15 20:52:36 kronos sh[1854]: [start] WARNING: Failed to initialize config: config file version (31) is newer than supported version (30). If this is expected, use -allow-newer-config to override. Sep 15 20:52:36 kronos systemd[1]: service.system.syncthing.service: Main process exited, code=exited, status=1/FAILURE Sep 15 20:52:36 kronos systemd[1]: service.system.syncthing.service: Failed with result 'exit-code'. Sep 15 20:52:36 kronos systemd[1]: service.system.syncthing.service: Service RestartSec=100ms expired, scheduling restart. Sep 15 20:52:36 kronos systemd[1]: service.system.syncthing.service: Scheduled restart job, restart counter is at 1. Sep 15 20:52:36 kronos systemd[1]: Stopped Syncthing - Open Source Continuous File Synchronization.
This repeats 5 times until it fails...
Code
Display MoreSep 15 20:52:37 kronos systemd[1]: Starting Syncthing - Open Source Continuous File Synchronization... Sep 15 20:52:37 kronos systemd[1]: Started Syncthing - Open Source Continuous File Synchronization. Sep 15 20:52:37 kronos sh[1958]: [start] INFO: syncthing v1.4.2 "Fermium Flea" (go1.12.6 linux-amd64) unknown@unknown 1970-01-01 00:00:00 UTC Sep 15 20:52:37 kronos sh[1958]: [start] WARNING: Failed to initialize config: config file version (31) is newer than supported version (30). If this is expected, use -allow-newer-config to override. Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Main process exited, code=exited, status=1/FAILURE Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Failed with result 'exit-code'. Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Service RestartSec=100ms expired, scheduling restart. Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Scheduled restart job, restart counter is at 5. Sep 15 20:52:37 kronos systemd[1]: Stopped Syncthing - Open Source Continuous File Synchronization. Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Start request repeated too quickly. Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Failed with result 'exit-code'. Sep 15 20:52:37 kronos systemd[1]: Failed to start Syncthing - Open Source Continuous File Synchronization.
Thanks!
-
- Official Post
Hi,
Syncthing is not running anymore on LibreELEC 9.2.2. I've installed latest "Syncthing for Kodi addon 9.2.0.109" that seems to use syncthing 1.4.2. but current syncthing binary version is 1.9.0. Can you provide an update for Kodi please?
Code
Display More$ journalctl -u service.system.syncthing Sep 15 20:52:36 kronos systemd[1]: Starting Syncthing - Open Source Continuous File Synchronization... Sep 15 20:52:36 kronos systemd[1]: Started Syncthing - Open Source Continuous File Synchronization. Sep 15 20:52:36 kronos sh[1854]: [start] INFO: syncthing v1.4.2 "Fermium Flea" (go1.12.6 linux-amd64) unknown@unknown 1970-01-01 00:00:00 UTC Sep 15 20:52:36 kronos sh[1854]: [start] WARNING: Failed to initialize config: config file version (31) is newer than supported version (30). If this is expected, use -allow-newer-config to override. Sep 15 20:52:36 kronos systemd[1]: service.system.syncthing.service: Main process exited, code=exited, status=1/FAILURE Sep 15 20:52:36 kronos systemd[1]: service.system.syncthing.service: Failed with result 'exit-code'. Sep 15 20:52:36 kronos systemd[1]: service.system.syncthing.service: Service RestartSec=100ms expired, scheduling restart. Sep 15 20:52:36 kronos systemd[1]: service.system.syncthing.service: Scheduled restart job, restart counter is at 1. Sep 15 20:52:36 kronos systemd[1]: Stopped Syncthing - Open Source Continuous File Synchronization.
This repeats 5 times until it fails...
Code
Display MoreSep 15 20:52:37 kronos systemd[1]: Starting Syncthing - Open Source Continuous File Synchronization... Sep 15 20:52:37 kronos systemd[1]: Started Syncthing - Open Source Continuous File Synchronization. Sep 15 20:52:37 kronos sh[1958]: [start] INFO: syncthing v1.4.2 "Fermium Flea" (go1.12.6 linux-amd64) unknown@unknown 1970-01-01 00:00:00 UTC Sep 15 20:52:37 kronos sh[1958]: [start] WARNING: Failed to initialize config: config file version (31) is newer than supported version (30). If this is expected, use -allow-newer-config to override. Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Main process exited, code=exited, status=1/FAILURE Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Failed with result 'exit-code'. Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Service RestartSec=100ms expired, scheduling restart. Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Scheduled restart job, restart counter is at 5. Sep 15 20:52:37 kronos systemd[1]: Stopped Syncthing - Open Source Continuous File Synchronization. Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Start request repeated too quickly. Sep 15 20:52:37 kronos systemd[1]: service.system.syncthing.service: Failed with result 'exit-code'. Sep 15 20:52:37 kronos systemd[1]: Failed to start Syncthing - Open Source Continuous File Synchronization.
Thanks!
You could try to do the following in the console.
1. Create a dummy directory:
mkdir -p /storage/downloads/dummy
2. Run a dummy syncthing service:
STNODEFAULTFOLDER="y" syncthing -home=/storage/downloads/dummy -gui-address"0.0.0.0:23456"
3. Browse to http://libreelec.local:23456 and update syncthing to the latest version.
4. Stop the dummy syncthing with ctrl-c.
5. Restart syncthing:
systemctl restart service.syncthing
-
Goo
You could try to do the following in the console.
1. Create a dummy directory:
mkdir -p /storage/downloads/dummy
2. Run a dummy syncthing service:
STNODEFAULTFOLDER="y" syncthing -home=/storage/downloads/dummy -gui-address"0.0.0.0:23456"
3. Browse to http://libreelec.local:23456 and update syncthing to the latest version.
4. Stop the dummy syncthing with ctrl-c.
5. Restart syncthing:
systemctl restart service.syncthing
Good idea! I got syncthing working with a clean configuration and could upgrade.
The only thing is I couldn't find the service unit file to restart syncthing. How is it started?
But after reboot syncthing does start again!
However, is the addon not upgraded anymore?
Thank you very much awiouy!
-
Hello,
awiouy There seems to be an error with the plugin currently, Syncthing stopped running for me.
I tried to run the command found on the unit file ( orclex you can find it on /storage/.kodi/addons/service.system.syncthing/system.d/service.system.syncthing.service) but I get the following error:
Codesyncthing: error: --no-default-folder: bool value must be true, 1, yes, false, 0 or no but got "y" (from envar STNODEFAULTFOLDER="y")
Of course, changing the 'y' for a 1 in
/storage/.kodi/addons/service.system.syncthing/bin/syncthing-service works great, but just wanted to let you know .
-
- Official Post
awiouy --^
-
Of course, changing the 'y' for a 1 in
/storage/.kodi/addons/service.system.syncthing/bin/syncthing-service works great, but just wanted to let you know .
Including your find in the addon bump - syncthing: update to 1.15.1 by heitbaum · Pull Request #5306 · LibreELEC/LibreELEC.tv · GitHub
-
I just can update to version 9.2.0.108 or 9.2.0.109 in the add-on update option.
I can't communicate with syncthing through the web interface.
I have tried deleting all my syncthing settings and "updating" libreelec to the same version I had: 9.2.6.
Nothing works, it says syncthing is running, but I can't see it nor synchronization happens.
What should I do to keep using syncthing with my Raspberry Pi 3?
-
What should I do to keep using syncthing with my Raspberry Pi 3?
Two years ago I started using syncthing, I first tried the CoreELEC addon and had problems (very outdated version of syncthing and strange service startup problems), a few days later I uninstalled this addon and have not used it again. Later I tried the syncthing service from the entware repository (this is not possible in LibreELEC, but is possible in CoreELEC) and it worked great for over a year. For six months I have been using an x86_64 device with LibreELEC 9.2.6 and now the syncthing service is installed from the Docker repository hub.docker.com with the command
Code
Display Moredocker run \ --name=syncthing \ -e PUID=0 \ -e PGID=0 \ -e TZ=Europe/Paris \ -e UMASK_SET=022 \ -p 8384:8384 \ -p 22000:22000 \ -p 21027:21027/udp \ -v /storage/.config/dockers/syncthing/config:/config \ -v /storage:/storage \ -v /media:/media \ --net=host \ --restart unless-stopped \ -d linuxserver/syncthing
This service can be configured from http://<syncthing-ip>: 8384
Note:
I no longer remember if this service starts automatically. In case this is not the case run 'docker start syncthing'.
Obviously any other service running on ports 8384, 22000 and 21027 must be stopped. In addition, the Docker addon must be installed beforehand.
This works with x86_64 and arm processors, including RPi 3.
-
-
heitbaum - Docker linuxserver/syncthing is always the most up to date (now at v1.16.1, not v1.15.1), works great and there is no adjustment to the kodi binaries even for version changes from kodi 18 to kodi 19. I don't use it for synchronization but for permanent and automatic backup of four devices.
-
I hope LE10 ready soon for Rpi3:
"RPi 2/3 are still in development targetting an LE10.2 release."
LibreELEC (Matrix) 10.0 BETA3 – LibreELEC
Thanks elonesna.
-
Just in case someone is having trouble updating from older versions of syncthing from UI..mainly on older installs like LE 9.0.x
Altough the addon available on LE 9 only got an older version of Syncthing 1.4.2 you can update to 1.27.2 from UI altough after update Syncthing won't work..
quick fix,edit :
/storage/.kodi/addons/service.system.syncthing/bin/syncthing-service
line 9 from
STNODEFAULTFOLDER="y" syncthing -home=$ADDON_HOME \
to
STNODEFAULTFOLDER="1" syncthing -home=$ADDON_HOME \
-