You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello - new GH and Docker user here... Wondering if someone can point me in the right direction.
I'm running an Ubuntu 22.04 VM in Hyper-V with Docker and Portainer, and I have some other simpler apps working like Mealie so I have the basics down.
I also have a TrueNAS and want the default downloads from this app to go there. I have it partially working using a mount command in fstab mapping an SMB share on the TrueNAS to:
Of course I used video/mnt/ytdl/ in the settings for the download path in the app, and it works! Videos save there and the thumbnails work and everything, but it doesn't survive a host VM reboot, the thumbnails won't come back / videos won't play. The mount is successfully remounted for GUID 1000 which matches the container, just doesn't work.
...but that doesn't work at all - it won't download to a sym link I guess.
Any ideas on how to overcome this? How do I specify a path in the app that is outside of it's native root path of /var/lib/docker/overlay2/containername/merged/app/video/
After a reboot, and trying to access a video from the app which fails to play or show thumbnail, the log shows:
2023-10-07T20:04:15.327Z ERROR: File video/mnt/ytdl/video.mp4 could not be found! UID: f06b2d3d-a456-4ee6-899d-6928f365c109, ID: Road Test: video
Error: ENOENT: no such file or directory, stat 'video/mnt/ytdl/video.mp4'
at Object.statSync (node:fs:1538:3)
at Object.statSync (/app/node_modules/graceful-fs/polyfills.js:308:16)
at /app/app.js:1647:21 {
�
errno: -2,
syscall: 'stat',
code: 'ENOENT',
path: 'video/mnt/ytdl/video.mp4'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello - new GH and Docker user here... Wondering if someone can point me in the right direction.
I'm running an Ubuntu 22.04 VM in Hyper-V with Docker and Portainer, and I have some other simpler apps working like Mealie so I have the basics down.
I also have a TrueNAS and want the default downloads from this app to go there. I have it partially working using a mount command in fstab mapping an SMB share on the TrueNAS to:
/var/lib/docker/overlay2/containername/merged/app/video/mnt/ytdl
Of course I used video/mnt/ytdl/ in the settings for the download path in the app, and it works! Videos save there and the thumbnails work and everything, but it doesn't survive a host VM reboot, the thumbnails won't come back / videos won't play. The mount is successfully remounted for GUID 1000 which matches the container, just doesn't work.
So I made /mnt/ytdl and did a symbolic link to:
/var/lib/docker/overlay2/containername/merged/app/video/ytdl
...but that doesn't work at all - it won't download to a sym link I guess.
Any ideas on how to overcome this? How do I specify a path in the app that is outside of it's native root path of /var/lib/docker/overlay2/containername/merged/app/video/
After a reboot, and trying to access a video from the app which fails to play or show thumbnail, the log shows:
2023-10-07T20:04:15.327Z ERROR: File video/mnt/ytdl/video.mp4 could not be found! UID: f06b2d3d-a456-4ee6-899d-6928f365c109, ID: Road Test: video
Error: ENOENT: no such file or directory, stat 'video/mnt/ytdl/video.mp4'
at Object.statSync (node:fs:1538:3)
at Object.statSync (/app/node_modules/graceful-fs/polyfills.js:308:16)
at /app/app.js:1647:21 {
�
errno: -2,
syscall: 'stat',
code: 'ENOENT',
path: 'video/mnt/ytdl/video.mp4'
Any tips would be greatly appreciated! : )
Beta Was this translation helpful? Give feedback.
All reactions