no webgui and smb shares after power failure

  • hi,


    i have a problem with omv after power failure. There is no more webgui and working windows shares.
    with nginx i get the message


    nginx: [emerg] "upstream" directive is not allowed here in /etc/nginx/sites-enabled/openmediavault-nginx:16
    nginx: configuration file /etc/nginx/nginx.conf test failed


    in line 15-18 in openmediavault-nginx


    upstream php-handler {
    server 127.0.0.1:9000;
    #server unix:/var/run/php5-fpm.sock;
    }


    so, whats the problem here ?



    samba seems to be running, but i don't have permission to access

  • i found out, that this is a problem with nextcloud
    after comment out all of nextcloud, i got a new error


    nginx: [emerg] SSL_CTX_use_certificate_chain_file("/etc/ssl/nginx/cloud.example.com.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory error:20074002:BIO routines:FILE_CTRL:system lib error:140DC002:SSL routines:SSL_CTX_use_certificate_chain_file:system lib)
    nginx: configuration file /etc/nginx/nginx.conf test failed

  • root@nas:~# netstat -tulpen | grep 443
    root@nas:~# netstat -tulpen | grep 80
    udp 0 0 0.0.0.0:37802 0.0.0.0:* 104 6612 2517/avahi-daemon:
    root@nas:~# service nginx restart
    Restarting nginx: nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
    nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
    nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
    nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
    nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
    nginx: [emerg] still could not bind()
    nginx.

  • with


    server {
    #listen 80;
    listen [::]:80;
    server_name nas;
    # enforce https
    return 301 https://$server_name$request_uri;
    }


    i got it running......but no openmedia webgui




    It works!


    This is the default web page for this server.
    The web server software is running but no content has been added, yet.

Jetzt mitmachen!

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