Closed sykosoft closed 5 years ago
root@NAS duplicati # ./start.sh . ls: /shares/Volume_1/Nas_Prog/mono/bin/mono: No such file or directory This is mono: duplicati is NOT running .... Starting duplicati. ./start-stop-status: line 47: /shares/Volume_1/Nas_Prog/mono/bin/mono: No such file or directory duplicati is NOT running ...
-rw-r--r-- 1 root root 456 Jun 25 18:26 apkg.rc -rw-r--r-- 1 root root 32 Jun 25 18:26 apkg.sign -rw-r--r-- 1 root root 1195 Jul 4 04:57 apkg.xml -rwxr-xr-x 1 root root 735 Jun 25 18:26 build.sh -rwxr-xr-x 1 root root 155 Jun 25 18:26 clean.sh -rwxr-xr-x 1 root root 447 Jun 25 18:26 init.sh -rwxr-xr-x 1 root root 1828 Jun 25 18:26 install.sh -rw-r--r-- 1 root root 0 Jun 25 18:26 mono.tar drwxr-xr-x 3 root root 4096 Jun 25 18:26 package -rwxr-xr-x 1 root root 96 Jun 25 18:26 preinst.sh -rwxr-xr-x 1 root root 172 Jun 25 18:26 remove.sh -rwxr-xr-x 1 root root 3080 Jun 25 18:26 start-stop-status -rwxr-xr-x 1 root root 56 Jun 25 18:26 start.sh -rwxr-xr-x 1 root root 70 Jun 25 18:26 stop.sh drwxr-xr-x 2 root root 4096 Jun 25 18:26 web
Thanks for the report.
That zero byte mono.tar show that it failed to download mono... it's because I didn't create an armv5 package. https://github.com/WDCommunity/wdpksrc/blob/master/wdpk/duplicati/install.sh#L28
You could try to install with this snippet
wget "https://github.com/WDCommunity/wdpksrc/releases/download/duplicati/mono-armv7l-6.1_5.8.0.108-11.tar" --no-check-certificate
NAS_PROG=/shares/Volume_1/Nas_Prog
MONO_DIR=${NAS_PROG}/mono
mkdir -p "${MONO_DIR}"
tar xf mono-armv7l-6.1_5.8.0.108-11.tar -C "${MONO_DIR}"
tar xf "${MONO_DIR}/package.tgz" -C "${MONO_DIR}"
rm "${MONO_DIR}/package.tgz"
rm mono-armv7l-6.1_5.8.0.108-11.tar
${NAS_PROG}/duplicati/install.sh ${NAS_PROG}/_install/whatever ${NAS_PROG}
Let me know if it works, but I have my doubts as the EX4 has some ancient libs in its firmware. I'm 90% sure it's going to fail... I will remove the EX4 package if so.
`root@NAS duplicati # wget "https://github.com/WDCommunity/wdpksrc/releases/download/duplicati/mono-armv7l-6. 1_5.8.0.108-11.tar" --no-check-certificate --2019-07-04 06:37:45-- https://github.com/WDCommunity/wdpksrc/releases/download/duplicati/mono-armv7l-6.1_5.8.0.108-11.tar Resolving github.com... 192.30.253.112 Connecting to github.com|192.30.253.112|:443... connected. WARNING: cannot verify github.com's certificate, issued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA': Unable to locally verify the issuer's authority. HTTP request sent, awaiting response... 302 Found Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/125358545/51e1b700-19b6-11e9-82ae-4a818048fe40?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190704%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190704T103746Z&X-Amz-Expires=300&X-Amz-Signature=151dbd4df43df8bf1cc2b3daadd5560215d4c5b55fc5e4f80e8cc32c85a922b9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dmono-armv7l-6.1_5.8.0.108-11.tar&response-content-type=application%2Foctet-stream [following] --2019-07-04 06:37:46-- https://github-production-release-asset-2e65be.s3.amazonaws.com/125358545/51e1b700-19b6-11e9-82ae-4a818048fe40?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190704%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190704T103746Z&X-Amz-Expires=300&X-Amz-Signature=151dbd4df43df8bf1cc2b3daadd5560215d4c5b55fc5e4f80e8cc32c85a922b9&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dmono-armv7l-6.1_5.8.0.108-11.tar&response-content-type=application%2Foctet-stream Resolving github-production-release-asset-2e65be.s3.amazonaws.com... 52.216.86.155 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com|52.216.86.155|:443... connected. WARNING: cannot verify github-production-release-asset-2e65be.s3.amazonaws.com's certificate, issued by '/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert Baltimore CA-2 G2': Unable to locally verify the issuer's authority. HTTP request sent, awaiting response... 200 OK Length: 122009600 (116M) [application/octet-stream] Saving to: 'mono-armv7l-6.1_5.8.0.108-11.tar'
100%[========================================================================>] 122,009,600 943KB/s in 1m 53s
2019-07-04 06:39:41 (1.03 MB/s) - 'mono-armv7l-6.1_5.8.0.108-11.tar' saved [122009600/122009600]
root@NAS duplicati # NAS_PROG=/shares/Volume_1/Nas_Prog root@NAS duplicati # MONO_DIR=${NAS_PROG}/mono root@NAS duplicati # mkdir -p "${MONO_DIR}" root@NAS duplicati # tar xf mono-armv7l-6.1_5.8.0.108-11.tar -C "${MONO_DIR}" root@NAS duplicati # tar xf "${MONO_DIR}/package.tgz" -C "${MONO_DIR}" root@NAS duplicati # rm "${MONO_DIR}/package.tgz" root@NAS duplicati # rm mono-armv7l-6.1_5.8.0.108-11.tar root@NAS duplicati # root@NAS duplicati # ${NAS_PROG}/duplicati/install.sh ${NAS_PROG}/_install/whatever ${NAS_PROG} cp: cannot stat `/shares/Volume_1/Nas_Prog/_install/whatever': No such file or directory Warning: Illegal date format for -z, --timecond (and not a file name). Warning: Disabling time condition. See curl_getdate(3) for valid date syntax. % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 220k 100 220k 0 0 94558 0 0:00:02 0:00:02 --:--:-- 129k --2019-07-04 06:44:38-- https://github.com/duplicati/duplicati/releases/download/v2.0.4.10-2.0.4.10_canary_2018-12-29/duplicati-2.0.4.10_canary_2018-12-29.spk Resolving github.com... 140.82.113.4 Connecting to github.com|140.82.113.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/22636263/12f5d980-0b4d-11e9-8cbc-fb7227d5b6f3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190704%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190704T104440Z&X-Amz-Expires=300&X-Amz-Signature=ae38adec630f2156562d4be176eeab49ab53fdaca26c595008e5d42d77f6fd18&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dduplicati-2.0.4.10_canary_2018-12-29.spk&response-content-type=application%2Foctet-stream [following] --2019-07-04 06:44:40-- https://github-production-release-asset-2e65be.s3.amazonaws.com/22636263/12f5d980-0b4d-11e9-8cbc-fb7227d5b6f3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190704%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190704T104440Z&X-Amz-Expires=300&X-Amz-Signature=ae38adec630f2156562d4be176eeab49ab53fdaca26c595008e5d42d77f6fd18&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dduplicati-2.0.4.10_canary_2018-12-29.spk&response-content-type=application%2Foctet-stream Resolving github-production-release-asset-2e65be.s3.amazonaws.com... 52.216.186.51 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com|52.216.186.51|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 27895808 (27M) [application/octet-stream] Saving to: 'duplicati-2.0.4.10_canary_2018-12-29.spk'
100%[========================================================================>] 27,895,808 1.09MB/s in 24s
2019-07-04 06:45:05 (1.12 MB/s) - 'duplicati-2.0.4.10_canary_2018-12-29.spk' saved [27895808/27895808]`
root@NAS duplicati # ./start.sh . This is mono: lrwxrwxrwx 1 root root 9 Jul 4 06:40 /shares/Volume_1/Nas_Prog/mono/bin/mono -> mono-sgen duplicati is NOT running .... Starting duplicati. /shares/Volume_1/Nas_Prog/mono/bin/mono: /lib/libpthread.so.0: version
GLIBC_2.12' not found (required by /shares/Volume_1/Nas_Prog/mono/bin/mono)
duplicati is NOT running ...`
Yeah the EX4 is the only model with GLIBC_2.8 ... so this ain't going to work.
@michaelsmoody if you see issues with any of the other packages on your EX4, I'd gladly hear about it! e.g. I'm interested if Syncthing works.
@stefaang Syncthing works, I use it almost daily on my WD EX4. Some minor bugs, and I'm not sure that the updated version (1.1.4) works properly, but 1.1.0 does. Anything in particular you'd like me to test on it?
It seems that perhaps the installer for duplicati on at least the EX4 doesn't properly install mono. I'm not sure how to debug manually, but even when attempting to start via SSH, it complains about it. From the webui, it just never starts, and thus duplicati's interface is inaccessible. PS confirms the process is not running. Happy to help debug further.