linuxserver / docker-pyload

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

Default login doesn't work #3

Closed lorenzschmid closed 5 years ago

lorenzschmid commented 5 years ago

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
j0nnymoe commented 5 years ago

Please post your docker compose/run info. We've not experienced this issue in testing.

lorenzschmid commented 5 years ago

There you go:

version: '3'
services:
  pyload:
    image: linuxserver/pyload
    container_name: pyload
    environment:
      - PGID=100
      - PUID=1028
      - TZ=Europe/Zurich
    volumes:
      - /volume/download/pyload/:/config
      - /volume/tmp/pyload/:/downloads
    restart: unless-stopped
    networks:
      - download_net
thelamer commented 5 years ago

We specifically do this here: https://github.com/linuxserver/docker-pyload/blob/master/root/etc/cont-init.d/30-config#L9-L30

This logic has been tested thoroughly and still functions on a clean container. If you need support please use our discord or forums, this platform is for feature requests and bug reports. https://discourse.linuxserver.io https://discord.gg/YWrKVTn

lorenzschmid commented 5 years ago

Sorry about that, when trying to login in with "admin" and "password" the authentication failed. This is why I assumed that there was a problem with the user database. I should have looked closer.