linuxserver / docker-pyload Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.
pyload feels extremely low, but checking the container log I can see that broken pipe errors are contstantly logged
No error
Docker keeps logging the following exception
pyload | Traceback (most recent call last):
pyload | File "/usr/lib/python2.7/wsgiref/handlers.py", line 86, in run
pyload | self.finish_response()
pyload | File "/usr/lib/python2.7/wsgiref/handlers.py", line 128, in finish_response
pyload | self.write(data)
pyload | File "/usr/lib/python2.7/wsgiref/handlers.py", line 212, in write
pyload | self.send_headers()
pyload | File "/usr/lib/python2.7/wsgiref/handlers.py", line 270, in send_headers
pyload | self.send_preamble()
pyload | File "/usr/lib/python2.7/wsgiref/handlers.py", line 194, in send_preamble
pyload | 'Date: %s\r\n' % format_date_time(time.time())
pyload | File "/usr/lib/python2.7/socket.py", line 328, in write
pyload | self.flush()
pyload | File "/usr/lib/python2.7/socket.py", line 307, in flush
pyload | self._sock.sendall(view[write_offset:write_offset+buffer_size])
pyload | error: [Errno 32] Broken pipe
docker-compose.yml
:docker-compose up
OS: Manjaro ARM
CPU architecture: arm64
How docker service was installed:
Installed from the Manjaro repository (pacman -Sy docker
)
$ docker version
Client:
Version: 19.03.8-ce
API version: 1.40
Go version: go1.14
Git commit: afacb8b7f0
Built: Tue Mar 17 23:37:06 2020
OS/Arch: linux/arm64
Experimental: false
Server:
Engine:
Version: 19.03.8-ce
API version: 1.40 (minimum version 1.12)
Go version: go1.14
Git commit: afacb8b7f0
Built: Tue Mar 17 23:36:36 2020
OS/Arch: linux/arm64
Experimental: false
containerd:
Version: v1.3.3.m
GitCommit: d76c121f76a5fc8a462dc64594aea72fe18e1178.m
runc:
Version: 1.0.0-rc10
GitCommit: dc9208a3303feef5b3839f4323d9beb36df0a9dd
docker-init:
Version: 0.18.0
GitCommit: fec3683
version: "3.2"
services:
pyload:
image: linuxserver/pyload
container_name: pyload
hostname: pyload
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
volumes:
- config:/config
- ${DOWNLOADS}:/downloads
ports:
- ${HOSTIP}:8000:8000
- ${HOSTIP}:7227:7227 #optional
restart: unless-stopped
volumes:
config:
pyload | Traceback (most recent call last):
pyload | File "/usr/lib/python2.7/wsgiref/handlers.py", line 86, in run
pyload | self.finish_response()
pyload | File "/usr/lib/python2.7/wsgiref/handlers.py", line 128, in finish_response
pyload | self.write(data)
pyload | File "/usr/lib/python2.7/wsgiref/handlers.py", line 212, in write
pyload | self.send_headers()
pyload | File "/usr/lib/python2.7/wsgiref/handlers.py", line 270, in send_headers
pyload | self.send_preamble()
pyload | File "/usr/lib/python2.7/wsgiref/handlers.py", line 197, in send_preamble
pyload | self._write('Server: %s\r\n' % self.server_software)
pyload | File "/usr/lib/python2.7/socket.py", line 328, in write
pyload | self.flush()
pyload | File "/usr/lib/python2.7/socket.py", line 307, in flush
pyload | self._sock.sendall(view[write_offset:write_offset+buffer_size])
pyload | error: [Errno 32] Broken pipe
pyload | Traceback (most recent call last):
pyload | File "/usr/lib/python2.7/SocketServer.py", line 293, in _handle_request_noblock
pyload | self.process_request(request, client_address)
pyload | File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
pyload | self.finish_request(request, client_address)
pyload | File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
pyload | self.RequestHandlerClass(request, client_address, self)
pyload | File "/usr/lib/python2.7/SocketServer.py", line 657, in __init__
pyload | self.finish()
pyload | File "/usr/lib/python2.7/SocketServer.py", line 716, in finish
pyload | self.wfile.close()
pyload | File "/usr/lib/python2.7/socket.py", line 283, in close
pyload | self.flush()
pyload | File "/usr/lib/python2.7/socket.py", line 307, in flush
pyload | self._sock.sendall(view[write_offset:write_offset+buffer_size])
pyload | error: [Errno 32] Broken pipe
The default login doesn't appear to be working, admin/password
pyload "stable" or 0.4.9 is about 9 years old. There's been plenty of improvements to master since then. Could you create a "master" build/tag? That way we can use the latest pyload. (of course latest/default could still be stable/0.4.9)
Using the default parameter indicated in the README file (user: admin
, password:password
) don't work. Reading in the pyload wiki I discovered that upon a first start, the user database isn't initalized and one has first to execute the following:
docker exec -it [container_name, e.g. pyload] python /app/pyload/pyLoadCore.py -s
If you are new to Docker or this application our issue tracker is ONLY used for reporting bugs or requesting features. Please use our discord server for general support.
Dear Sir,
Permission denied when the plugin updatemanager is running
the script update manager will update/delete old hoster & account without issues
the script update manager is blocking on delete account & hoster GettwentyFourOrg.py
the only way is to rm the two files with docker exec -ti pyload bash, but the issues come back when the container will be updated.
**OS: Debian10
CPU architecture: x86_64
Sorry in advance for any faux pas with this post, it's my first bug for LSIO!
Should the Docker image use the more recent Pyload version (Pyload-NG) built atop Python 3 (from branch "master") rather than the legacy version on Python 2 which is now EOL and deprecated per project documentation (from branch "stable").
The image is still built on Python 2 (see below)
NA
OS: Ubuntu 18.04.5
CPU architecture: arm64 (Raspberry Pi Model 4B)
Image digest: d6e4f904fda3a97045d98c520630dfcc66d24407de7d62b08a48d6e1bdcd9a82
How docker service was installed: Distro repo
version: "2.1"
services:
pyload:
image: linuxserver/pyload
container_name: pyload
environment:
- PUID=1001
- PGID=1001
- TZ="America/New York"
volumes:
- ./config:/config
- /home/ubuntu/Downloads:/downloads
ports:
- 4444:8000
labels:
- "diun.enable=true"
- "diun.watch_repo=true"
restart: unless-stopped
NA
Able to use pyload with latest commit.
I realized a development version with latest changes is needed after having this issue, pyload/pyload#3957.
Also there are fixes for filehostings which I believe only get updated into build for every new releases?
NG version lags a few months behind and missing a lot of fixes.
N/A
Downloads:
**An Error occured, please enable debug mode to get more details.
Traceback (most recent call last):
File "/app/pyload/module/lib/bottle.py", line 868, in _handle
return route.call(**args)
File "/app/pyload/module/lib/bottle.py", line 1748, in wrapper
rv = callback(*a, **ka)
File "/app/pyload/module/web/utils.py", line 112, in _view
return func(*args, kwargs)
File "/app/pyload/module/web/pyload_app.py", line 302, in downloads
files = listdir(save_join(root, item))
OSError: [Errno 13] Permission denied: '/downloads/.Trash-0'
OS:
CPU architecture: x86_64/arm32/arm64
How docker service was installed:
Settings for my TORRENT plugin are reset to NONE upon a restart, changing the setting presents a confirmation in logs of the setting changing and the plugin.conf file changes to reflect this, however this does not cause torrent files to be properly handled and a restart of pyload causes the setting to be reset to NONE
First of all: thank you for your much appreciated work!
The automated deletion of packaged archives after extraction apparently does not currently work with this Docker.
funktion: “Delete archive after extraction:” (ExtractArchive --> Send2Trash lib not found)
It is also currently not possible to exclude certain folders contained in archives when extracting, for example "sample-folder". This works well for files, by the way.
funktion: "Don't extract the following files:"
UnRar would have to be replaced by p7zip p7zip-full p7zip-rar.
Would it be possible to include these important functions in one of the next updates?
Project_logo url in readme-vars.yml should result in valid logo.
Project_logo url in readme-vars.yml is incorrect and logo cannot be found.
Open the project_logo url in the browser.
All.
Does not apply.
Application should not crash
The container is crashing every night. I'm not sure what time as there is no time stamp in the log but I find it has crashed every morning
OS:
CPU architecture: arm64
How docker service was installed:
Created with portainer about 4 months ago
Pyload debug log
Error:
OSError(5, 'I/O error')
Traceback:
Traceback (most recent call last):
File "/app/pyload/module/lib/bottle.py", line 960, in wsgi
out = self._cast(self._handle(environ))
File "/app/pyload/module/lib/bottle.py", line 913, in _cast
out = self.error_handler.get(out.status_code, self.default_error_handler)(out)
File "/app/pyload/module/web/pyload_app.py", line 168, in error500
error.traceback.replace("\n", "
") if error.traceback else "No Traceback"])
File "/app/pyload/module/web/pyload_app.py", line 72, in base
return render_to_response('base.html', {'messages': messages}, [pre_processor])
File "/app/pyload/module/web/utils.py", line 26, in render_to_response
args.update(p())
File "/app/pyload/module/web/pyload_app.py", line 45, in pre_processor
user = parse_userdata(s)
File "/app/pyload/module/web/utils.py", line 94, in parse_userdata
return {"name": session.get("name", "Anonymous"),
File "/app/pyload/module/lib/beaker/session.py", line 554, in getattr
return getattr(self._session(), attr)
File "/app/pyload/module/lib/beaker/session.py", line 550, in _session
**params)
File "/app/pyload/module/lib/beaker/session.py", line 119, in init
self.invalidate()
File "/app/pyload/module/lib/beaker/session.py", line 205, in invalidate
self.load()
File "/app/pyload/module/lib/beaker/session.py", line 211, in load
**self.namespace_args)
File "/app/pyload/module/lib/beaker/container.py", line 523, in init
util.verify_directory(self.file_dir)
File "/app/pyload/module/lib/beaker/util.py", line 43, in verify_directory
os.makedirs(dir)
File "/usr/lib/python2.7/os.py", line 150, in makedirs
makedirs(head, mode)
File "/usr/lib/python2.7/os.py", line 157, in makedirs
mkdir(name, mode)
OSError: [Errno 5] I/O error: './tmp'
Container should hover at a certain appropriate memory usage level and not keep increasing its memory usage until device RAM is full.
Container starts leaking memory immediately after startup. After 14 minutes uptime, memory usage was up at 8 GB already. Process list inside container reveals a python process with about 60 MB RAM and a three s6-* processes with negligible memory usage, so the issue is not rooted in the guest software.
Synology NAS, model DS1819+
CPU: Intel Atom C3538
RAM: 32 GB
Docker package v18.09.0-0506 (latest available version), contains Docker daemon v18.09.6
Environment: PUID/PGID/TZ properly set
Port passthroughs: 8000->8000, 7227->7227, 9666->9666 (you might want to add the latter as a default exposed port, it's for Click'n'Load functionality)
Volume mounts: /config and /downloads properly mapped to shares on the NAS
A lot of duplicated log output from pyload (it already writes its log into a file within the mounted config directory)
What appears to work for me is modifying the startup script in /etc/services.d/pyload/run. I have redirected STDOUT and STDERR to the null device (assumed Docker perhaps collects any output from there and stores it in memory instead of writing it to a file). Now my container's RAM usage hovers between 900 MB and 1.75 GB but does not grow further.
Hi . I have install this docker on my Odroid C2 with libreelec 9 and i would like to know if it possible to change port "8000" please? If yes how can i do that?
I have try to change it in web interface but it doesn't work
I have try to change it when i create docker :
docker create
--name=pyload
-e PUID=0
-e PGID=0
-e TZ=Europe/London
-p 7000:7000
-v /storage/downloads/pyload:/config
-v /var/media/Mediateque:/downloads
--restart unless-stopped
linuxserver/pyload
and it doesn't work too.
Can you help me please?
Thanks in advance
I have a feature request which would allow the user could setup the default login (maybe as an ENV variable) instead of it having to be admin/password.
Expected login user and password to be admin and password on a newly launched instance of pyload.
Fails to authenticate
OS: Raspbian
CPU architecture: ARMv7
How docker service was installed:
Nginx-proxy + docker-compose below
docker-compose file below.
pyload | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
pyload | [s6-init] ensuring user provided files have correct perms...exited 0.
pyload | [fix-attrs.d] applying ownership & permissions fixes...
pyload | [fix-attrs.d] done.
pyload | [cont-init.d] executing container initialization scripts...
pyload | [cont-init.d] 01-envfile: executing...
pyload | [cont-init.d] 01-envfile: exited 0.
pyload | [cont-init.d] 10-adduser: executing...
pyload |
pyload | -------------------------------------
pyload | _ ()
pyload | | | ___ _ __
pyload | | | / __| | | / \
pyload | | | \__ \ | | | () |
pyload | |_| |___/ |_| \__/
pyload |
pyload |
pyload | Brought to you by linuxserver.io
pyload | -------------------------------------
pyload |
pyload | To support LSIO projects visit:
pyload | https://www.linuxserver.io/donate/
pyload | -------------------------------------
pyload | GID/UID
pyload | -------------------------------------
pyload |
pyload | User uid: 1000
pyload | User gid: 1000
pyload | -------------------------------------
pyload |
pyload | [cont-init.d] 10-adduser: exited 0.
pyload | [cont-init.d] 30-config: executing...
pyload | [cont-init.d] Setting permissions this may take some time
pyload | [cont-init.d] 30-config: exited 0.
pyload | [cont-init.d] 90-custom-folders: executing...
pyload | [cont-init.d] 90-custom-folders: exited 0.
pyload | [cont-init.d] 99-custom-files: executing...
pyload | [custom-init] no custom files found exiting...
pyload | [cont-init.d] 99-custom-files: exited 0.
pyload | [cont-init.d] done.
pyload | [services.d] starting services
pyload | [services.d] done.
pyload | 25.07.2021 13:12:12 INFO Starting pyLoad 0.4.20
pyload | 25.07.2021 13:12:12 INFO Using home directory: /config
pyload | 25.07.2021 13:12:13 INFO Activated plugins: ClickNLoad, EventMapper, ExternalScripts, TORRENT, UnSkipOnFail, UpdateManager, UserAgentSwitcher
pyload | 25.07.2021 13:12:13 INFO Deactivate plugins: AntiCaptcha, AntiStandby, AntiVirus, AppriseNotify, BypassCaptcha, Captcha9Kw, Checksum, CloudFlareDdos, DeathByCaptcha, DeleteFinished, DiscordNotifier, DownloadScheduler, ExpertDecoders, ExtractArchive, HotFolder, IRC, ImageTyperz, JustPremium, LinkFilter, LinkdecrypterComHook, LogMarker, MergeFiles, MultiHome, PushBullet, PushOver, RestartFailed, SkipRev, TransmissionRPC, WindowsPhoneNotify, XFileSharing, XMPP
pyload | 25.07.2021 13:12:13 INFO Downloadtime: True
pyload | 25.07.2021 13:12:13 INFO Starting ThriftBackend: 0.0.0.0:7227
pyload | 25.07.2021 13:12:14 INFO Starting builtin webserver: :::8000
pyload | 25.07.2021 13:12:14 INFO Free space: 16.72 GiB
pyload | 25.07.2021 13:12:14 INFO Activating Accounts...
pyload | 25.07.2021 13:12:14 INFO Activating Plugins...
pyload | 25.07.2021 13:12:14 WARNING ADDON TORRENT: torrents / magnets are not associated with any plugin
pyload | 25.07.2021 13:12:14 INFO pyLoad is up and running
pyload | 25.07.2021 13:12:15 INFO ADDON UpdateManager: pyLoad is up to date!
pyload | 25.07.2021 13:12:15 INFO ADDON UpdateManager: Removed blacklisted plugin: ACCOUNTS GetTwentyFourOrg
pyload | 25.07.2021 13:12:15 INFO ADDON UpdateManager: Removed blacklisted plugin: HOSTER GetTwentyFourOrg
pyload | 25.07.2021 13:12:15 INFO ADDON UpdateManager: All plugins are up to date!
pyload | 25.07.2021 13:12:20 INFO ADDON ClickNLoad: Proxy listening on 0.0.0.0:9666
Getting the following warnings in the latest linuxserver docker image from docker hub:
784 | 04.04.2020 11:00:58 | WARNING | ADDON UpdateManager: Error removing /app/pyload/module/plugins/hoster/GetTwentyFourOrg.py | [Errno 13] Permission denied: '/app/pyload/module/plugins/hoster/GetTwentyFourOrg.py' |
---|---|---|---|
783 | 04.04.2020 11:00:58 | WARNING | ADDON UpdateManager: Error removing /app/pyload/module/plugins/accounts/GetTwentyFourOrg.py | [Errno 13] Permission denied: '/app/pyload/module/plugins/accounts/GetTwentyFourOrg.py' |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.