Nextcloud version (eg, 20.0.5):
latest - whatever that was in early August 23
Operating system and version (eg, Ubuntu 20.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 7.4):
Not sure - the version that shipped?
The issue you are facing:
I deeply regret installing the AIO docker NextCloud. I had never used Docker before and will confess to absolutely hating it. I stupidly used it for a production server before becoming familiar with Docker and it has bitten me. All was working for a couple of weeks, with some performance issues I was prepared to put up with and tweak along the way, so I allowed myself to take a 2 week vacation. I should have known better…
On my return I find that the SSL has failed and users could not access anything. I cannot access any resources because my browsers refuse to open anything due to the use of HSTS.
I cannot access any of these:
https://mydomain.tld:8443 sends me to the Github page. By stopping the container nextcloud-aio-apache I get a login prompt but of course I have misplaced that original AIO password.
I get that this is 100% self inflicted, I should never have deployed the Docker version without first learning about docker.
Now I seem to have 2 choices, either try and recover this installation or see if I can pull the user files and start again. My problem is that I cannot figure out where the actual config files are now. All my searches return multiple versions of any config file I search for from different containers. I can’t even run occ commands as I can’t figure out how to access the php instance. Usually when I have a challenge my web searches help, not with this because I am spectacularly failing to be able to actually DO any of the things suggested because I cannot “find” anything.
The output of your Nextcloud log in Admin > Logging:
I can't get this as I can't login.
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
I wish I knew the right path! I thought I used the default of /var/www/html/data/ but there is nothing in there.
The output of your Apache/nginx/system log in
Actually this is /var/log/letsencrypt
It seems to me that I may not have the domain name set up right but I cannot for the life of me figure out where to actually look.
Can anyone give me a heads up on where, with all these Docker containers, I should actually be looking to edit config files? I have a feeling this is not that hard to fix if I just knew where I was looking.
Sorry if this is documented elsewhere, I couldn’t find it. I suspect if I can wrap my head around Docker I can find the files I want to check, but I am failing.