Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uploadgig plugin not functioning correctly #3289

Closed
artdog123 opened this issue Dec 4, 2018 · 72 comments
Closed

Uploadgig plugin not functioning correctly #3289

artdog123 opened this issue Dec 4, 2018 · 72 comments
Labels
plugin bug Plugin isn't working

Comments

@artdog123
Copy link

The uploadgig account plugin is not functioning correctly for me. When adding an account the interface dispalys "no plugin" and the account is not valid. See attached screenshot.

In addition the account config file is showing:
UploadgigCom:

aXXXXX@gmail.com:XXXX1234
@limitDL 0

I've not seen the @limitDL 0 before.

I'm happy to share my account info with someone who wants to try to fix this. Currently I'm unable to use my account with pyload at all.
screenshot 2018-12-04 at 9 25 34 am

@GammaC0de
Copy link
Member

Hi,
Sorry for the delay,
Please set to a temporary password and then send account user and password to nitzo2001 at yahoo dot com.

@GammaC0de GammaC0de added plugin bug Plugin isn't working account wanted Premium account credentials are needed labels Dec 14, 2018
@artdog123
Copy link
Author

I have sent the credentials to nitzo2001 at yahoo dot com.

@GammaC0de GammaC0de removed the account wanted Premium account credentials are needed label Dec 15, 2018
@GammaC0de
Copy link
Member

For me this is working fine:
capture

Probably this is because of bad installation and maybe also related to #3288.

How exactly did you installed pyload?

@artdog123
Copy link
Author

artdog123 commented Dec 15, 2018 via email

@artdog123
Copy link
Author

artdog123 commented Dec 15, 2018 via email

@GammaC0de
Copy link
Member

Do you have SSH access to the Zyxel 310 Nas?

Maybe this is a permissions issue?

@artdog123
Copy link
Author

Well, I thought that but why would the other account plugins work? I've not been able to get SSH access to work.

@artdog123
Copy link
Author

artdog123 commented Dec 15, 2018

I borrowed a friend's rapidgator credentials and I see it is not working with premium there either. I'm not getting a none on the plugin but it is not able to validate the credentials.

INFO
ACCOUNT RapidgatorNet: Adding user art*******...
14
15.12.2018 18:38:59
INFO
ACCOUNT RapidgatorNet: Login user art*******...
15
15.12.2018 18:38:59
ERROR
ACCOUNT RapidgatorNet: (35, 'Unknown SSL protocol error in connection to rapidgator.net:443 ')
16
15.12.2018 18:38:59
ERROR
ACCOUNT RapidgatorNet: Could not login user art******* | Login handshake has failed
17
15.12.2018 18:39:17
INFO
ACCOUNT RapidgatorNet: Updating account info for user art*******...
18
15.12.2018 18:39:17
INFO
ACCOUNT RapidgatorNet: Relogin user art*******...
19
15.12.2018 18:39:47
ERROR
ACCOUNT RapidgatorNet: (28, 'connect() timed out!')
20
15.12.2018 18:39:47
ERROR
ACCOUNT RapidgatorNet: Could not login user art******* | Login handshake has failed
21
15.12.2018 18:39:47
INFO
ACCOUNT RapidgatorNet: Updating account info for user art*******...
22
15.12.2018 18:39:47
INFO
ACCOUNT RapidgatorNet: Relogin user art*******...
23
15.12.2018 18:40:17
ERROR
ACCOUNT RapidgatorNet: (28, 'connect() timed out!')
24
15.12.2018 18:40:17
ERROR
ACCOUNT RapidgatorNet: Could not login user art******* | Login handshake has failed
25
15.12.2018 21:34:04
INFO
ADDON UpdateManager: pyLoad is up to date!

@GammaC0de
Copy link
Member

Well, we have to be able to SSH to see what is going on..

@GammaC0de
Copy link
Member

See https://youtu.be/qQWH_vtj_5Q
by default username “admin” and password “1234”

@artdog123
Copy link
Author

I can telnet if that helps. The video is for a different NAS. Mine does not have the ssh setting. I have tried various methods posted on the net to enable ssh but none have worked.

@GammaC0de
Copy link
Member

Can you start pyload from the telnet?

@artdog123
Copy link
Author

I don't know. Starting and stopping from the zyxel web interface won't work?

@GammaC0de
Copy link
Member

I wat to see if there are any exceptions occurs,
This information is printed to the console..

Are you able to run commands like `ls -la from the telnet console?

From where have you downloaded 0.4.9zypkg004 package?

@artdog123
Copy link
Author

Here is the output from that command:
BusyBox v1.17.2 (2016-03-11 17:11:16 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ ls -la
drwxrwxrwx 2 root root 0 Dec 19 08:59 .
drwxr-xr-x 3 root root 0 Mar 11 2016 ..
~ $

The original pyload package is installed from the package installer in the device's web interface. I then replaced the update manager from the stable pyload I got from github. I uninstalled pyload and done this process at least 5 times now always with the same result.

@GammaC0de
Copy link
Member

Got to http://<PYLOAD_IP>/info , what are the values of Installation Folder and Config Folder

@artdog123
Copy link
Author

Installation Folder: /i-data/07b224a6/admin/zy-pkgs/pyLoad/pyload
Config Folder: /i-data/07b224a6/admin/zy-pkgs/pyLoad/etc/pyload

Thanks for all your help by the way. I really appreciate it.

@GammaC0de
Copy link
Member

Now uninstall then reinstall pyload package, then issue the commands:

ls -la /i-data/07b224a6/admin/zy-pkgs/pyLoad/pyload
ls -la /i-data/07b224a6/admin/zy-pkgs/pyLoad/etc/pyload

@artdog123
Copy link
Author

ls -la /i-data/07b224a6/admin/zy-pkgs/pyLoad/pyload
drwxrwxrwx 2 root root 0 Dec 19 08:59 .
drwxr-xr-x 3 root root 0 Mar 11 2016 ..
~ $ ls -la /i-data/07b224a6/admin/zy-pkgs/pyLoad/pyload
drwxr-xr-x 7 admin nobody 4096 Dec 21 08:19 .
drwxrwxrwx 5 admin nobody 4096 Dec 21 08:19 ..
-rwxr-xr-x 1 admin nobody 149 Dec 14 2011 .hg_archival.txt
-rwxr-xr-x 1 admin nobody 32422 Dec 14 2011 LICENSE
-rwxr-xr-x 1 admin nobody 2541 Dec 14 2011 README
drwxr-xr-x 2 admin nobody 4096 Dec 21 08:19 icons
drwxr-xr-x 17 admin nobody 4096 Dec 21 08:19 locale
drwxr-xr-x 12 admin nobody 4096 Dec 21 08:19 module
-rwxr-xr-x 1 admin nobody 9105 Dec 14 2011 pavement.py
-rwxr-xr-x 1 admin nobody 19879 Dec 14 2011 pyLoadCli.py
-rwxr-xr-x 1 admin nobody 22464 Dec 14 2011 pyLoadCore.py
-rwxr-xr-x 1 admin nobody 28650 Dec 14 2011 pyLoadGui.py
drwxr-xr-x 8 admin nobody 4096 Dec 21 08:19 scripts
-rwxr-xr-x 1 admin nobody 117 Dec 14 2011 setup.cfg
-rwxr-xr-x 1 admin nobody 3406 Dec 14 2011 systemCheck.py
-rwxr-xr-x 1 admin nobody 1005 Dec 14 2011 testlinks.txt
drwxr-xr-x 2 admin nobody 4096 Dec 21 08:19 tests

@artdog123
Copy link
Author

**~ $ ls -la /i-data/07b224a6/admin/zy-pkgs/pyLoad/etc/pyload**
drwxr-xr-x 2 admin nobody 4096 Dec 21 08:19 .
drwxrwxrwx 3 admin nobody 4096 Dec 21 08:19 ..
-rwxr-xr-x 1 admin nobody 9216 May 8 2013 files.db
-rw-r--r-- 1 admin nobody 1 May 8 2013 files.version
-rw------- 1 admin nobody 440 May 8 2013 plugin.conf
-rw------- 1 admin nobody 2398 May 8 2013 pyload.conf
-rwxr-xr-x 1 admin nobody 0 May 8 2013 reconnect.sh
~ $

@GammaC0de
Copy link
Member

OK, now stop pyload and then overwrite the files with stable.zib and then issue

chown -R admin: nobody /i-data/07b224a6/admin/zy-pkgs/pyLoad/
chmod -R 751  /i-data/07b224a6/admin/zy-pkgs/pyLoad/
chmod 644 /i-data/07b224a6/admin/zy-pkgs/pyLoad/etc/pyload/files.version
chmod 600 /i-data/07b224a6/admin/zy-pkgs/pyLoad/etc/pyload/pyload.conf
chmod 600 /i-data/07b224a6/admin/zy-pkgs/pyLoad/etc/pyload/plugin.conf

Start pyload and see if it works OK

@artdog123
Copy link
Author

Sorry. Which files?

@GammaC0de
Copy link
Member

Sorry. Which files?

replace it with the entire contents of the pyload stable zip downloaded into directory /i-data/07b224a6/admin/zy-pkgs/pyLoad/pyload

@artdog123
Copy link
Author

Unfortunately, I still get plugin: none name:none when I add an uploadgig account. I cannot delete that account either. Rapidgator shows the correct plugin but does not recognize my premium account.

@GammaC0de
Copy link
Member

What is the output of
ps aux | grep python?

@artdog123
Copy link
Author

~ $ ps aux | grep python
ps: invalid option -- 'a'

@GammaC0de
Copy link
Member

ps --help?

@GammaC0de
Copy link
Member

what is the output of

/usr/local/zy-pkgs/bin/python2.6 
import pycurl
pycurl.version
pycurl.__file__

?

@artdog123
Copy link
Author

~ $ /usr/local/zy-pkgs/bin/python2.6
import pycurl
Python 2.6.2 (r262:33865M, Dec 15 2011, 17:59:38)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

pycurl.version
'libcurl/7.18.2 OpenSSL/0.9.8o zlib/1.2.5'
pycurl.file
'/usr/local/zy-pkgs/lib/python2.6/site-packages/pycurl.so'

@GammaC0de
Copy link
Member

what is the output of uname -a?

Is there and optware-ng package for Zyxel 310?

@artdog123
Copy link
Author

~ $ uname -a
Linux artdognas 2.6.31.8 #2 Fri Mar 11 17:35:20 CST 2016 armv5tel GNU/Linux

@artdog123
Copy link
Author

Nothing in the packages list. I don't understand why pyload was working on this nas with uploadgig for at least two years and suddenly stopped. The firmware hasn't been updated in that time.

@GammaC0de
Copy link
Member

The problem is that you have:
pythonv2.6 - old
OpenSSL v0.9.8 - old

They cannot deal with nowdays SSL encryptions so cannot communicate with uploadgig

@GammaC0de
Copy link
Member

Is there and entware-ng or entware package?

http://zyxel.nas-central.org/wiki/Entware-ng

@artdog123
Copy link
Author

Ah, I see. Looks like I have to download and try to install via a usb stick. I can give that a try today. Obviously, I'm not much good with terminal interfaces so hopefully I won't make a mess of it.

@GammaC0de
Copy link
Member

try to install via a usb stick

Sorry, install what?

@artdog123
Copy link
Author

@artdog123
Copy link
Author

It is not in the zyxel package manager

@GammaC0de
Copy link
Member

👍
OK, keep me updated

@GammaC0de
Copy link
Member

Hello,
Any progress?

@artdog123
Copy link
Author

artdog123 commented Dec 29, 2018 via email

@artdog123
Copy link
Author

Start the nas with the usb in place. 🙄

@GammaC0de
Copy link
Member

I don't know how to tell if it was installed or not.

Try running opkg or 'ipkg from the telnet prompt to see if it is a valid command.

@artdog123
Copy link
Author

Unfortunately not.
Built-in commands:

    . : [ [[ alias bg break cd chdir continue eval exec exit export
    false fg hash help jobs kill let local printf pwd read readonly
    return set shift source test times trap true type ulimit umask
    unalias unset wait

@GammaC0de
Copy link
Member

maybe you should run /opt/bin/opkg or /opt/bin/ipkg

@artdog123
Copy link
Author

~ $ /opt/bin/opkg
-sh: /opt/bin/opkg: not found
~ $ /opt/bin/ipkg
-sh: /opt/bin/ipkg: not found
~ $

@GammaC0de
Copy link
Member

What is the output of ls -la /opt?

@artdog123
Copy link
Author

~ $ ls -la /opt
ls: /opt: No such file or directory

@artdog123
Copy link
Author

~ $ ls /
bin e-data home init linuxrc proc root sys usr zyxel
dev etc i-data lib mnt ram_bin sbin tmp var
~ $

@GammaC0de
Copy link
Member

and

mkdir /opt
ls -la /opt

@artdog123
Copy link
Author

~ $ mkdir /opt
mkdir: can't create directory '/opt': Permission denied
~ $ ls -la /opt

@artdog123
Copy link
Author

I'm starting to think I should just save up for a current Qnap NAS. : /

@GammaC0de
Copy link
Member

I'm starting to think I should just save up for a current Qnap NAS. : /

Probably.

Is this your hardware https://www.zyxel.com/support/SupportLandingSR.shtml?c=gb&l=en&kbid=M-01816&md=NSA310S

@artdog123
Copy link
Author

No just the plain 310. They no longer support the 310.

@artdog123
Copy link
Author

Thanks for trying.

@GammaC0de
Copy link
Member

No just the plain 310. They no longer support the 310.

OK, so I'm afraid that I cannot help you further with this:
There is no decent documentation and information how to build zypkg packages 😞

So I'm forced to close this issue.

Good luck buying a new decent hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin bug Plugin isn't working
Development

No branches or pull requests

2 participants