Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Any providers with NextCloud template? Or are there any lightweight file sharing alternatives?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Any providers with NextCloud template? Or are there any lightweight file sharing alternatives?

Are there any providers which offer NextCloud template so that I can quickly spin up a node with NextCloud installed, configured & security hardened. I just need to set-up some configurations such as my domain etcetera.

I have tried installing NextCloud on my VPS with DA and apparently it's hogging too much resources and I am receiving notifications on the high server load. I need a provider with NextCloud template as the process of setting up a NextCloud instance on a bare VPS is too time consuming and I will need a few of them on and off.

If there are no providers offering NextCloud template, are there any other lightweight file sharing script for personal usage to recommend?

Comments

  • Seafile, you need a VPS.

    Their docker-compose deployment very simple, you can deploy it under 10 minutes.

    Thanked by 2yoursunny Server
  • Mr_TomMr_Tom Member, Host Rep

    Not sure why Nextcloud would be causing high CPU usage - I just check on mine (1 core, 1gb RAM) and load average is 0.2.

    NextCloud template is a good idea though - although would still require some settings such as setting domain name etc.

  • yoursunnyyoursunny Member, IPv6 Advocate
    edited October 2021

    @chocolateshirt said:
    Seafile, you need a VPS.

    Their docker-compose deployment very simple, you can deploy it under 10 minutes.

    I switched from Nextcloud to Seafile a month ago.

    Nextcloud:

    • single Docker container
    • use more CPU and less RAM
    • can use WebDAV client

    Seafile:

    • two Docker containers
    • use less CPU and more RAM
    • must use rclone client

    Docker run for Nextcloud:

    docker run -d --name nextcloud --init \
      -p 127.1.78.99:80:80 \
      -v /home/nextcloud:/var/www/html \
      --restart unless-stopped --cpus 0.4 --memory 512M \
      nextcloud
    

    Must change config:

    sudoedit -u www-data /home/nextcloud/config/config.php
    
    • overwriteprotocol: https
    • trusted_domains: array nextcloud.example.org
    • overwrite.cli.url: http://nextcloud.example.org
    • trashbin_retention_obligation: auto, 7

    (Cloudflare settings of this forum prevents me from posting the changes as a PHP script)

    Crontab:

    crontab -e
      2-59/5 * * * * curl -sf -H 'Host: nextcloud.example.org' http://127.1.78.99/cron.php
    

    TLS termination is running on host machine using Caddy:

    https://nextcloud.example.org {
      reverse_proxy 127.1.78.99:80
    }
    

    I did not have backup of the Nextcloud server.


    Compose file for Seafile:

    services:
      db:
        image: bitnami/mariadb:10.5
        container_name: seafile-db
        environment:
          MARIADB_ROOT_PASSWORD: Harm-Defeat-8
          MARIADB_USER: seafile
          MARIADB_PASSWORD: Harm-Defeat-8
        volumes:
          - type: bind
            source: ./mariadb.cnf.txt
            target: /opt/bitnami/mariadb/conf/custom.cnf
            read_only: true
          - type: bind
            source: /home/seafile/db
            target: /bitnami/mariadb
          - type: bind
            source: /home/seafile/mysqldump
            target: /mysqldump
        networks:
          seafile:
            ipv4_address: 10.83.102.11
        restart: unless-stopped
        deploy:
          resources:
            limits:
              cpus: 0.05
              memory: 128M
    
      seafile:
        depends_on: [db]
        image: gronis/seafile
        container_name: seafile
        volumes:
          - type: bind
            source: /home/seafile/seafile
            target: /seafile
        environment:
          SEAFILE_NAME: seafile.example.org
          SEAFILE_ADDRESS: seafile.example.org
          SEAFILE_ADMIN: [email protected]
          SEAFILE_ADMIN_PW: Rent-Spill-0
          SERVICE_URL: https://seafile.example.org
          FILE_SERVER_ROOT: https://seafile.example.org/seafhttp
          MYSQL_SERVER: db
          MYSQL_USER: seafile
          MYSQL_USER_PASSWORD: Harm-Defeat-8
          MYSQL_ROOT_PASSWORD: Harm-Defeat-8
        networks:
          seafile:
            ipv4_address: 10.83.102.10
        restart: unless-stopped
        deploy:
          resources:
            limits:
              cpus: 0.3
              memory: 512M
    
    networks:
      seafile:
        name: seafile
        ipam:
          config:
            - subnet: 10.83.102.0/24
    

    The mariadb.cnf.txt contains the following to reduce RAM usage:

    performance_schema = off
    

    Total RAM usage is about 400MB.

    Daily backup script:

    #!/bin/bash
    set -eo pipefail
    
    docker exec seafile-db sh -c 'mysqldump -uroot -p${MARIADB_ROOT_PASSWORD} -B ccnet_db seafile_db seahub_db > /mysqldump/$(date -u +%d).sql'
    
    docker run --rm \
      --mount type=bind,source=/home/seafile/rclone,target=/config/rclone \
      --mount type=bind,source=/home/seafile/mysqldump,target=/data/mysqldump,readonly=true \
      rclone/rclone sync \
      --buffer-size 1M --max-backlog 64 --modify-window 2s --create-empty-src-dirs -P \
      /data/mysqldump backupserver:mysqldump
    
    docker run --rm \
      --mount type=bind,source=/home/seafile/rclone,target=/config/rclone \
      --mount type=bind,source=/home/seafile/seafile,target=/data/seafile,readonly=true \
      rclone/rclone sync \
      --buffer-size 1M --max-backlog 64 --modify-window 2s --create-empty-src-dirs -P \
      /data/seafile backupserver:seafile
    

    TLS termination is running on host machine using Caddy:

    https://seafile.example.org {
      reverse_proxy 10.83.102.10:8000
    
      handle_path /seafhttp* {
        uri strip_prefix seafhttp
        reverse_proxy 10.83.102.10:8082
      }
    }
    
  • edited October 2021

    Great, I just recently use Seafile, their performance blazingfast compared with NC. Migration from NC to Seafile also seamless using rClone.

    The down thing aboug Seafile CE is garbage collection that taking times.

    I use their default docker image and maxed out the limit of docker container to match my VPS available RAM:

    • Seafile (nginx) 1280 MB
    • MariaDB 512 MB
    • Memcached 128 MB

    Memory usage ~800 MB

    CONTAINER ID   NAME                CPU %     MEM USAGE / LIMIT    MEM %     NET I/O           BLOCK I/O         PIDS
    aea5b08d90xx   seafile             0.05%     419.9MiB / 1.25GiB   32.81%    4.17MB / 31.3MB   1.52GB / 27.6MB   36
    b00efade63xx   seafile-mysql       0.03%     93.02MiB / 512MiB    18.17%    1.6MB / 1.92MB    2.6MB / 193kB     10
    1f7ed21b52xx   seafile-memcached   0.05%     9.777MiB / 128MiB    7.64%     1.12MB / 935kB    1.61MB / 0B       10
    
    Thanked by 1bulbasaur
  • Tony40Tony40 Member
    edited October 2021

    Pydio is an open-source file-sharing and synchronisation software that runs on the user's own server or in the cloud.
    https://pydio.com/en/demo

    Thanked by 1Ympker
  • bdlbdl Member

    @chocolateshirt said:
    Memory usage ~800 MB

    FWIW I compared the community edition vs the pro edition of Seafile and the pro edition uses a lot more RAM than the community edition - enough that I'm happy to run manual GC

    Thanked by 1chocolateshirt
  • @bdl said:

    @chocolateshirt said:
    Memory usage ~800 MB

    FWIW I compared the community edition vs the pro edition of Seafile and the pro edition uses a lot more RAM than the community edition - enough that I'm happy to run manual GC

    Because pro version use elasticsearch. I think you can disable it to reduce the RAM usage

  • ServerServer Member
    edited October 2021

    Thanks for the reply. I will give SeaFile a try.

    Does anyone know if it's possible to use NextCloud / SeaFile as a storage drive (i.e. supporting one way sync)

    If I use NextCloud / SeaFile with their clients, is it possible for me to delete the local files after synching them into the server? I want to free up space on my local machine and keep the files on NC / SF.

    Also, if I were to install NextCloud / SeaFile's client on another machine, can I select which files to download instead of synching and downloading all files from NC / SF to every machine with NC / SF client, wasting a lot of storage space.

    IIRC, the last I tried NC, I could not get one way sync to work. Whenever I tried to delete the local files, the files on NC will also be deleted. Therefore, I had to use the web upload and manually upload all my files which was kind of tedious.

  • @Server said:
    Thanks for the reply. I will give SeaFile a try.

    Does anyone know if it's possible to use NextCloud / SeaFile as a storage drive (i.e. supporting one way sync)

    If I use NextCloud / SeaFile with their clients, is it possible for me to delete local files after synching them into the server? I want to free space on my local machine yet keeping the files on NC / SF.

    Also, if I were to install NextCloud / SeaFile's client on another machine, can I select which files to download instead of synching and downloading all files on NC / SF into every machine I have NC / SF installed, wasting a lot of storage space.

    IIRC, the last I tried with NC, I couldn't get one way sync to work. Whenever I delete the local files, the file on NC will also be deleted. Therefore, I had to use the web upload and manually upload all my files which was kind of tedious.

    The simple way to do that is use rclone to mount your seafile library. It will create new drive on your desktop that directly connected to seafile server without using local storage.

    With nextcloud you could get the similar one, but performance over webdav on rclone is terrible.

    Thanked by 1Server
  • yoursunnyyoursunny Member, IPv6 Advocate

    @Server said:
    Does anyone know if it's possible to use NextCloud / SeaFile as a storage drive (i.e. supporting one way sync)

    For one way sync, use rclone sync command, not sync client.
    Then, if one way sync is your primary use case, it's more efficient to use SFTP target instead of Nextcloud Seafile.

    Seafile also has a Seafile Drive app that mounts the remote storage as a network drive, and then you can move files into it.
    I never used it.

    If I use NextCloud / SeaFile with their clients, is it possible for me to delete local files after synching them into the server? I want to free space on my local machine yet keeping the files on NC / SF.

    If you have sync client installed, deleting local file causes remote file to be deleted.

    Also, if I were to install NextCloud / SeaFile's client on another machine, can I select which files to download instead of synching and downloading all files on NC / SF into every machine I have NC / SF installed, wasting a lot of storage space.

    Nextcloud sync client allows excluding certain folders (not files).
    Seafile sync client asks you to select top-level folders (it's called libraries).

    Thanked by 1Server
  • ServerServer Member
    edited October 2021

    @yoursunny said:
    For one way sync, use rclone sync command, not sync client.
    Then, if one way sync is your primary use case, it's more efficient to use SFTP target instead of Nextcloud Seafile.

    Thank you, for your reply.

    I wanted to create accounts for my family and friends to share some folders & files with them and they can also upload and share folders & files with me. I thought NC / SF will be great for that.

    Seafile also has a Seafile Drive app that mounts the remote storage as a network drive, and then you can move files into it.
    I never used it.

    I will be sure to look into it.

    If you have sync client installed, deleting local file causes remote file to be deleted.

    Yes, this is a pain as I was expecting something similar to how 'SFTP' / 'FTP' clients work.

    Nextcloud sync client allows excluding certain folders (not files).
    Seafile sync client asks you to select top-level folders (it's called libraries).

    After all it still boils down to I need something like 'SFTP' to transfer the file. Any alternative solutions is much appreciated. :)

Sign In or Register to comment.