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.
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:
Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.
No spam posting.
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.
Don't duplicate the full text of your blog or github here. Just post the link for folks to click.
Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).
No trolling.
Resources:
Any issues on the community? Report it using the report flag.
Questions? DM the mods!
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.
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
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.
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
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.
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?
https://github.com/nextcloud/all-in-one#how-to-properly-reset-the-instance
After that, fresh install, no encrypt, everything ok.
Might have to try squeezing out a backup and giving it a go
Ehi, just to feed my curiosity, has it worked?
Was meant to get back to you, sorry
Didnt work for me unfortunately.. maybe some setting in the backup was carried over and thats the problem. But i think the actual problem is hardware/setup based rather than config/software. Might invest in a less shit computer soon haha
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]
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?
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
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.