Rant! 100GB Log file in Nextcloud.
-
Nice! I've been having permissions conflicts between Samba (installed system-wide) and Jellyfin (docker), so it's probably as good a time as any to try out podman since I need to mess with things anyway.
-
Or you can forward to your system logger, like syslog or systemd.
But then projects like NextCloud do it all wrong by using a file. Just log to stdout and I'll manage the rest.
-
You can configure the default or override per service. This isn't something containers should be doing.
-
There's basically three types of networking config:
- direct with the kernel - don't do this
- some distro-specific abstraction - e.g. /etc/network/interfaces for Debian
- networking manager - wicked, network manager, etc
I do the last one because it's distro-agnostic. I use Network Manager and it works fine.
-
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 notice that you replied to me once again in connection to me mentioning static IP and linux.
Can I summon you this way? ^^ -
Apparently. I was wondering if you were the same person.
I'm just a happy Linux user trying to help when other people run into problems.
-
You are right and as others have pointed out correctly it’s Nextcloud not handling logging correctly in a containerized environment. I was ranting more about my dislike of containers in general, even though I use the technology (correctly) myself. It’s because I am already old on the scale of technology timelines.
-
Totally okay. Hope it helps somone trying to search for solutions on th web
-
Well, here's the official "community maintained" docker repo:
https://github.com/nextcloud/docker
https://hub.docker.com/_/nextcloud
There's a section about docker compose, I have my own scripts but I believe I derived them from there at some point (my memory is a bit fuzzy). I use the fpm-alpine image, if it matters.
-
Wait there's a community one?
-
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.
-
That works! Thank you!