I set it to debug at somepoint and forgot maybe? Idk, but why the heck does the default config of the official Docker is to keep all logs, forever, in a single file woth no rotation?
Feels like 101 of log files. Anyway, this explains why my storage recipt grew slowly but unexpectedly.
Everything I hear about Nextcloud scares me away from messing with it.
Just use the official Docker AIO and it is very, very little trouble. It’s by far the easiest way to use Nextcloud and the related services like Collabora and Talk.
The
price rboemproblem is that the log file is inside the container in the www folder.Edit: typo
You can move it.
Right, I should probably map the file directly to the system log folder. I’ll try that.
I’m considering switching to Seafile. I just need documents to sync and Collabora integration, and it seems to do both without dealing with PHP nonsense.
I stopped using Nextcloud a couple of years ago after it corrupted my encrypted storage. I’m giving it a try again because of political emergency. But we sure need a long term replacement. Written in Rust or some other sane language.
Nc is great, it really is amazing that it is foss. Sure it isn’t the slickest or fastest, and it does need more maintenance than most foss services, but it is also more complex and has so many great features.
I really recommend nc, 99% of the time it just works for me. It just seems that their docker was done pretty poorly imo, but still it just works most of the time.
I’ve considered writing my own, but it’s a ton of work. Even for my very basic use case of a file browser that offloads all edits to Collabora CODE. I had a basic system started in Go some years back, but bailed when I got a basic setup working (just file ops).
Maybe I’ll give it a shot again. I mostly use Rust now, and I’m kind of stalling on my P2P Lemmy idea anyway. I really don’t like PHP and I don’t use many of the Nextcloud features anyway. I just want Google Drive w/ LibreOffice or OnlyOffice.
My NC setup “just works” though. So I’m not super motivated to replace it.
Edit: looks like Seafile may do the trick.
Wow, thanks for the heads up! I use Nextcloud AIO and backups take VERY long. I need to check about those logs!
Don’t know if I’m just lucky or what, but it’s been working really well for me and takes good care of itself for the most part. I’m a little shocked seeing so many complaints in this thread because elsewhere on the Internet that’s the go-to method.
It can be fidgety, especially if you stray from the main instructions, generally I do think it’s okay, but also updates break it a bit every now and again.
Yeah, anything that involves a bunch of
complicated relationship interaction betweenPHP scripts I just don’t mess with too much.Right now I’m hosting it through Docker on top of OpenMediaVault which is hosted on Proxmox.
If an update absolutely borks NextCloud and for some reason its BorgBackup function doesn’t work, I can at least hope to count on the ProxMox snapshot of the whole volume!
And besides that, I don’t actually store anything essential in NextCloud’s volume itself. It’s all an external mount that I could browse with any file explorer, so worst case, I’d just lose a lot of convenience. :p
Feels like blaming others for not paying attention.
101 of log files
is to configure it yourself
Look, defaults are a thing and if your defaults suck then you’ve made a mistake and if your default is to save a 100GB of log file in one file then something is wrong. The default in Dockers should just be not to save any log files on the persistent volumes.
Exactly. It should just write to stdout and let whatever is running it manage it.