Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Nextcloud, letsencrypt, welcome to our server message

Featured Replies

Hi all,

 

Followed the tutorial from Spaceinvaderone to the letter to get Nextcloud working with Duckdns, my own domain and letsencrypt.

When I go to my domain I only see the message Welcome to our server. There is a certificate signed by Letsencrypt so that part is working.

 

Here are my configs:

 

config.php

 

<?php
$CONFIG = array (
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'datadirectory' => '/data',
  'instanceid' => 'ocl2txj38u82',
  'passwordsalt' => 'XXXXXXXXXXXXXXXXXXXXXXX',
  'secret' => 'XXXXXXXXXXXXXXXXXXXXXXXXXXX',
  'trusted_domains' =>
  array (
    0 => 'xxx.xxx.xxx.xxx:xxx',
    1 => 'cloud.domain.eu',
  ),
  'trusted_proxies' => ['letsencrypt'],
  'overwrite.cli.url' => 'https://cloud.domain.eu',
  'overwritehost' => 'cloud.domain.eu',
  'overwriteprotocol' => 'https',
  'dbtype' => 'mysql',
  'version' => '18.0.4.2',
  'dbname' => 'nextcloud',
  'dbhost' => 'xxx.xxx.xxx.xxx:xxxx',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'Topsecret',
  'installed' => true,
);

 

nextcloud.subdomain.conf

 

# assuming this container is called "letsencrypt", edit your nextcloud container's config
# located at /config/www/nextcloud/config/config.php and add the following lines before the ");":
#  'trusted_proxies' => ['letsencrypt'],
#  'overwrite.cli.url' => 'https://nextcloud.your-domain.com/',
#  'overwritehost' => 'nextcloud.your-domain.com',
#  'overwriteprotocol' => 'https',
#
# 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 => 'nextcloud.your-domain.com',
#  ),

server {
    listen 443 ssl;
    listen [::]:443 ssl;

 

    server_name nextcloud.*;

 

    include /config/nginx/ssl.conf;

 

    client_max_body_size 0;

 

    location / {
        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;

        proxy_max_temp_file_size 2048m;
    }
}

 

 

Checked it multiple times. I dont know where to look anymore.

 

Anyone can help me with this?

Maybe try using your IP instead of the hostname

 set $upstream_app nextcloud;

On my server I always have to use the IP. I'm sure this could be fixed somewhere but I use a static IP and it's no issue for me.

  • Author

Tried it but didnt work.

 

Will try to redo everything. Maybe that will resolve it.

  • Author

OK so for anyone  else having troubles I managed to fix it in a different way:

 

1) removed everything I did in the spaceinvader tutorial (configs, containers...) execpt the mariadb docker

2) Added the nextcloud docker and config it

3) Verified that nextcloud is working with local ip -> ok

4) add nginxproxymanager docker from jlesage

5) Add host in nginxproxymanager

 

Make sure the ports for 80 and 443 are forwarded ( see spaceinvaderone tutorial)

Nginxproxymanager needs that for the certificate.

 

Nginxproxymanager is just click and go. Add correct IP and ports, set SSL to on and off you go.

 

And make sure Nextcloud is not forwarding HTTP to HTTPS, it will give you an error. Nginxproxymanager is in charge of the https thing.

In the config.php in Nextcloud I changed this: 'overwrite.cli.url' => 'https://cloud.domain.eu',  INTO this: 'overwrite.cli.url' => 'http://cloud.domain.eu',

 

 

 

  • 2 months later...
On 5/19/2020 at 4:42 AM, ljt said:

OK so for anyone  else having troubles I managed to fix it in a different way:

 

1) removed everything I did in the spaceinvader tutorial (configs, containers...) execpt the mariadb docker

2) Added the nextcloud docker and config it

3) Verified that nextcloud is working with local ip -> ok

4) add nginxproxymanager docker from jlesage

5) Add host in nginxproxymanager

 

Make sure the ports for 80 and 443 are forwarded ( see spaceinvaderone tutorial)

Nginxproxymanager needs that for the certificate.

 

Nginxproxymanager is just click and go. Add correct IP and ports, set SSL to on and off you go.

 

And make sure Nextcloud is not forwarding HTTP to HTTPS, it will give you an error. Nginxproxymanager is in charge of the https thing.

In the config.php in Nextcloud I changed this: 'overwrite.cli.url' => 'https://cloud.domain.eu',  INTO this: 'overwrite.cli.url' => 'http://cloud.domain.eu',

 

 

 

Can you provide more detail on how you did it please?

On 5/19/2020 at 4:42 AM, ljt said:

OK so for anyone  else having troubles I managed to fix it in a different way:

 

1) removed everything I did in the spaceinvader tutorial (configs, containers...) execpt the mariadb docker

2) Added the nextcloud docker and config it

3) Verified that nextcloud is working with local ip -> ok

4) add nginxproxymanager docker from jlesage

5) Add host in nginxproxymanager

 

Make sure the ports for 80 and 443 are forwarded ( see spaceinvaderone tutorial)

Nginxproxymanager needs that for the certificate.

 

Nginxproxymanager is just click and go. Add correct IP and ports, set SSL to on and off you go.

 

And make sure Nextcloud is not forwarding HTTP to HTTPS, it will give you an error. Nginxproxymanager is in charge of the https thing.

In the config.php in Nextcloud I changed this: 'overwrite.cli.url' => 'https://cloud.domain.eu',  INTO this: 'overwrite.cli.url' => 'http://cloud.domain.eu',

 

 

 

This is what I have but not working... so far.

I have port 80 forwarded to 180, and 443 to 1443.

Any help please!

image.png

Capture2.PNG

Capture3.PNG

  • 3 months later...

I had the same issue with the "welcome to our server" message and found a potential solution for some:

 

When I edited the nextcloud subdomain ".conf" sample file with Notepad++, ".txt" was unknowingly added to the end of the file by Notepad++. It wasn't until I discovered this while viewing the file in another text editor and removed it where it no longer gave the "welcome to our server" and worked as expected.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.