I’ve tried NextCloud before and didn’t really love it and I’m now happy with a combination of syncthing and LibreOffice. But my wife wants the full google drive, with sheets, docs etc. without the google, and I think NextCloud is my best option for that.

I’m and experienced *nix admin and already have a Linux server running with both VMs and docker containers and also have a working OpenVPN setup for remote access. But I found the NextCloud setup frustrating. We had a discussion about it (here I think) and determined that this was because NextCloud would rather sell their hosted service, so they don’t go out of their way to make the self hosted option easy. I get that and don’t hold it against them at all.

But, now that I’m wanting to try it again, I’m looking for pointers to guides for setting up self hosted NextCloud. I’ve searched, but nothing I found seemed like “the one”.

  • hamsda@feddit.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    22 hours ago

    I cannot speak to collaborative editing of documents, but I do run my own docker-based nextcloud server for my own data.

    I use nextcloud for:

    • files
    • photos (via memories app)
    • contacts
    • calendar
    • tasks
    • notes

    I am not using the AIO docker image, I am using the nextcloud:APP_VERSION image, with APP_VERSION being 33 currently, preparing to upgrade to 34. My SSL-certificate is done via nginx-proxy-manager, as it was easy to setup on a different VM and it acts as a gateway to my internal services.

    Syncing files, contacts and calendar works very well with my Graphene OS Pixel 9a (via the F-Droid App DAVx5, as well as my EndeavourOS desktop. The only thing I can really complain about is the documentation for selfhosting, as it seems to be missing some info. Or maybe I just didn’t find it.

    If you’re interested, I can share my setup consisting of

    • docker-compose.yml for local tests
    • docker-compose.production.yml for production and staging deploy
    • Dockerfile for nextcloud + cron container (though I may replace this with ofelia)
    • Starter-Script for local tests
    • GitLab CI pipeline for production and staging deploy

    It may be a bit over-engineered though.