linuxserver / docker-pyload

GNU General Public License v3.0
26 stars 10 forks source link

User/password not as expected #28

Closed luandro closed 2 years ago

luandro commented 3 years ago

linuxserver.io


Expected Behavior

Expected login user and password to be admin and password on a newly launched instance of pyload.

Current Behavior

Fails to authenticate

Steps to Reproduce

  1. Run together with nginx-proxy and the docker-compose file below.
  2. Navigate to set DOMAIN, Pyload UI will be there
  3. Try authenticating with admin and password

Environment

OS: Raspbian CPU architecture: ARMv7 How docker service was installed:

Nginx-proxy + docker-compose below

Command used to create docker container (run/create/compose/screenshot)

docker-compose file below.

Docker logs

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
github-actions[bot] commented 3 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

tobbenb commented 3 years ago

If you used the ng tag, the defaul is pyload/pyload. But hard to say since you just deleted the issue template you were supposed to fill out.

luandro commented 3 years ago

Thanks for the quick response @tobbenb. Sorry I though it was a simple password change which wasn't documented. Here's my docker-compose:

version: "3"
services:
  pyload:
    image: ghcr.io/linuxserver/pyload
    container_name: pyload
    environment:
        PUID: ${PUID}
        PGID: ${PGID}
        TZ: ${TIMEZONE}
        VIRTUAL_HOST: ${DOMAIN}
        VIRTUAL_PORT: 8000
    volumes:
      - ${DIR}/pyload/config:/config
      - ${DIR_DOWNLOADS}:/downloads
    ports:
      - 7227:7227 #optional
    restart: unless-stopped
networks:
    default:
        external:
            name: nginx-proxy

Not using the ng tag, and running on a Raspbian (Pi 4). Is there a way to change the password within the container?

tobbenb commented 3 years ago

Container logs would be nice also. There is a reason we have a issue template.

You have not mapped port 8000 and I see that you have added some variables not in our documentation. The two virtual ones.

Edit: Saw that you have the libseccomp issue, and if you would have filled out the template or read your logs, you would have saved both us and you time.

luandro commented 3 years ago

Get your point @tobbenb. Updated initial comment with template.

But mapping port 8000 and libseccomp seem to have nothing to do with the auth problem.

tobbenb commented 3 years ago

Does it work without the proxy? The proxy isn't something we have released, so test if it's working without it.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

foorschtbar commented 2 years ago

Same problem here. With and without reverse proxy. Login failed :(

foorschtbar commented 2 years ago

Fixed. It was a problem with volume permission. IHMO the issue could be closed.