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

Self Hosted - Self-hosting your services.

11399 readers
2 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.

top 7 comments
sorted by: hot top controversial new old

I can't troubleshoot your exact issue, as you seem to not see what is happening in the background and are relying solely on error pages. We need to get to the container logs.

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.

Did you remove the old containers and volumes?

Clean up unused containers, networks, images, and volumes

docker container prune
docker network prune
docker image prune

DANGER ZONE LOSS OF DATA IF YOU DONT HAVE BACKUPS

docker volume prune

That will give you a clean environment to start over with your compose files.

If youre still having issues, inspect the live container logs to find the errors.

docker container logs  --follow

Then post the errors.

[–] Moonrise2473@feddit.it 4 points 1 year ago

Using docker compose or the docker run oneliner?

[–] Father_Redbeard@lemmy.ml 3 points 1 year 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.

[–] robbiejuffermans@lemmy.ml 1 points 1 year ago (1 children)

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

[–] PhilBro@lemmy.world 1 points 1 year ago (1 children)
[–] robbiejuffermans@lemmy.ml 1 points 1 year ago

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

[–] ippokratis@lemmy.ml 1 points 1 year ago* (last edited 1 year 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