aria2 dietpi v159 strech [SOLVED]

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
ekstend
Posts: 8
Joined: Fri Dec 15, 2017 11:30 am

aria2 dietpi v159 strech [SOLVED]

Post by ekstend »

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
Last edited by ekstend on Sat Dec 16, 2017 8:39 pm, edited 1 time in total.
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: aria2 dietpi v159 strech

Post by k-plan »

Code: Select all

cat /etc/systemd/system/aria2.service

Code: Select all

grep Global_Password /DietPi/dietpi.txt
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
ekstend
Posts: 8
Joined: Fri Dec 15, 2017 11:30 am

Re: aria2 dietpi v159 strech

Post by ekstend »

Code: Select all

───────────────────────────────────────
 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
4. 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
5. 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).
6. reinstall openssl give messeges from 4.

on jessie all worked
ekstend
Posts: 8
Joined: Fri Dec 15, 2017 11:30 am

Re: aria2 dietpi v159 strech

Post by ekstend »

Other installed app work:
Transmission
Openvpn
Pihole
rpi monitor
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: aria2 dietpi v159 strech

Post by MichaIng »

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.
ekstend
Posts: 8
Joined: Fri Dec 15, 2017 11:30 am

Re: aria2 dietpi v159 strech

Post by ekstend »

Thanx for clear all stuff for this.

Yes YOU should add new aria2 compatible with strech
:D
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: aria2 dietpi v159 strech

Post by MichaIng »

ekstend wrote:Thanx for clear all stuff for this.

Yes YOU should add new aria2 compatible with strech
:D
:D 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.
ekstend
Posts: 8
Joined: Fri Dec 15, 2017 11:30 am

Re: aria2 dietpi v159 strech

Post by ekstend »

Yes, after manual install libssl 1.0.0 from link above, all is working like charm. Thanks again for help.
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: aria2 dietpi v159 strech [SOLVED]

Post by MichaIng »

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