NextCloud Installation Q & A

    • OMV 3.x

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • tinh_x7 wrote:

      Ensure that you do not enable any default server option on, and only use ssl is disabled.

      Can you post your server settings (step 1f) ?
      forum.openmediavault.org/index…779eb862a992f9d6a97223940forum.openmediavault.org/index…779eb862a992f9d6a97223940

      add_header Strict-Transport-Security "max-age=15768000;
      includeSubDomains; preload;";
      add_header X-Content-Type-Options nosniff;
      add_header X-Frame-Options "SAMEORIGIN";
      add_header X-XSS-Protection "1; mode=block";
      add_header X-Robots-Tag none;
      add_header X-Download-Options noopen;
      add_header X-Permitted-Cross-Domain-Policies none;
      location = /robots.txt {
      log_not_found off;
      allow all;
      access_log off;
      }
      # The following 2 rules are only needed for the user_webfinger app.
      # Uncomment it if you're planning to use this app.
      #rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
      #rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
      # last;
      location = /.well-known/carddav {
      return 301 $scheme://$host/remote.php/dav;
      }
      location = /.well-known/caldav {
      return 301 $scheme://$host/remote.php/dav;
      }

      # set max upload size
      client_max_body_size 50G;
      fastcgi_buffers 64 4K;

      # Disable gzip to avoid the removal of the ETag header
      gzip off;

      # Uncomment if your server is build with the ngx_pagespeed module
      # This module is currently not supported.
      #pagespeed off;


      error_page 403 /core/templates/403.php;
      error_page 404 /core/templates/404.php;
      location / {
      rewrite ^ /index.php$uri;
      }
      location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
      deny all;
      }
      location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
      deny all;
      }
      location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+|core/templates/40[34])\.php(?:$|/) {
      include fastcgi_params;
      fastcgi_split_path_info ^(.+\.php)(/.*)$;
      fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
      fastcgi_param PATH_INFO $fastcgi_path_info;
      fastcgi_param HTTPS off;
      #Avoid sending the security headers twice
      fastcgi_param modHeadersAvailable true;
      fastcgi_param front_controller_active true;
      fastcgi_pass $socket;
      fastcgi_intercept_errors on;
      }
      location ~ ^/(?:updater|ocs-provider)(?:$|/) {
      try_files $uri/ =404;
      index index.php;
      }
      # Adding the cache control header for js and css files
      # Make sure it is BELOW the PHP block
      location ~* \.(?:css|js|woff|svg|gif)$ {
      try_files $uri /index.php$uri$is_args$args;
      add_header Cache-Control "public, max-age=7200";
      add_header Strict-Transport-Security "max-age=15768000;
      includeSubDomains; preload;";
      add_header X-Content-Type-Options nosniff;
      add_header X-Frame-Options "SAMEORIGIN";
      add_header X-XSS-Protection "1; mode=block";
      add_header X-Robots-Tag none;
      add_header X-Download-Options noopen;
      add_header X-Permitted-Cross-Domain-Policies none;
      # Optional: Don't log access to assets
      access_log off;
      }
      location ~* \.(?:png|html|ttf|ico|jpg|jpeg)$ {
      try_files $uri /index.php$uri$is_args$args;
      # Optional: Don't log access to other assets
      access_log off;
      }

      I will check later the nginx settings, maybe I will find something.
    • tinh_x7 wrote:

      But it allow users to self hosted though.
      True. I like it better than owncloud/nextcloud/etc :) Just annoys me when a company promotes that it is written in php but the code is encrypted. Who cares what it is written in if you can't read the code. And to answer the web server question, it uses neither. It serves its own pages. Probably why it feels faster.
      omv 4.0.11 arrakis | 64 bit | 4.13 backports kernel | omvextrasorg 4.1.0
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • tinh_x7 wrote:

      It lack other features that NC has such as antivirus
      It doesn't need its own antivirus since it uses the regular filesystem to store files. You could just enable the clamav plugin.
      omv 4.0.11 arrakis | 64 bit | 4.13 backports kernel | omvextrasorg 4.1.0
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • tinh_x7 wrote:

      You meant the end users need to define the RunFile's data path in ClamAV plugin, so it would scan?
      Sure. I haven't used the clamav in years. Assuming RunFile's data path is on a data drive, you could just create a shared folder for the same location.
      omv 4.0.11 arrakis | 64 bit | 4.13 backports kernel | omvextrasorg 4.1.0
      omv-extras.org plugins source code and issue tracker - github.com/OpenMediaVault-Plugin-Developers

      Please don't PM for support... Too many PMs!
    • After I tested out the demo, I would choose FileRun as a second choice besides NextCloud/OwnCloud.
      It's clean, nice GUI, and easy to use than Seafile, webdav, and Syncthing.


      Source Code

      1. January 23, 2017 (2017.01.23)
      2. New features:
      3. More Mobile apps:
      4. Added compatibility with the ownCloud Android app.
      5. Added compatibility with the Nextcloud Android app.
      6. Added compatibility with the Cirrus Android app.
      7. You can use any of the above to browse the FileRun files, download them to your device or for instant photo or video backup to FileRun. The Cirrus app shows thumbnails while browsing folders, while the other two can store files for offline use. Choose which ever you prefer.
      8. To use these mobile apps with FileRun you do not need to install anything on the server. Simply connect with the apps to your FileRun installation URL and your FileRun username and password.
      9. (Although there are ownCloud and Nextcloud apps for iOS and Windows Mobile, they work differently than the Android ones and FileRun is not yet compatible with them.)
      Display All
      OMV v3.0
      Asus Z97-A/3.1; i3-4370
      32GB RAM Corsair Vengeance Pro
      4x3TB RAID10

      The post was edited 1 time, last by tinh_x7 ().

    • That's what I meant.
      That's correct.

      By the default, the mapped local drive has only read permission in NC.
      Therefore, if you want to have full permission of it in NC, then you have to go to your Share folder in OMV, and give yourself, and www-data user and group for read/write access via ACL.
      Then you can upload or edit the files in NC.


      Post the permissions here.
      OMV v3.0
      Asus Z97-A/3.1; i3-4370
      32GB RAM Corsair Vengeance Pro
      4x3TB RAID10
    • Users Online 6

      6 Guests