None of the suggestions here worked for me. Since I am unfamiliar with database management, all the links were deeply confusing and as clear as mud. I’m sure @jvillafanez’s suggestions were brilliant, but I couldn’t make heads or tails of them because I kept getting errors thrown when running his commands via ssh. I tried changing to the “volume1/Docker” directory but got no joy no matter what I tried.
After about 20+ hours of research, this is what worked for me:
- Install PortainerCE (in the Asustor App Store) then open it and create an account
- Under “Home” select “Environment,” then select the settings icon at the bottom right next to “Connected.”
- Select “Containers” in the left spine
- Tick “ownCloud” box then select to open it.
- Select “Duplicate/Edit” at the top right of the page
- Under “Advanced Container Settings” select “Env”
- Scroll down to “OWNCLOUD_TRUSTED_DOMAIN”
- Enter your desired domains separated by a “comma” but no spaces and no port numbers
- Scroll up and select “Deploy the container”
- Enter “Yes” when asked if you want to replace the container.
(As long as nothing else is modified, no data will be lost. If you change anything else, YMMV, but I tested these instructions several times to ensure they are accurate.) - For good measure, I restarted my NAS to force the changes to apply.
PROFIT!