Resilio does not start after the restart


20D21G0

Recommended Posts

Hello
, I have a service installed in a store pi 1 B. with the OSMC operating system.
I have installed it following these instructions: https://help.resilio.com/hc/en-us/articles/206178924. He used intrusions for a different user (osmc).
Resilio works, but it can not be started after the restart.

Status ON:

systemctl --usuario estado resilio-sync 

resilio-sync.service - Servicio de sincronización de Resilio

   Cargado: cargado (/usr/lib/systemd/user/resilio-sync.service; habilitado; proveedor preestablecido: habilitado)

   Activo: activo (en funcionamiento) desde mi. 2018-07-04 18:33:50 CEST; Hace 40 minutos

     Documentos: https://help.getsync.com/

  Proceso: 781 ExecStart = / usr / bin / rslsync --config /home/osmc/.config/resilio-sync/config.json (código = exit, status = 0 / SUCCESS)

  Proceso: 776 ExecStartPre = / etc / resilio-sync / init_user_config.sh (código = exit, status = 0 / SUCCESS)

 PID principal: 782 (rslsync)

   CGroup: /user.slice/user-1000.slice/user@1000.service/resilio-sync.service

           └─782 / usr / bin / rslsync --config /home/osmc/.config/resilio-sync/config.json

 

Jul 04 18:33:50 rp101 systemd [292]: Iniciando el servicio Sync de Resilio ...

jul 04 18:33:50 rp101 systemd [292]: resilio-sync.service: Error al leer el PID del archivo /home/osmc/.config/resilio-sync/sync.pid: argumento inválido

Jul 04 18:33:50 rp101 systemd [292]: comenzó el servicio Sync de Resilio.

 

Status OFF:

$ systemctl --usuario estado resilio-sync 

resilio-sync.service - Servicio de sincronización de Resilio

   Cargado: cargado (/usr/lib/systemd/user/resilio-sync.service; habilitado; proveedor preestablecido: habilitado)

   Activo: fallido (Resultado: exit-code) desde Wed 2018-07-04 19:17:36 CEST; Hace 43 años

     Documentos: https://help.getsync.com/

  Proceso: 353 ExecStartPre = / etc / resilio-sync / init_user_config.sh (código = exit , estado = 208 / STDIN)

 

jul 04 19:17:35 rp101 systemd [291]: resilio-sync.service: proceso de control salido, código = estado salido = 208

jul 04 19:17:35 rp101 systemd [291]: Error al iniciar el servicio de sincronización de Resilio.

jul 04 19:17:35 rp101 systemd [291]: resilio-sync.service: Unidad ingresada con estado fallido.

jul 04 19:17:35 rp101 systemd [291]: resilio-sync.service: Falló con el resultado 'exit-code'.

jul 04 19:17:36 rp101 systemd [291]: resilio-sync.service: tiempo de retención del servicio, reinicio de la programación.

jul 04 19:17:36 rp101 systemd [291]: se detuvo el servicio de sincronización de Resilio.

jul 04 19:17:36 rp101 systemd [291]: resilio-sync.service: la solicitud de inicio se repite demasiado rápido.

jul 04 19:17:36 rp101 systemd [291]: Error al iniciar el servicio Sync de Resilio.

jul 04 19:17:36 rp101 systemd [291]: resilio-sync.service: Unidad ingresada con estado fallido.

jul 04 19:17:36 rp101 systemd [291]: resilio-sync.service: Falló con el resultado 'exit-code'.

Link to comment
Share on other sites

  • 3 months later...

Hi there,

this problem seems to correspond to mine.

Package: resilio-sync
Status: install ok installed
Priority: extra
Section: net
Installed-Size: 15025
Maintainer: Resilio, Inc. <support@resilio.com>
Architecture: armel
Version: 2.6.1-1

After reboot I get:

systemctl status resilio-sync.service
● resilio-sync.service - Resilio Sync service
   Loaded: loaded (/lib/systemd/system/resilio-sync.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: https://help.resilio.com

systemd[1]: [/lib/systemd/system/resilio-sync.service:23] Not an absolute path, ignoring: ${SYNC_RUN_DIR}/sync.pid

From the systemd unit file I get:

Environment="SYNC_RUN_DIR=/var/run/resilio-sync"

and this directory is NOT in place:

ls: cannot access '/var/run/resilio-sync': No such file or directory

Seems like the contents of /var/run are dynamically created at boot time?!

Edited by matchi
syntax highlighting fix
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.