You are here

Asustor/ADM NAS Installation

9 posts / 0 new
Last post
xgx
Offline
Donator
Joined: 2 years
Last seen: 3 months
Asustor/ADM NAS Installation

Anyone have any luck installing WebGrab++ on an Asustor NAS (running ADM)? I'm not getting very far. I started with the Synology instructions, but I think they are out of date because they say to follow the Linux instructions and skip the Mono part, but there is no Mono part. Pardon my ignorance, I have never used Linux before an am doing my best.

My setup:
Asustor Drivestor 2 (AS1102T)
ADM v: 4.2.3.RK91 (latest)
Mono v: 6.12.0.107.r44
Docker v: 23.0.6.r2

Step 1: Install Mono from Asus App Central.
Step 2: Run "mono -V" and get the following:
Mono JIT compiler version 6.12.0.107 (tarball Fri Jan 15 12:01:03 CST 2021)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: __thread
SIGSEGV: normal
Notifications: epoll
Architecture: arm64
Disabled: none
Misc: softdebug
Interpreter: yes
LLVM: supported, not enabled.
Suspend: preemptive
GC: sgen (concurrent by default)

Step 3: Run "dotnet --version" -> "not found"
Step 4: Run "sudo apt-get update" -> "sudo: apt-get: command not found" (same thing with/without sudo).
Step 5: Connect to my Jellyfin docker with "sudo docker exec -it Jellyfin /bin/bash". I shouldn't have to do this but apt-get seems to work in this docker container (remember I have no clue what I'm doing).
Step 6: Run "apt-get update" (does not work with sudo).
Step 7: Run "apt-get install -y dotnet-sdk-7.0" -> "Unable to locate package dotnet-sdk-7.0"

So from what I can tell dotnet is not installed properly, but I installed WebGrab++ just to make sure there were no other issues. When I run it, I naturally get "DotNet required, but it's not installed.".

Any help is appreciated. Thanks!

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours

You need to find out in your system how to install it. commands might be slightly different

xgx
Offline
Donator
Joined: 2 years
Last seen: 3 months

Not having any luck with that. I'm really not familiar with Linux and just figuring it out as I go along.

Is Mono no longer supported? When I open run.net.sh in vi everything related to mono is commented out. I tried uncommenting the Mono lines and commenting the lines related to dotnet, but then the exe is missing.

mono "$DIR/bin/WebGrab+Plus.exe" "$DIR"
# dotnet "$DIR/bin.net/WebGrab+Plus.dll" "$DIR"

I copied it from my Windows install and it gets a bit further, but then gives the following errors:

Object reference not set to an instance of an object
at  . ..ctor (System.String ) [0x0138d] in <86e27bf513e345f3b815dd4f534eb13f>:0
at  .—.? (System.String[] ) [0x0034b] in <86e27bf513e345f3b815dd4f534eb13f>:0
Unhandled Exception
For detailed info, see log file /volume1/home/wylmer/.wg++/./WebGrab++.log.txt

I attached the log file and the config file I was testing with, which works on my windows install.

xgx
Offline
Donator
Joined: 2 years
Last seen: 3 months

I managed to install dotnet using the instructions here:
https://xhinker.medium.com/install-net-5-in-linux-step-by-step-478868105a33
Except, I installed version 7.0.400 (confirmed by running "dotnet --version")

I deleted the previous install and did a clean install of wg++. Modified the example config file in notepad++, and now it runs, but I get the following error:

Job finished at 06/09/2023 19:16:53 done in 0s
Object reference not set to an instance of an object.
at  . ..ctor(String)
at  .?.?(String[])
Unhandled Exception
For detailed info, see log file /home/wylmer/.wg++/WebGrab++.log.txt
Execution stopped

I attached the config/log files from this test.

From various forums posts it seems it might be a DNS issue. I tried setting the DNS server to 8.8.8.8 and restarting, but I get the same error. Any ideas?

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours

It could be also a corrupted config. Best is use the example in Misc folder, rename it, edit with notepad ++ and transfer it with winscp in binary mode (not predefined) or edit within the system i.e. a linux editor.

xgx
Offline
Donator
Joined: 2 years
Last seen: 3 months

Hi,

Thanks for the suggestion, but I didn't have any luck. I tried:

1. Copying WebGrab++.config.example.xml to WebGrab++.config.xml without making any changes.
2. I then tried downloading (binary) the example file using WinSCP, editing to add my license information (no other changes), saving, then reuploading (binary) with WinSCP.
3. Same as 2, but copied the setting from my working Windows install.

But I always get the same error messages.

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours

Strange transfer binary and editing with notepad++ should not create issues, did you try to run as user or root ?
the error:
at . ..ctor(String)
at .?.?(String[])
usually is caused by dns/network (set dns google 8.8.8.8) problem or corrupted config

xgx
Offline
Donator
Joined: 2 years
Last seen: 3 months

Running it as root seems to work. I got the Hardware Mismatch error this time. I'll need to wait 12h to know if everything else works.

Thanks!

Any idea why it needs to be run as root?

mat8861
Offline
WG++ Team memberDonator
Joined: 9 years
Last seen: 7 hours

Root as full read/write capabilities if i am not wrong can write in hidden dir (.wg++ in our case is hidden) you could try duplicate to desktop/wg++/ or another location without dot and make files in directory with permission 755, it should work.

Log in or register to post comments

Brought to you by Jan van Straaten

Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl