Comments (3)
There's not a way to change /downloads
, but you can map it to any directory on the host using volumes so that shouldn't be an issue.
Your specific problem is caused by NFS permissions issues. You can fix this with UID mapping, root squashing or any of the usual NFS permission hacks. Or, set the PUID
and GUID
vars to whatever user has permission to access the NFS share. Also your volume paths look weird, I'd suggest you try using a directory for the volume on the share and not a Docker volume.
from tubesync.
I think the volume directory looks weird because I used angle brackets to take out some personal items and put text that was something like "container name" those disappeared entirely...
On the NFS issue, it's already set to map all users to the owner on the NAS (and, I actually tried it with the admin account for the NAS, to ensure there wasn't any subtle permissions issue going on... and it still failed). I think the issue could be that chown needs an admin or elevated permissions in Docker, but I don't see why the container would need to run "chown" on an existing directory structure--especially with me having set the "Reset Download Folder" option to FALSE? And this was the error thrown by Docker Compose, so it is something that happens when creating the container, so I'm doubly confused why just pulling the image and setting up the container would trigger this unless the ownership changes are part of the initial container setup?
from tubesync.
The only chown executed at all is in the container start-up in a shell script here:
https://github.com/meeb/tubesync/blob/main/config/root/etc/s6-overlay/s6-rc.d/tubesync-init/run
The only volume this is run on (if TUBESYNC_RESET_DOWNLOAD_DIR
is set to False
) is /config
so I can only assume /config
is on your NFS volume as well? /config
won't work on an NFS share as it's primarily used for the SQLite database.
The chown
is primarily because people were doing things like copying in the SQLite database into the /config
dir on the host and it was owned by their local user not the container runtime user and there were lots of reports of weird SQLite access and permissions errors for a while. chown
-ing the config directory to the user the container runs as seemed reasonable rather than having people have to sudo chown 10000 ...
etc. on the host machine.
from tubesync.
Related Issues (20)
- Current docker images are using a vulnerable glibc library `ldd (Debian GLIBC 2.36-9+deb12u3) 2.36` with severe privilege escalation exploits HOT 2
- Error: "Failed to extract_info for xxx HOT 2
- Add Rumble Support HOT 1
- New Videos Not Downloading, No apparent Log Error in Docker HOT 17
- Processing when a downloaded video is changed to private HOT 1
- Best way to adjust or lightweight metadata in 'media_sync' table HOT 1
- gunicorn on native installation HOT 2
- Personal Public Playlists - Error: "'NoneType' object has no attribute 'get'" HOT 1
- tubesync suddenly Stopped Indexing HOT 1
- Please forgive me, I am an idiot: Error: "Failed to extract_info HOT 8
- Unable to download API page: HTTP Error 404: Not Found HOT 1
- TubeSync skipping all downloads HOT 23
- Precondition check failed HOT 20
- channel 404 with /c/ in the url HOT 2
- Thumbnails downloading for videos older than download cap HOT 5
- Fresh tubesync Instance stopped working again HOT 10
- Wrong naming format used HOT 4
- Regex has max length HOT 2
- Idea: Choose target time for index/incrememntal sync HOT 2
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 tubesync.