Using SCALE 24.04 and metube app 2024-07-03.
After successfully installing the app and also downloading some videos from a local TV site, I found that all downloads are still stored on the iX internal container data storage instead of the configured downloads location.
Even when stopping the app, I cannot change the iX container storage but only add a new host location which is then ignored.
The container path is automatically set to .metube and I configured a properly setup and reachable host path for downloads, see screenshot below.
To be more precise, this is the app config page, where I cannot configure the said location:
Even if I define another host path /downloads and enable ACLs (I indeed forgot this, along with FULL permissions because it creates a .metube folder for downloads management) it does not work, as the internal iX app path for downloads is also at /downloads and takes precedence.
I can see the downloads in the container shell, but they never appear on the host.
Lastly, I see an error in the log that points to an invalid internal app configuration:
Sorry to resurrect an old thread like this but today I ran into the same situation and now have a solve!
First though I would like to talk about the issue. If you install MeTube and don’t configure the download directory you won’t be able to change it unless you uninstall and reinstall.
The download directory might not match other install patterns of certain other Truenas Scale apps where you might normally click on the “Add” button for “Additional Storage”, but instead you must configure your download location settings directly above that.
If you do not, and you let the default settings stay, you might find that your videos are downloading to here:
You might also find that you cannot override even with environment variables.
Trying to override the DOWNLOAD_DIR environment variable within the app configuration gives an error:
[EFAULT] Failed to update App: WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /etc/rancher/k3s/k3s.yaml Error: UPGRADE FAILED: execution error at (metube/templates/common.yaml:11:4): Container - Environment Variable [DOWNLOAD_DIR] in [envList] tried to override the Environment Variable that is already defined in [env]
So just to reiterate the solve,
Uninstall the MeTube app
Reinstall it
Edit the config
Change your default download location directly below MeTube Downloads Storage
This must be done on initial install because once you set this you wont be able to change it without reinstalling.
I didn’t even notice there was a defined spot for the download folder, I had just added what I wanted as an extra mount. Started the app default, shelled in to see what the downloads path was, reconfig’d the app then restarted it. No errors. Guess doing it the wrong/bruteforce way is better?