Trying to deploy NextCloud on a fresh install of OMV 5.x

  • so i followed this video

    on a fresh install of omv5.


    i created the config that is below.


    ---

    version: "2"

    services:

    nextcloud:

    image: linuxserver/nextcloud

    container_name: nextcloud

    environment:

    - PUID=1000

    - PGID=100

    - TZ=America/New_York

    volumes:

    - /srv/dev-disk-by-label-nextcloud/nextcloud/config:/config

    - /srv/dev-disk-by-label-nextcloud/nextcloud/data:/data

    depends_on:

    - mariadb

    restart: unless-stopped

    mariadb:

    image: linuxserver/mariadb

    container_name: mariadb

    environment:

    - PUID=1000

    - PGID=100

    - MYSQL_ROOT_PASSWORD=mariadbpassword

    - TZ=America/New_York

    volumes:

    - /srv/dev-disk-by-label-nextcloud/mariadb:/config

    restart: unless-stopped

    letsencrypt:

    image: linuxserver/letsencrypt

    container_name: letsencrypt

    cap_add:

    - NET_ADMIN

    environment:

    - PUID=1000

    - PGID=100

    - TZ=America/New_York

    - URL=alohaoe.duckdns.org

    - SUBDOMAINS=wildcard

    - VALIDATION=duckdns

    - DUCKDNSTOKEN=***********

    - EMAIL=*****@gmail.com

    volumes:

    - /srv/dev-disk-by-label-nextcloud/letsencrypt/config:/config

    ports:

    - 443:443

    - 85:85

    restart: unless-stopped


    i try to got to my OMV5 with ip:85 and nada. what am i doing wrong?

  • I changed the URL to alohaoenc.duckdns.org also added the port forwarding. I now get the Welcome to our server but even after changing the two files I dont get nextcloud.


    [cont-finish.d] executing container finish scripts...,

    [cont-finish.d] done.,

    [s6-finish] waiting for services.,

    [s6-finish] sending all processes the TERM signal.,

    [s6-finish] sending all processes the KILL signal and exiting.,

    [s6-init] making user provided files available at /var/run/s6/etc...exited 0.,

    [s6-init] ensuring user provided files have correct perms...exited 0.,

    [fix-attrs.d] applying ownership & permissions fixes...,

    [fix-attrs.d] done.,

    [cont-init.d] executing container initialization scripts...,

    [cont-init.d] 01-envfile: executing... ,

    [cont-init.d] 01-envfile: exited 0.,

    [cont-init.d] 10-adduser: executing... ,

    usermod: no changes,

    ,

    -------------------------------------,

    _ (),

    | | ___ _ __,

    | | / __| | | / \ ,

    | | \__ \ | | | () |,

    |_| |___/ |_| \__/,

    ,

    ,

    Brought to you by linuxserver.io,

    -------------------------------------,

    ,

    To support the app dev(s) visit:,

    Certbot: https://supporters.eff.org/donate/support-work-on-certbot,

    ,

    To support LSIO projects visit:,

    https://www.linuxserver.io/donate/,

    -------------------------------------,

    GID/UID,

    -------------------------------------,

    ,

    User uid: 100,

    User gid: 100,

    -------------------------------------,

    ,

    [cont-init.d] 10-adduser: exited 0.,

    [cont-init.d] 20-config: executing... ,

    [cont-init.d] 20-config: exited 0.,

    [cont-init.d] 30-keygen: executing... ,

    using keys found in /config/keys,

    [cont-init.d] 30-keygen: exited 0.,

    [cont-init.d] 50-config: executing... ,

    Variables set:,

    PUID=100,

    PGID=100,

    TZ=America/New_York,

    URL=alohaoenc.duckdns.org,

    SUBDOMAINS=wildcard,

    EXTRA_DOMAINS=,

    ONLY_SUBDOMAINS=false,

    VALIDATION=duckdns,

    DNSPLUGIN=,

    EMAIL=hlevy99@gmail.com,

    STAGING=,

    ,

    SUBDOMAINS entered, processing,

    Wildcard cert for alohaoenc.duckdns.org will be requested,

    E-mail address entered: hlevy99@gmail.com,

    duckdns validation is selected,

    the resulting certificate will only cover the subdomains due to a limitation of duckdns, so it is advised to set the root location to use http://www.subdomain.duckdns.org,

    Certificate exists; parameters unchanged; starting nginx,

    Starting 2019/12/30, GeoIP2 databases require personal license key to download. Please retrieve a free license key from MaxMind,,

    and add a new env variable "MAXMINDDB_LICENSE_KEY", set to your license key.,

    [cont-init.d] 50-config: exited 0.,

    [cont-init.d] 60-renew: executing... ,

    The cert does not expire within the next day. Letting the cron script handle the renewal attempts overnight (2:08am).,

    [cont-init.d] 60-renew: exited 0.,

    [cont-init.d] 90-config: executing... ,

    ,

    ******************************************************,

    ******************************************************,

    * *,

    * *,

    * This image has been deprecated *,

    * *,

    * Use the new image at *,

    * *,

    * linuxserver/swag *,

    * *,

    * https://hub.docker.com/r/linuxserver/swag *,

    * *,

    * https://github.com/linuxserver/docker-swag *,

    * *,

    * *,

    * *,

    ******************************************************,

    ******************************************************,

    [cont-init.d] 90-config: exited 0.,

    [cont-init.d] 99-custom-files: executing... ,

    [custom-init] no custom files found exiting...,

    [cont-init.d] 99-custom-files: exited 0.,

    [cont-init.d] done.,

    [services.d] starting services,

    [services.d] done.,

    nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better, consider using the OpenResty releases from https://openresty.org/en/download.html),

    Server ready,

  • Hi!

    Sorry to jump on, but im having the same issue, after following the instructions.

    Had it running fine on omv4, but tried new install with omv 5 and cant pass that server message.

    Rechecked the scripts in the containers, the folders are created, the files changed, but nothing changes.

    If i find out why this happens i'll post it here.

    Maf

  • What Morlan said is right. If you get the welcome screen then you have no errors behind you. Look at the guide he linked to above and read closely the steps concerning those two configuration files. Don’t turn back now!

    Simple and sure backup and restore: In a Scheduled Job: rsync -av --delete /srv/dev-disk-by-label-SOURCE/ /srv/dev-disk-by-label-DESTINATION/ (HT: Getting Started with OMV5)
    OMV Version: Ver. 5 (current) - Hardware: NanoPi M4, Nextcloud, Plex, Airsonic, Booksonic, Calibre, & Heimdall - Acer Aspire T180, backup - Odroid XU4, Pi-Hole (DietPi) - Testing/Playing: hc2, xu4, Pi 3B+, Odroid H2, and HP dx2400, Debian 10 XFCE.

  • it helped me at some point to change proxy_max_temp_file_size 2048m; to proxy_max_temp_file_size 1024m; in nextcloud.subdomain.conf

    Same here.

    Simple and sure backup and restore: In a Scheduled Job: rsync -av --delete /srv/dev-disk-by-label-SOURCE/ /srv/dev-disk-by-label-DESTINATION/ (HT: Getting Started with OMV5)
    OMV Version: Ver. 5 (current) - Hardware: NanoPi M4, Nextcloud, Plex, Airsonic, Booksonic, Calibre, & Heimdall - Acer Aspire T180, backup - Odroid XU4, Pi-Hole (DietPi) - Testing/Playing: hc2, xu4, Pi 3B+, Odroid H2, and HP dx2400, Debian 10 XFCE.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!