So far my experience with Nextcloud has been that it is a pain in the arse to install, and once it’s installed is slow as anything. Literally couldn’t run it on my pi 3b, now got it up and running pretty nicely on a NUC but it’s still not great. Have caching set up.

I have the notes app installed on my android phone and I can never used rich text editing because it gives timeout error.

This shouldn’t be this complicated. All I want is to de-Google my documents and notes, and self-host my kanban. I don’t really need the rest though it’s nice to have the options.

Do people use alternatives? Am I doing something completely wrong? I set it up using nginx which I know is not supported, but the alternative using Docker AIO didn’t allow me to use custom port easily.

  • Giddy@aussie.zone
    link
    fedilink
    English
    arrow-up
    28
    ·
    1 year ago

    I seriously suggest you give Nextcloud another go, this time under Docker. Very simple to do.

    Save the following in a new folder as docker-compose.yml

    version: '3'
    
    volumes:
      db:
    
    services:
    
      nextcloud-app:
        image: nextcloud
        container_name: nextcloud-app
        restart: always
        volumes:
          - ./data:/var/www/html
        environment:
          - MYSQL_PASSWORD=changeme
          - MYSQL_DATABASE=nextcloud
          - MYSQL_USER=nextcloud
          - MYSQL_HOST=nextcloud-db
        ports:
          - "80:80"
        links:
          - nextcloud-db
    
      nextcloud-db:
        image: mariadb
        container_name: nextcloud-db
        restart: always
        command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
        volumes:
          - db:/var/lib/mysql
        environment:
          - MYSQL_ROOT_PASSWORD=changeme
          - MYSQL_PASSWORD=changeme
          - MYSQL_DATABASE=nextcloud
          - MYSQL_USER=nextcloud
    

    run this command in the folder -

    docker-compose up -d

    open http://localhost

    • iHUNTcriminals@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      Is the mariadb a default part of nextcloud? I’ve seen posts saying to use a separate db so things can be backed up easier, so I was wondering if that’s how you have it set up above.

      • scorpionix@feddit.de
        link
        fedilink
        English
        arrow-up
        8
        ·
        1 year ago

        In this setup the DB is not part of Nextcloud. Both are running in separate services aka containers, which can be administrated independently from each other.