After upgrade from 28 to 29 I have "Data directory and your files are probably accessible from the Internet"

Thanks!

Removing localhost from trusted_domains and appending a port on the remaining elements as shown below made the error go away for me also.

# grep -A 5 -i trusted_domains config/config.php
  'trusted_domains' =>
  array (
    0 => 'example.com:443',
  ),
);

Maybe something to do with how my proxy setup handles stuff on port 80?

Looking at the docs, it doesn’t seem like having a stricter setting here should be a problem, so long as you can still access your instance OK.
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#trusted-domains

It’d be nice to see some clearer guidance about this issue in the update issues thread though - it took me way too long to convince myself that everything was OK with my instance and figure out how to address the problem.

1 Like