I tried setting up the all in one container on a computer I have at home and it was a bit of a mess to get set up. Back in the day I used an ansible script to set up nextcloud and that seemed much better. Any advice or pointers?

  • mel@jlai.lu
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 hours ago

    I really need to make my write-up about my nextcloud install. It feature :

    • nextcloud fpm
    • postgresql
    • nginx
    • redis
    • elastic search for full text search (still needs a bit of work1)
    • notify_push
    • collabora (still needs a bit of work 1)

    All of it running in rootless podman pod with a dedicated user for the stack. It is all with podman units, and a systemd timer for nextcloud’s cronjobs.

    1 means that there is trouble with usermapping. Instead of having my user properly mapped inside the container to run the apps, they use a dedicated one and I dont know hot to correct it and I have been a bit lazy to change it.

  • Saltarello@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 hours ago

    I moved from Nextcloudpi some time back & found THIS TUTORIAL far & away the most useful. Instead of just saying copy/paste a Docker Compose file he shows how to build it step by step using Portainer so i found it invaluable for future projects.

    It seems a bit overwhelming initially but once you’ve installed it a few times you’ll be able to do it from scratch in less than an hour. Probably less as it sounds like you already know what’s what having used Ansible

    • walden@sub.wetshaving.social
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 hours ago

      This has some limitations if I remember correctly. It doesn’t use PostgreSQL, and I don’t think you can use Collabora or whatever, so editing documents in your browser won’t work.

      It’s quite possible that I’m wrong about that.

  • rtxn@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    13 hours ago

    I currently run Nextcloud inside a Debian 11 LXC container on Proxmox, together with Apache, Mariadb, and PHP. I followed this guide. Once Apache and PHP were running, the rest of the process was straightforward.

  • Marty_TF@lemmy.zip
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    14 hours ago

    nowadays, might be worth looking into nix flakes

    tons of super performant nextcloud flakes being uploaded to github, difficulty is understanding nix, but it’s worth it

  • mesamune@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    14 hours ago

    Ive hosted on a variety of platforms (docker in house and cloud) I find yunohost the easiest. Theres a nextcloud package that just…installs at a click of a button. And the scripts are all there open source so you know what your getting.

    Unfortunately its still all in one “container” in that its all on one machine. So it might not be what your looking for. Ive ran my nextcloud for a number of years now and the stability of yunohost has been great for me.