Comments (8)
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.
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.
after restart container i see this
from youtubedl-material.
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.
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.
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.
you're right, I added "privileged: true" but it didn't help
from youtubedl-material.
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)
- [FEATURE] Is it possible to override the download path for subscription
- [BUG] Container will not be able to run properly non-privileged HOT 1
- [FEATURE] Set default max quality in config
- How to reset Users account ?
- [BUG] Content does not refresh when switching between subs using side menu
- [BUG] Scheduling a task hangs application, won't start fully HOT 1
- [FEATURE] Make mounted folders paths configurable using environment variable
- [BUG]
- [BUG] Searching goes on forever HOT 2
- YoutubeDl material doesnt download a subscription. HOT 2
- [BUG] pm2 not declared as dependency
- [BUG] Skipping player responses from android clients HOT 1
- [BUG] Can't add subscriptions. It just loads forever and never adds the channel.
- [BUG] Video file name too long error
- [BUG] Thumbnails don't load if their path contains a "%" character HOT 1
- I'm looking for the best way to set the codecs for downloads
- [BUG] Cant delete individual notifications
- [BUG] Should install mutagen when program installed (esp. for Docker)
- [FEATURE] Explain execa, delimiters, argument usage better & include some helpful messages when people enter custom args
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from youtubedl-material.