Hey guys,

I posted this and a bunch of info in the Nextcloud help forum https://help.nextcloud.com/t/nextcloud-aio-freezes-have-to-manually-stop-all-containers-to-get-it-responsive/165826/1

But i thought id plug it here too in case anyone has a solution… Tried all kinds of things but cant prevent nextcloud from timing out

Thanks guys!

nitrolife
link
fedilink
English
2
edit-2
1Y

Do I need to allow docker to use more than 6 GB?

Check exactly how much RAM NextCloud daemons are used. How much CPU used?

In general, it looks like an overload that occurs when NextCloud starts processing newly loaded files.

🅱🅴🅿🅿🅸
creator
link
fedilink
English
11Y

Whats the best way to check that?

Running docker stats shows that when uploading around 500MB of vids, database spikes to 30%, nectcloud spikes to around 10%, and nginx proxy manager goes up and down a bit as i send through the files.

RAM wise though nothing seems to be going above 5% of my 16GB RAM. Unless i upload larger files im sure

nitrolife
link
fedilink
English
21Y

Try running top and see the global cpu/mem statistics when loading images. Look at what a high-load process is. Check that docker is not installed via snap.

🅱🅴🅿🅿🅸
creator
link
fedilink
English
11Y

Will get back to you later on running top, but i installed it using apt so hopefully shouldnt be snap. Also, surely it shouldnt be using so much resources right? Its at the point now where i open Nextcloud Mobile, and a single image will never load. This cant be too much load on the server

Krafting
link
fedilink
English
21Y

I’ve never heard of Nextclouf AIO, do you have links?

For the RAM, the 200mb free and 7GB available, it’s because linux uses ram for caching things, but this ram used for cache can be freed right away when needed (this is the 7gb available)

If i’m not mistaken docker will take all the ram it needs.

In my personnal setup I use Portainer to manage things with a UI and Ive setup nextcloud with the Stacks functionnality of Portainer (it’s just multiple docker compose) and in the stack I have Nextcloud server and a Nextcloud mariadb database (and maybe something else ? I might be forgetting some things) have you tried setting up Newtcloud this way ? I suppose the AIO is bundled with the db and the server as one image?

🅱🅴🅿🅿🅸
creator
link
fedilink
English
11Y

Yeah i started off going the plain nextcloud and mariadb, but i saw somewhere on nextclouds github i think??? that said they reccommend using the AIO version, so i just did that. Might be worth just keeping it simple and doing nextcloud + mariadb

@bookworm@feddit.nl
link
fedilink
English
11Y

I’ve never heard of Nextclouf AIO, do you have links?

https://github.com/nextcloud/all-in-one

@beppi

I had the same issue last week (was my first installation)

I managed reinstalling it after a purge, and now it works good. The only difference is now i did not activate server side crypt module. I’m running NcAIO on Debian 11.

@selfhosted

CommunityLinkFixerBot
bot account
link
fedilink
English
01Y

Hi there! Looks like you linked to a Lemmy community using an URL instead of its name, which doesn’t work well for people on different instances. Try fixing it like this: !selfhosted@lemmy.world

🅱🅴🅿🅿🅸
creator
link
fedilink
11Y

I decided not to use server side encryption, as its just running on a comp at home. But maybe a fresh reinstall would work. Did you do anything special when purging?

@beppi

https://github.com/nextcloud/all-in-one#how-to-properly-reset-the-instance

After that, fresh install, no encrypt, everything ok.

🅱🅴🅿🅿🅸
creator
link
fedilink
11Y

Might have to try squeezing out a backup and giving it a go

Create a post

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:

  1. Be civil: we’re here to support and learn from one another. Insults won’t be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it’s not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don’t duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

  • 1 user online
  • 279 users / day
  • 589 users / week
  • 1.34K users / month
  • 4.55K users / 6 months
  • 1 subscriber
  • 3.5K Posts
  • 70K Comments
  • Modlog