I'm getting this error after trying to add trusted domains

I tried to change my trusted domains to make nextcloud work outside my network, but I’m getting this error:

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the webserver log.


Parse error: Unclosed ‘(’ on line 2 in /usr/local/www/nextcloud/config/config.php on line 48<br

It’s safer to use occ to avoid syntax errors, which is what it sounds like happened. Hard to say of course without seeing it.

I solved this issue yesterday, anyway thanks, but If you can help me with something else, I’m getting this error when uploading 1gb files or bigger: Error when assembling chunks, status code 500
And I’ve done some research about it and, I found out that is the php file, I tried to find it, but I think it doesn’t exist, I know that I need to modify something in it, but first how can I do that?

You can use locate or find to search for the file.