Syncthing Einrichtung

Du hast Probleme mit Deinem eMail-Programm, Webbrowser oder Textprogramm? Dein Lieblingsprogramm streikt?
Antworten
AxelMD
Beiträge: 1382
Registriert: 15.03.2009 08:02:11

Syncthing Einrichtung

Beitrag von AxelMD » 18.08.2023 09:19:28

Auswahlthread viewtopic.php?t=187548

Hallo Forum,

welche Empfehlung habt Ihr für die Einrichtung von Syncthing?

https://syncthing.net/

Bild



Syncthing einrichten: unlimitierte private Dropbox - Autostart https://www.libe.net/Syncthing
Für den Ordner müssen wir jetzt noch eine eindeutige ID vergeben (diese kann später nicht mehr verändert werden) und den Pfad zum Ordner:
ACHTUNG
Da die Synchronisation auf beiden Gegenstellen eingerichtet werden muss, ist das Tool nicht so einfach zu bedienen und hat prinzipiell einen anderen Einsatzzweck als Dropbox. Wer aber große Datenmengen auf mehreren Geräten zur Verfügung haben will, ohne diese aus der Hand zu geben, ist bei Syncthing an der richtigen Adresse. Perfekt, zum Beispiel auch um Backups auf ein anderes Gerät im Internet zu übertragen.
Wie gehe ich da sinnvollerweise vor?

Wie übermittel die Syncthing Android Device Kennung an den Syncthing Desktop am einfachsten im Heimnetz?

Meine ersten Syncthing sync's konnte ich durchführen.

Syncthing: Dateien einfach & sicher synchronisieren https://www.codingblatt.de/syncthing-da ... onisieren/

MfG

AxelMD

21.08.2023 https://trendblog.euronics.de/mobile-we ... en-114525/
Zuletzt geändert von AxelMD am 21.08.2023 21:06:01, insgesamt 4-mal geändert.

AxelMD
Beiträge: 1382
Registriert: 15.03.2009 08:02:11

Re: Syncthing Einrichtung

Beitrag von AxelMD » 18.08.2023 18:17:15

Linux

- Syncthing automatisch starten (Docker)

Code: Alles auswählen

sudo docker pull syncthing/syncthing

sudo docker run --network=host \
-v /syncthing:/var/syncthing \
syncthing/syncthing:latest --always
Docker compose

Code: Alles auswählen

---
version: "3"
services:
  syncthing:
    image: syncthing/syncthing
    container_name: syncthing
    hostname: my-syncthing
    environment:
      - PUID=1000
      - PGID=1000
    volumes:
      - /wherever/st-sync:/var/syncthing
    ports:
      - 8384:8384 # Web UI
      - 22000:22000/tcp # TCP file transfers
      - 22000:22000/udp # QUIC file transfers
      - 21027:21027/udp # Receive local discovery broadcasts
    restart: unless-stopped
20.08.2023 genutzt:
Syncthing Version v1.23.7, Linux (64-bit Intel/AMD Container)
Zuletzt geändert von AxelMD am 20.08.2023 07:33:34, insgesamt 5-mal geändert.

AxelMD
Beiträge: 1382
Registriert: 15.03.2009 08:02:11

Re: Syncthing Einrichtung

Beitrag von AxelMD » 18.08.2023 18:17:48

Android (Android 8)

- Syncthing com.nutomic.syncthingandroid_4361.apk von f-droid
- QR & Barcode Scanner von f-droid com.secuso.privacyFriendlyCodeScanner_27.apk
Zuletzt geändert von AxelMD am 19.08.2023 07:09:27, insgesamt 4-mal geändert.

AxelMD
Beiträge: 1382
Registriert: 15.03.2009 08:02:11

Re: Syncthing Einrichtung

Beitrag von AxelMD » 18.08.2023 18:18:35

Windows

- die Netzwerkeinstellungen sind wichtig zu beachten
- Windows kann Syncthing automatisch in der Aufgabenplanung gestartet werden

AxelMD
Beiträge: 1382
Registriert: 15.03.2009 08:02:11

Re: Syncthing Einrichtung

Beitrag von AxelMD » 20.08.2023 07:42:35

Folgenden Hinweis habe ich erhalten:
Wenn Du Dich mit Docker auskennst, ist docker gut. Du solltest halt regelmässige Updates (docker-compose pull / restart) durchführen, damit Du nicht irgendwann in Schwierigkeiten mit Updates kommst. (Ein direktes Upgrade über mehr als ein Major-Release funktioniert nicht.).
Updating a Container with Docker Compose https://tcude.net/updating-container-wi ... r-compose/

Wie erledige ich konkret Updates von Docker Containern?
Was muss ich eingeben?
To start, simply navigate to the directory of your container's docker compose file and run the command
Wie finde ich am schnellsten das "directrory"?


Update Docker Images & Containers To Latest Version https://www.mend.io/free-developer-tool ... er-images/

Code: Alles auswählen

docker image ls
REPOSITORY                        TAG       IMAGE ID       CREATED        SIZE
mariadb                           10.5      e80eddb6a98b   5 days ago     393MB
nextcloud                         latest    9b75806f3dab   8 days ago     1.14GB
lscr.io/linuxserver/syncthing     latest    2e69c1577fda   10 days ago    48.5MB
portainer/portainer-ce            latest    9ecc2a9e02ca   6 weeks ago    277MB
portainer/helper-reset-password   latest    c56588a8080c   3 months ago   43.5MB
https://hub.docker.com/r/linuxserver/syncthing

Code: Alles auswählen

docker pull lscr.io/linuxserver/syncthing:latest
latest: Pulling from linuxserver/syncthing
d6d274be19ed: Pull complete 
b81e0d862760: Pull complete 
22139d95a17f: Pull complete 
89a3a2a2ae16: Pull complete 
0fc763081094: Pull complete 
7bfdead75d58: Pull complete 
b9152ed1ddab: Pull complete 
62d848fee1a9: Pull complete 
Digest: sha256:fa6c2bce52ccb8d4d81605031507fc9b7c558e32c7ec12e128de36ba873fa2a2
Status: Downloaded newer image for lscr.io/linuxserver/syncthing:latest
lscr.io/linuxserver/syncthing:latest

Code: Alles auswählen

docker images
REPOSITORY                        TAG       IMAGE ID       CREATED        SIZE
lscr.io/linuxserver/syncthing     latest    d33daaad7190   28 hours ago   48.5MB
mariadb                           10.5      e80eddb6a98b   5 days ago     393MB
nextcloud                         latest    9b75806f3dab   8 days ago     1.14GB
lscr.io/linuxserver/syncthing     <none>    2e69c1577fda   10 days ago    48.5MB
portainer/portainer-ce            latest    9ecc2a9e02ca   6 weeks ago    277MB
portainer/helper-reset-password   latest    c56588a8080c   3 months ago   43.5MB
Wie wechsel ich Syncthing nun auf "lscr.io/linuxserver/syncthing latest d33daaad7190 28 hours ago 48.5MB"?

Es funtkioniert so:

Code: Alles auswählen

docker run --rm \
-v /var/run/docker.sock:/var/run/docker.sock \
containrrr/watchtower \
--run-once syncthing
Unable to find image 'containrrr/watchtower:latest' locally
latest: Pulling from containrrr/watchtower
7e1f4ce8770d: Pull complete 
cc408d374d64: Pull complete 
4412f0a27731: Pull complete 
Digest: sha256:0ca7a88fd0748aa6f32e50b67eb11148cdb989fc595264c2778c85297a2c1abe
Status: Downloaded newer image for containrrr/watchtower:latest
time="2023-08-20T06:08:27Z" level=info msg="Watchtower 1.5.3"
time="2023-08-20T06:08:27Z" level=info msg="Using no notifications"
time="2023-08-20T06:08:27Z" level=info msg="Only checking containers which name matches \"syncthing\""
time="2023-08-20T06:08:27Z" level=info msg="Running a one time update."
time="2023-08-20T06:08:29Z" level=info msg="Found new lscr.io/linuxserver/syncthing:latest image (d33daaad7190)"
time="2023-08-20T06:08:29Z" level=info msg="Stopping /syncthing (fdcdf509f6fe) with SIGTERM"
time="2023-08-20T06:08:34Z" level=info msg="Creating /syncthing"
time="2023-08-20T06:08:35Z" level=info msg="Session done" Failed=0 Scanned=1 Updated=1 notify=no
time="2023-08-20T06:08:35Z" level=info msg="Waiting for the notification goroutine to finish" notify=no
root@omv6:/home/zxz# docker images
REPOSITORY                        TAG       IMAGE ID       CREATED        SIZE
lscr.io/linuxserver/syncthing     latest    d33daaad7190   29 hours ago   48.5MB
mariadb                           10.5      e80eddb6a98b   5 days ago     393MB
nextcloud                         latest    9b75806f3dab   8 days ago     1.14GB
lscr.io/linuxserver/syncthing     <none>    2e69c1577fda   10 days ago    48.5MB
portainer/portainer-ce            latest    9ecc2a9e02ca   6 weeks ago    277MB
portainer/helper-reset-password   latest    c56588a8080c   3 months ago   43.5MB
containrrr/watchtower             latest    f847e1adb570   6 months ago   14.6MB
root@omv6:/home/zxz# docker image prune
WARNING! This will remove all dangling images.
Are you sure you want to continue? [y/N] y
Deleted Images:
untagged: lscr.io/linuxserver/syncthing@sha256:c1ee17d0f7e1f3aec022312e8bf984c8089d0fff622a3fad8c6079abf0283710
deleted: sha256:2e69c1577fdad2be34562374d3c522627fb243cd9d758403bc2e59bd63b05a6b
deleted: sha256:7637da830605324ab87810e32416c857f6767a9897d7afe594e2be581d7c2976
deleted: sha256:8ca3e4127543960d7efede611d01c81355454402f453d7b7375ef1a3e22d8819
deleted: sha256:b26cedd774572022d32486348267d1b2edef5fe12637693841b733463dab0f7f
deleted: sha256:25550f344d5787de582b8fd9e43013ce4f7333b11d95089752e05eb7a263129d
deleted: sha256:04b6f5d8f082b518dfade5c02a5486c3111c9b28bd4a884bdee55dc07deb427d
deleted: sha256:aa7f770dd5c649e27aae20cc729c779105094f704d9e1156c324b39c36bc5c2f
deleted: sha256:ea570348b35a6daf896bb7b3cf4a675943415ea1d5de868a2ccb01b950815c69
deleted: sha256:980d16eb3528da34a184d6a4fc80c0e7573fa306c7160a4687064457be46cfde

Total reclaimed space: 48.45MB

Code: Alles auswählen

docker image prune
WARNING! This will remove all dangling images.
Are you sure you want to continue? [y/N] y
Deleted Images:
untagged: lscr.io/linuxserver/syncthing@sha256:c1ee17d0f7e1f3aec022312e8bf984c8089d0fff622a3fad8c6079abf0283710
deleted: sha256:2e69c1577fdad2be34562374d3c522627fb243cd9d758403bc2e59bd63b05a6b
deleted: sha256:7637da830605324ab87810e32416c857f6767a9897d7afe594e2be581d7c2976
deleted: sha256:8ca3e4127543960d7efede611d01c81355454402f453d7b7375ef1a3e22d8819
deleted: sha256:b26cedd774572022d32486348267d1b2edef5fe12637693841b733463dab0f7f
deleted: sha256:25550f344d5787de582b8fd9e43013ce4f7333b11d95089752e05eb7a263129d
deleted: sha256:04b6f5d8f082b518dfade5c02a5486c3111c9b28bd4a884bdee55dc07deb427d
deleted: sha256:aa7f770dd5c649e27aae20cc729c779105094f704d9e1156c324b39c36bc5c2f
deleted: sha256:ea570348b35a6daf896bb7b3cf4a675943415ea1d5de868a2ccb01b950815c69
deleted: sha256:980d16eb3528da34a184d6a4fc80c0e7573fa306c7160a4687064457be46cfde

Total reclaimed space: 48.45MB

Code: Alles auswählen

docker images
REPOSITORY                        TAG       IMAGE ID       CREATED        SIZE
lscr.io/linuxserver/syncthing     latest    d33daaad7190   29 hours ago   48.5MB
mariadb                           10.5      e80eddb6a98b   5 days ago     393MB
nextcloud                         latest    9b75806f3dab   8 days ago     1.14GB
portainer/portainer-ce            latest    9ecc2a9e02ca   6 weeks ago    277MB
portainer/helper-reset-password   latest    c56588a8080c   3 months ago   43.5MB
containrrr/watchtower             latest    f847e1adb570   6 months ago   14.6MB
Leider nur nachgemacht und nicht verstanden.

Die Releaseversion ist identisch: Version v1.23.7, Linux (64-bit Intel/AMD Container)

Changelog: v1.23.7-ls110 https://github.com/linuxserver/docker-s ... g/releases

Antworten