this post was submitted on 09 Jul 2023
13 points (88.2% liked)

Selfhosted

40006 readers
535 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:

  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!

founded 1 year ago
MODERATORS
 

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!

top 15 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago (2 children)

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?

[–] [email protected] 1 points 1 year ago

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

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

[–] beppi 1 points 1 year ago

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

[–] [email protected] 2 points 1 year ago (2 children)

@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

[–] beppi 2 points 1 year ago (1 children)

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?

[–] [email protected] 0 points 1 year ago

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: [email protected]

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

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.

[–] beppi 1 points 1 year ago (1 children)

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

[–] [email protected] 2 points 1 year ago (1 children)

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.

[–] beppi 1 points 1 year ago

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

[–] [email protected] 1 points 1 year ago

I just upgraded to that version and it's now seemingly borked.

Docker compose down should stop them all as far as I know. Not sure about the timing out though, I think there may be some issues with this version of AIO.

load more comments
view more: next ›