Posts by Ruschi

    Did you add this to your config.php?

    yes i did.. what wrong here :


    <?php

    $CONFIG = array (

    'memcache.local' => '\\OC\\Memcache\\APCu',

    'datadirectory' => '/data',

    'trusted_proxies' => ['letsencrypt'],

    'instanceid' => 'xxxxxxxxxxxx',

    'passwordsalt' => 'monaWKzrT3hSSAjxxxxxxxxxxx',

    'secret' => 'o0d1zWxxxxxxxxxxxxCDeCgxxxxxxxxx8DpsE9K89T/FajUiOm',

    'trusted_domains' =>

    array (

    0 => 'xxxxnas.duckdns.org/nextcloud',

    ),

    'dbtype' => 'mysql',

    'version' => '20.0.1.1',

    'overwritewebroot' => '/nextcloud',

    'dbname' => 'nextcloud',

    'dbhost' => 'mariadb',

    'dbport' => '',

    'dbtableprefix' => 'oc_',

    'mysql.utf8mb4' => true,

    'dbuser' => 'oc_xxxx',

    'dbpassword' => '8AOfdxxxxxxxxxxxxxMczk20BxxxxxJD',

    'installed' => true,

    );


    iḿ a noob :-)


    Morlan

    first of all: i started from Zero with this stack:



    version: "2"

    services:

    nextcloud:

    image: linuxserver/nextcloud

    container_name: nextcloud

    environment:

    - PUID=1000

    - PGID=100

    volumes:

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

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

    depends_on:

    - mariadb

    restart: unless-stopped

    duckdns:

    image: linuxserver/duckdns

    container_name: duckdns

    environment:

    - PUID=1000

    - PGID=100

    - TZ=Europe/Berlin

    - SUBDOMAINS=xxxxxnas,subdomain2

    - TOKEN=xxxxxxxxxxxxxx-xxxxxx

    restart: unless-stopped

    mariadb:

    image: linuxserver/mariadb

    container_name: nextclouddb

    environment:

    - PUID=1000

    - PGID=100

    - MYSQL_ROOT_PASSWORD=xxxxxxxx

    - TZ=Europe/Berlin

    volumes:

    - /srv/dev-disk-by-label-Daten1/dockerconfig/mariadb:/config

    restart: unless-stopped

    letsencrypt:

    image: linuxserver/letsencrypt

    container_name: letsencrypt

    cap_add:

    - NET_ADMIN

    environment:

    - PUID=1000

    - PGID=100

    - TZ=Europe/Berlin

    - URL=xxxxxnas.duckdns.org

    - SUBDOMAINS=www,

    - VALIDATION=duckdns

    - DUCKDNSTOKEN=xxxx-xxxxxx

    - EMAIL=me@xxmail.com

    volumes:

    - /srv/dev-disk-by-label-Daten1/dockerconfig/letsencrypt:/config

    ports:

    - 444:443

    - 81:80

    restart: unless-stopped



    i also used the duckdns image.. after exploying

    can now access nextcloud an set it up.


    I use subdomain method..


    when i got to subfolder-method i get "insert trusted domain errors" how can i set it up with subfolder ?


    Morlan

    Ruschi It all looks okay.

    What does your nextcloud.subdomain.conf file look like? Be sure to obfuscate your personal information.


    You may just need to clear your browser cache and reload your browser page.

    You may have tried to access your site too soon. It takes a while for the database to set up.

    # Assuming this container is called "swag", edit your nextcloud container's config

    # located at /config/www/nextcloud/config/config.php and add the following lines before the ");":

    # 'trusted_proxies' => ['swag'],

    # 'overwritewebroot' => '/nextcloud',

    # 'overwrite.cli.url' => 'https://your-domain.com/nextcloud',

    #

    # Also don't forget to add your domain name to the trusted domains array. It should look somewhat like this:

    # array (

    # 0 => '192.168.0.1:444', # This line may look different on your setup, don't modify it.

    # 1 => 'your-domain.com',

    # ),


    # Redirects for DAV clients

    location = /.well-known/carddav {

    return 301 $scheme://$host/nextcloud/remote.php/dav;

    }


    location = /.well-known/caldav {

    return 301 $scheme://$host/nextcloud/remote.php/dav;

    }


    location /nextcloud {

    return 301 $scheme://$host/nextcloud/;

    }


    location ^~ /nextcloud/ {

    include /config/nginx/proxy.conf;

    resolver 127.0.0.11 valid=30s;

    set $upstream_app nextcloud;

    set $upstream_port 443;

    set $upstream_proto https;

    proxy_pass $upstream_proto://$upstream_app:$upstream_port;


    rewrite /nextcloud(.*) $1 break;

    proxy_max_temp_file_size 2048m;

    proxy_set_header Range $http_range;

    proxy_set_header If-Range $http_if_range;

    proxy_redirect off;

    proxy_ssl_session_reuse off;

    }


    this is still the sample. I didnt change it to nextcloud.subdomain.conf... in the guide he changes this:


    cp nextcloud.subfolder.conf.sample nextcloud.subfolder.conf


    and what i have see in the nginx-error log:


    2020/11/02 15:42:20 [error] 371#371: *11 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected end of file, expecting ')' in /config/www/nextcloud/config/config.php on line 16" while reading upstream, client: 95.116.121.85, server: _, request: "GET / HTTP/1.1", upstream:$

    Hello guys.. i followed the guide: but i don get it.


    1st of all some informations:


    OMV5, DuckDNS, domain: https://xxxxnas.duckdns.org (is a subdomain ??)




    here is my docker-compose:


    version: "2"

    services:

    nextcloud:

    image: linuxserver/nextcloud

    container_name: nextcloud

    environment:

    - PUID=1000

    - PGID=100

    volumes:

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

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

    depends_on:

    - mariadb

    restart: unless-stopped

    mariadb:

    image: linuxserver/mariadb

    container_name: nextclouddb

    environment:

    - PUID=1000

    - PGID=100

    - MYSQL_ROOT_PASSWORD=xxxx

    - TZ=Europe/Berlin

    volumes:

    - /srv/dev-disk-by-label-Daten1/dockerconfig/mariadb:/config

    restart: unless-stopped

    letsencrypt:

    image: linuxserver/letsencrypt

    container_name: letsencrypt

    cap_add:

    - NET_ADMIN

    environment:

    - PUID=1000

    - PGID=100

    - TZ=Europe/Berlin

    - URL=xxxx.duckdns.org

    - SUBDOMAINS=www,rumpelnas,

    - VALIDATION=duckdns

    - DUCKDNSTOKEN=123456789

    - EMAIL=xxxx@gmail.com

    volumes:

    - /srv/dev-disk-by-label-Daten1/dockerconfig/letsencrypt:/config

    ports:

    - 444:443

    - 81:80

    restart: unless-stopped





    I also use DuckDNS which u can see under environment:

    port forwarding 444-->443 and 81-->80 is also enabled..


    ----------------------------------------


    this is my config.php:


    <?php

    $CONFIG = array (

    'memcache.local' => '\OC\Memcache\APCu',

    'datadirectory' => '/data',

    'trusted_proxies' =>

    array (

    0 => 'letsencrypt',

    ),

    'overwritewebroot' => '/nextcloud',

    'overwrite.cli.url' => 'https://xxxxx.duckdns.org/nextcloud',

    'trusted_domains' =>

    array (

    0 => 'xxxxx.duckdns.org:443',

    );


    everything seems fine but if i go to https://xxxx.duckdns.org/nextcloud i get this error..




    Code
    Internal Server Error
    
    The server encountered an internal error and was unable to complete your request.
    Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
    More details can be found in the webserver log.


    i don know where my fault is... can anyone help me ?

    Morlan

    ty

    Hi guys..



    I get this error...



    Error #0:

    OMVModuleDockerException: Error: "" - Code: 0 in /usr/share/omvdocker/Utils.php:74
    Stack trace:
    #0 /usr/share/omvdocker/Image.php(138): OMVModuleDockerUtil::doApiCall('http::/images//...')
    #1 /usr/share/omvdocker/Utils.php(238): OMVModuleDockerImage->__construct(false, Array)
    #2 /usr/share/omvdocker/Utils.php(276): OMVModuleDockerUtil::getImage('4cc3c7db20c1')
    #3 /usr/share/openmediavault/engined/rpc/docker.inc(896): OMVModuleDockerUtil::getContainers()
    #4 [internal function]: OMVRpcServiceDocker->getVolumesFrom(NULL, Array)
    #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #6 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('getVolumesFrom', NULL, Array)
    #7 /usr/sbin/omv-engined(536): OMV\Rpc\Rpc::call('Docker', 'getVolumesFrom', NULL, Array, 1)
    #8 {main}



    what I did:



    I tried to update my nextcloud docker Image over the NC-Webgui which
    failed.. then i got stuck in "Update in Progress" when i entered the
    NC-webgui..
    After that error above appeared..



    any ideas to solve this ?


    @TechnoDadLife
    @votdev
    @ryecoaaron

    Hi guys..


    I got the same error...


    what I did:


    I tried to update my nextcloud docker Image over the NC-Webgui which failed.. then i got stuck in "Update in Progress" when i entered the NC-webgui..
    After that error above appeared..


    any thoughts ?

    @KM0201


    crap... this killed more i can post here: maybe there was more broken that just docker.


    But not so important.. I just started a new installation..


    btw.. i use a litte M.2 card. I have 18gb free. you wrote its better to swap the docker files on a HDD.. but not a folder under mergerfs?!

    hi guys.. i have a problem.. my disk is full so i cant Login any more..


    df-h .... /dev/sde1 100%


    It might be the folder:


    /var/lib/docker/overlay2/


    Can i delete These Files Insider ? I have all my docker containers on my root disc ...


    What can i do.


    Ty