Could need help for Nextcloud AIO installation with NGINX installation o fresh OMV 7 installation

  • Hello,

    This is my first post on this forum.

    I could use some help to get my fresh OMV 7 installation (amd64) with Docker Nextcloud AIO with Nginx proxy running. Hope some of you can get me to the right direction. Thanks!


    I started with a clean OMV 7 install and followed this guide:

    Following the instructions I managed to get Nextcloud AIO running without proxy.


    But with Nginx proxy I can´t get it right:


    I can enter the AOI interface port 8080

    after adding my duckdns server I get error


    I have forwarded ports 80 and 443 in my modem/ router.


    From the logs

    [0;92mInitial startup of Nextcloud All-in-One complete!

    You should be able to open the Nextcloud AIO Interface now on port 8080 of this server!

    E.g. https://internal.ip.of.this.server:8080

    If your server has port 80 and 8443 open and you point a domain to your server, you can get a valid certificate automatically by opening the Nextcloud AIO Interface via:

    https://your-domain-that-points-to-this-server.tld:8443[0m

    [Mon Feb 19 17:58:04.360953 2024] [mpm_event:notice] [pid 108:tid 140539999820552] AH00489: Apache/2.4.58 (Unix) OpenSSL/3.1.4 configured -- resuming normal operations

    [Mon Feb 19 17:58:04.361445 2024] [core:notice] [pid 108:tid 140539999820552] AH00094: Command line: 'httpd -D FOREGROUND'

    [19-Feb-2024 17:58:04] NOTICE: fpm is running, pid 114

    [19-Feb-2024 17:58:04] NOTICE: ready to handle connections

    {"level":"info","ts":1708365484.4016976,"msg":"using provided configuration","config_file":"/Caddyfile","config_adapter":""}

    NOTICE: PHP message: The response of the connection attempt to "https://smiemiestest.duckdns.org:443" was: <html>

    <head><title>502 Bad Gateway</title></head>

    <body>

    <center><h1>502 Bad Gateway</h1></center>

    <hr><center>openresty</center>

    </body>

    </html>

    NOTICE: PHP message: Expected was: 9ae1549613727f9360dca00394aabfacfba721dae5ed493a

    NOTICE: PHP message: The error message was:

    NOTICE: PHP message: Please follow https://github.com/nextcloud/a….md#6-how-to-debug-things in order to debug things!

    NOTICE: PHP message: The response of the connection attempt to "https://smiemiestest.duckdns.org:443" was: <html>

    <head><title>502 Bad Gateway</title></head>

    <body>

    <center><h1>502 Bad Gateway</h1></center>

    <hr><center>openresty</center>

    </body>

    </html>

  • macom

    Hat das Thema freigeschaltet.
    • Offizieller Beitrag

    If you installed Nextcloud AIO without a proxy and now you want to install Nextcloud AIO with a proxy, the first thing you should do is delete the first installation you made of Nextcloud. To do that you just have to delete the folders that the container has created in your configuration data path.


    Once that is done, do the proxy installation again by following the steps, make sure you have a domain pointing to your server. You can check it through this website https://www.whatsmydns.net/ If the IP that the world's servers return for your domain is the same as the public IP that your router has, it means that the domain is correctly configured. If it is different, something is wrong. Either you have configured the domain incorrectly or your ISP provides you with an internet connection behind CGNAT.

  • thanks for responding!

    after de install with (working) Nextcloud AIO without proxi, I started with a fresh reinstall of OMV and then followed the OMV quick configuration quide. Then I run in to trouble as described above.

    I check my duckdns domain with whatsmydns.net and my external IP adres is correctly returned, so my domain seems configured correctly

    thanks

    • Offizieller Beitrag

    I check my duckdns domain with whatsmydns.net and my external IP adres is correctly returned, so my domain seems configured correctly


    In that case you can follow these steps to try to debug the problem https://github.com/nextcloud/a….md#6-how-to-debug-things


    If Nextcloud still does not work you can ask for support there, it will surely be better support than what this forum can provide since it is a specialized Nextcloud site. Everything in the quick setup guide about Nextcloud is copied from there.

Jetzt mitmachen!

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