aria2 dietpi v159 strech [SOLVED]

How to reset RPC password on aria2 on dietpi v159 strech. “dietpi” password is incorrect.
Remind that that on dietpi jessie worked like charm.

Forum and google doesn’t find answer.

HW is Rpi2

Thx

cat /etc/systemd/system/aria2.service



grep Global_Password /DietPi/dietpi.txt
───────────────────────────────────────
 DietPi     | 14:13 | Sat 16/12/17 
 ───────────────────────────────────────
 V159       | RPi 2 Model B (armv7l)
 ───────────────────────────────────────
 IP Address | 
 ───────────────────────────────────────

 Created by : Daniel Knight
 Web        : http://DietPi.com
 Twitter    : http://twitter.com/dietpi_
 Donate     : http://goo.gl/pzISt9 
 DietPi's web hosting is powered by: MyVirtualServer.com

 dietpi-launcher  = All the DietPi programs in one place.
 dietpi-config    = Feature rich configuration tool for your device.
 dietpi-software  = Select optimized software for installation.
 htop             = Resource monitor.
 cpu              = Shows CPU information and stats.

        ^
       *#*
      *###*           Lightweight Xmas Justice Tips:
     *#####*          - Be good, Amazon do sell coal.
    *#######*         - Cherish every moment, even the awkward family gatherings ;)
   *#########*        - 'Ho Ho Ho, Green Giant' swaps his job! 
  *Merry  Xmas*
 *#############*      All the best from everyone at DietPi =)) 
          

root@DietPi:~# cat /etc/systemd/system/aria2.service
[Unit]
Description=DietPi Aria2

[Service]
Type=simple
ExecStart=/usr/local/bin/aria2c --enable-rpc --rpc-listen-all --rpc-secret=dietpi--dir=/mnt/dietpi_userdata/downloads

[Install]
WantedBy=multi-user.target
root@DietPi:~# grep Global_Password /DietPi/dietpi.txt
AUTO_Global_Password=dietpi
root@DietPi:~#

So far I try:

  1. Clean cookies from browser on my computer (someone says on www)
  2. App for Android (Aria2App) give error
    17: Host is offline, check your connerction bla…bla…bla
  3. From browser when enter ip/aria2 - connection settings - RPC token: dietpi
    repeat messeges

Oh Snap! Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings

  1. In terminal with command aria2c give error

root@DietPi:~# aria2c
aria2c: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

  1. Install openssl in terminal says

root@DietPi:~# apt-get install openssl
Reading package lists… Done
Building dependency tree
Reading state information… Done
openssl is already the newest version (1.1.0f-3+deb9u1).

  1. reinstall openssl give messeges from 4.

on jessie all worked

Other installed app work:
Transmission
Openvpn
Pihole
rpi monitor

Your aria2 is not compatible the the newer Stretch libssl version but needs the older v1.0.0 from Jessie. As this is an individual package you can just manually install: https://packages.debian.org/jessie/libssl1.0.0

So I guess we have to find a Stretch (repo) compatible version of aria2 for DietPi.

Thanx for clear all stuff for this.

Yes YOU should add new aria2 compatible with strech
:smiley:

:smiley: Indeed I will have a look later. Would be nice, if you could test the solution. I just saw the libssl missing error from your terminal.

Yes, after manual install libssl 1.0.0 from link above, all is working like charm. Thanks again for help.

Issue created, should be solved with v160: https://github.com/Fourdee/DietPi/issues/1310