Truenas Scale overwriting Config.php file (CLI overwrite and HOST overwrite)

Hi there,

I wanted to post this here for anyone who needing support and is running Next Cloud as a Kubernetes on Truenas Scale through the official True Charts. It seems that anything that is written in the config.php file of Next Cloud gets overwritten especially the (OVERWRITEHOST and OVERWRITECLIURL) Parmenter’s . I have included the original thread from the truenas community. Since it seems that there is no instructions for this type of issue yet. I want to also give a huge thank you to kazaw85 for providing the instructions on the truenas community form

Add an Nextcloud environment in the app setup or edit the existing app.
Name: OVERWRITEHOST and/or OVERWRITECLIURL as the name and value as YOURDOMAIN.COM