this post was submitted on 14 Aug 2023
14 points (85.0% liked)

Self Hosted - Self-hosting your services.

10903 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

I've NEVER had this many problems with a docker container before, this is getting WAY past the point of being ridiculous.

I'm trying to set up the nextcloud AIO for docker behind NGINX Proxy Manager. Right now, I have everything set up such that I can go to the URL that I set up and get to a nextcloud page.

But the only page I can access is an error page that looks like this:

I have no idea how to fix this. I've already set 'maintenance'=>false in my config.php file. I'm completely at a loss here, I can't do ANYTHING else in nextcloud other than look at this stupid error page. The AIO documentation is completely worthless here, it doesn't give any guidance. And google isn't helping either, every thread either says to add the above to my config (which I obviously already did) or just restart apache (which I've also done). I'm getting seriously annoyed with this and I'm about to give up altogether unless someone here knows how to get past this stupidity.

Edit: Okay I've done something REALLY stupid now. I figured I could just re-install nextcloud to see if I could fix this. So, I removed all of the containers, deleted the data and database folders, re-made the folders, and re-deployed everything. Now NOTHING works and I can't get nextcloud to re-do its initial setup. But it looks like now maybe it is? IDK I'm lost here, I'm annoyed and it's late and I should probably stop.

So apparently nuking everything and letting nextcloud re-install itself fixed this, somehow. I have no idea why.

all 7 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 10 months ago

Using docker compose or the docker run oneliner?

[–] [email protected] 3 points 10 months ago

I gotta say, Nextcloud AIO was an absolute removed to setup in my case too. And the fact you have to purge so much stuff to start over is lame. Granted my hardware is older, so it doesn't run well, but man....what a chore to even get it setup.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

To re-run the initial setup

Delete nextcloud/data folder

Delete nextcloud/config/config.php file

Add nextcloud/config/CAN_INSTALL file

And docker-compose up

[–] [email protected] 0 points 10 months ago (1 children)

Hi! Other option is to use a managed hosting solution for nextcloud. I'm using https://qlick.cloud for that

[–] PhilBro 1 points 10 months ago (1 children)
[–] [email protected] 1 points 10 months ago

€ 15 a month for 8Gb memory, 200Gb ssd server. You can install more apps if you want