[Solved]Owncloud doesn't found .ocdata file after have change the drive

so the right configuration should be:

'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'dietpi static IP',
    2 => 'my DDNS domain',
  ),

Is this correct?