Giter VIP home page Giter VIP logo

Comments (8)

spacecake avatar spacecake commented on June 12, 2024

I have the same issue with the latest docker-compose at start. 😢

[entrypoint] setup permission, this may take a while
[email protected] start
pm2-runtime --raw pm2.config.js
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /.npm
npm ERR! errno -13

npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.

from youtubedl-material.

spreiter avatar spreiter commented on June 12, 2024

I also just installed it on DS918+ with DSM 7.1.1. With latest tag it does not work when using different UID/GID, but nightly was fine.

I only created the necessary folders in advance. Did you try without UID/GID?

Content of my docker-compose.yml:

version: "2"
services:
    ytdl_material:
        environment: 
            UID: 1025
            GID: 100
            ytdl_mongodb_connection_string: 'mongodb://ytdl-mongo-db:27017'
            ytdl_use_local_db: 'false'
            write_ytdl_config: 'true'
        restart: always
        depends_on:
            - ytdl-mongo-db
        volumes:
            - ./appdata:/app/appdata
            - ./audio:/app/audio
            - /volume1/Public/MusicVideos:/app/video
            - ./subscriptions:/app/subscriptions
            - ./users:/app/users
        ports:
            - "8998:17442"
        #image: tzahi12345/youtubedl-material:latest
        image: tzahi12345/youtubedl-material:nightly
    ytdl-mongo-db:
        image: mongo:4
        logging:
            driver: "none"          
        container_name: mongo-db
        restart: always
        volumes:
            - ./db/:/data/db

from youtubedl-material.

Monoboy4ik avatar Monoboy4ik commented on June 12, 2024

after restart container i see this
image

from youtubedl-material.

spreiter avatar spreiter commented on June 12, 2024
Error: listen EACCES: permission denied 0.0.0.0:443

Sounds like the container has a problem with the network setup. What settings are you using, @Monoboy4ik ? Are you running in privileged mode, maybe?

from youtubedl-material.

Monoboy4ik avatar Monoboy4ik commented on June 12, 2024
Error: listen EACCES: permission denied 0.0.0.0:443

Sounds like the container has a problem with the network setup. What settings are you using, @Monoboy4ik ? Are you running in privileged mode, maybe?

I found out that if I change the port in the settings from 17442 to 443 (I use a reverse proxy), then the container does not start

services:
ytdl_material:
environment:
- ytdl_mongodb_connection_string=mongodb://ytdl-mongo-db:27017
- ytdl_use_local_db=false
- write_ytdl_config=true
- PUID=1026
- PGID=100
restart: always
depends_on:
- ytdl-mongo-db
volumes:
- /volume2/docker/ytdl/appdata:/app/appdata
- /volume2/docker/ytdl/audio:/app/audio
- /volume2/docker/ytdl/video:/app/video
- /volume2/docker/ytdl/subscriptions:/app/subscriptions
- /volume2/docker/ytdl/users:/app/users
- /volume2/downloads:/app/downloads
ports:
- 8998:17442
image: tzahi12345/youtubedl-material:nightly
ytdl-mongo-db:
# If you are using a Raspberry Pi, use mongo:4.4.18
image: mongo:4
logging:
driver: "none"
container_name: mongo-db
restart: always
volumes:
- /volume2/docker/ytdl/db/:/data/db

from youtubedl-material.

spreiter avatar spreiter commented on June 12, 2024

I see. But the reverse proxy should allow to map any port to the "outside" world, right?
I guess port 443 is restricted and requires additional access rights inside the container. So only when the user would be root, it can work.

from youtubedl-material.

Monoboy4ik avatar Monoboy4ik commented on June 12, 2024

you're right, I added "privileged: true" but it didn't help

from youtubedl-material.

Monoboy4ik avatar Monoboy4ik commented on June 12, 2024

I thought that these settings only affect the formation of the correct link to the downloaded file, but it looks like another proxy is trying to rise inside the container...

from youtubedl-material.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.