Unable to access shell config.php file

Hello I just installed Truenas Scale and I installed NextCloud, but when I launch NextCloud my error message please contact your administrator. If you are an administrator, modify the variable “Trusted_domains” in the config/config.php file as the example in the config/config.php file.

I understood that I have to make the modification in my file but from /bin /sh I cannot open it with nano or vi.

Thank you for your help

Good morning
When you are in the shell you need to install nano with for example “apt-get update” then “apt-get install nano”.
If “apt-get” doesn’t work try “apk update” and “apk add nano”.

1 Like

Thank you