I've installed SCALE 21.08-BETA.1 on a test machine and I'm playing with Apps.
I assume this is a noob question, but my search skills didn't yield an answer.
I haven't figured out how to get the application's databases and configuration files to live outside the app. I have installed the TrueCharts catalog and I've watched the how-to videos. I've also looked at Helm Charts tutorials.
Using the TrueCharts Lidarr template as an example, if I simply click through the installer, Lidarr provisions and runs correctly and creates databases in /config.
I'd like to have the app use an existing database I have. I thought it would be simple enough to add HostPath / Additional App Storage and point my config directory to /config, but when I do that, the existing /config that the app created remains.
I also tried adding the additional app storage at initial creation, which fails with an error:
Yes, I understand that error. So what do I need to do? Add my config to a different directory and point the app to use that? If so, how do I do that? Or, is there a way to make my external storage assignment take precedence over the one created by the app with an environment variable startup string or something like that?
Thank you for your wisdom.
I assume this is a noob question, but my search skills didn't yield an answer.
I haven't figured out how to get the application's databases and configuration files to live outside the app. I have installed the TrueCharts catalog and I've watched the how-to videos. I've also looked at Helm Charts tutorials.
Using the TrueCharts Lidarr template as an example, if I simply click through the installer, Lidarr provisions and runs correctly and creates databases in /config.
I'd like to have the app use an existing database I have. I thought it would be simple enough to add HostPath / Additional App Storage and point my config directory to /config, but when I do that, the existing /config that the app created remains.
I also tried adding the additional app storage at initial creation, which fails with an error:
Code:
middlewared.service_exception.CallError: [EFAULT] Failed to install chart release: Error: Deployment.apps "lidarr" is invalid: spec.template.spec.containers[0].volumeMounts[1].mountPath: Invalid value: "/config": must be unique
Yes, I understand that error. So what do I need to do? Add my config to a different directory and point the app to use that? If so, how do I do that? Or, is there a way to make my external storage assignment take precedence over the one created by the app with an environment variable startup string or something like that?
Thank you for your wisdom.