Error after adding network_mode: "container:gluetun"

Hello:

I am having issues with a new Ubuntu and CasaOS. I have Gluetun setup and connected to my PIA login according to the logs. I was able to get Deluge and Sonarr to use the gluetun container as its network per the guide here. After restarting Ubuntu, all my containers boot properly except for Deluge and Sonarr. Both get an error of:

Error response from daemon: No such container: 0ae01e4af5932446…

Any idea what may be causing this or how to fix?

Thank you for any help you can provide.

I think I got it figured out. I need to use Portainer (I installed the one from the Big Bear CasaOS app store) to edit all settings after install. Seems as though CasaOS will re-write some settings for whatever reason and when a custom network is setup, it causes issues. If you stick all changes in Portainer, it seems to work properly.