NextCloud Installation Q & A

  • @kruto,


    I think this could be a bug on Galaxy S7 edge, are you using the browser or a NC app?
    I don't have this issue on my iPhone.


    FYI: those codes are for OwnCloud.

    I use the NC app.


    I know, that this codes are for oc, but it works for nc too. And it works with my s7e. I don't know what the different is but it works :)

  • 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/wsc/index.php?attachment/5898/forum.openmediavault.org/wsc/index.php?attachment/5899/


    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.

  • I know, that this codes are for oc, but it works for nc too. And it works with my s7e. I don't know what the different is but it works

    The NC codes are faster & appropriate for NC.
    Do you get an error when you using the Chrome on your phone?



    @alex,


    The server's settings seem correct.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • @kruto,


    I noticed that you using a proxy pass for your nextcloud.
    May be it causing the error or a bug in the NC app.
    Maybe you should open a case on NC forum.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    • Offizieller Beitrag

    It is very responsive and I like how the files are stored on the filesystem. Too bad it isn't open source though.

    omv 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    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 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Gotcha.
    The installation instructions very straight forward.
    FileRun requires PHP 5.5+.
    It lack other features that NC has such as antivirus, spreed video calls....

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    • Offizieller Beitrag

    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 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    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 7.0-32 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.9 | compose 7.0.9 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    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.



    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    Einmal editiert, zuletzt von tinh_x7 ()

  • I assume you mapped your SMB share drive in NC.


    Ensure the share folder's permission should be: 0755
    You can chown it to either root:users or your_user_name:users.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

  • 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 v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!