Synology can't start package

Hello,

I’ve just installed Duplicati on my DS718+ but I can’t launch the package. I’ve no error message.

Here’s the step of what I’ve done :

  1. Install the “Mono” package from the beta program and it as launch automatically
  2. Install the last Duplicati version manualy
    → The package was started automatically be I got an error where Duplicati cannot access to the server (something like that).
  3. I’ve stopped it and re launch it. But I’ve never succeed to launch it again…

Here is my mono version :
Rian@RianAS:~$ mono -V

Mono JIT compiler version 4.6.2 (Stable 4.6.2.16/ac9e222 Fri Oct 27 17:00:53 CST 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
        TLS:           __thread
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  amd64
        Disabled:      profiler,logging,debug,soft_debug
        Misc:          
        LLVM:          supported, not enabled.
        GC:            sgen 

Here’s the version of Duplicati :

Rian@RianAS:~$ duplicati-cli --help

See duplicati.commandline.exe help <topic> for more information.
  General: example, changelog
  Commands: backup, find, restore, delete, compact, test, compare, purge,
  vacuum
  Reparing: repair, affected, list-broken-files, purge-broken-files
  Debugging: debug, logging, create-report, test-filters, system-info,
  send-mail
  Targets: aftp, amzcd, azure, b2, box, cloudfiles, dropbox, ftp, file,
  googledrive, gcs, hubic, jottacloud, mega, onedrive, openstack, rclone, s3,
  ssh, od4b, mssp, sia, tahoe, webdav
  Modules: aes, gpg, zip, 7z, console-password-input, mssql-options,
  hyperv-options, http-options, sendhttp, sendmail, runscript, sendxmpp,
  check-mono-ssl
  Formats: date, time, size, encryption, compression
  Advanced: mail, advanced, returncodes, filter, default-filter-sets, <option>

http://www.duplicati.com/              Version:  - 2.0.3.3_beta_2018-04-02

The dir /root/.config :

ash-4.3# pwd
/root/.config/Duplicati
ash-4.3# find . -not -path '*/\.*' | python -c "import sys as s;s.a=[];[setattr(s,'a',list(filter(lambda p: c.startswith(p+'/'),s.a)))or (s.stdout.write('|'*len(s.a)+c[len(s.a[-1])+1 if s.a else 0:])or True) and s.a.append(c[:-1]) for c in s.stdin]"
.
|control_dir_v2
||lock_v2
|Duplicati-server.sqlite
ash-4.3#
ash-4.3# cat /root/.config/Duplicati/control_dir_v2/lock_v2 
14200
ash-4.3# ps aux | grep Mono
root     14200  0.0  0.7 1121164 41856 ?       Sl   11:35   0:02 /volume1/@appstore/Mono/usr/local/bin/mono-sgen /volume1/@appstore/Duplicati/Duplicati.Server.exe

I’ve just kill the remaining process (kill -9 14200) and start the Duplicati package from my NAS and now it’s running again but still the same issue :

So I check the Firefox Inspector, and I saw this :

I saw this message in GitHub issue ("Failed to run the package service" on Synology DS116 with DSM 6.1.3-15152 · Issue #2610 · duplicati/duplicati · GitHub) so I check and I saw that my admin group ID is the last :

ash-4.3# id -G 'Rian' | cat -e
100 101$

So I’ve added from the Synology user menu a group (add one group, http or other, whatever), you should have this kind of output :

ash-4.3# id -G 'Rian' | cat -e
100 101 1023$

And now it’s working !

2 Likes