No config.php present after installing nextcloud with ubuntu server install

Nextcloud version (eg, 12.0.2): 17.0.3
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04 Server LTS
Apache or nginx version (eg, Apache 2.4.25): 2.4.25
PHP version (eg, 7.1): 7.3.15

The issue you are facing:
Config.php doesnt exist

Is this the first time you’ve seen this error? (Y/N): yes

Steps to replicate it:

  1. im sorry i dont know it just happened

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):
there is no config :frowning:


Basically I installed ubuntu server with intent to install nextcloud, i saw they had an option to install nextcloud with the ubuntu install. now i am trying to add a trusted domain to config.php but it doesnt exist anywhere in /snap/nextcloud/current/config/ or /snap/nextcloud/19299/config/
Does anyone know where the config went?

Anyone with the same problem try going to /var/snap/nextcloud/current/nextcloud/config
it will have the files.

if that doesnt work try exploring /var/snap with ‘cd’ to go into a folder, ‘cd …’ to go up one folder and ‘ls’ to list files and folders.