Service nginx - update from 2.2.14 to 3.x

  • Hi, can someone help me how to reinstal Service nginx .
    After update I have problem with WebGui

    I have email monit like:

    Execution failed Service nginx

    Date: Sun, 22 Oct 2017 15:02:58
    Action: alert
    Host: MyCloud.local
    Description:failed to start

    When I try: "Welcome to nignx" or "It works!"

    • omv-mkconf nginx
    • omv-mkconf php5fpm
    • service apache2 stop - apache2: unrecognized service
    • service php5-fpm restart
    • update-rc.d -f apache2 remove
    • service nginx restart - Restarting nginx: nginx: [emerg] open() "/etc/nginx/fastcgi.conf" failed (2: No such file or directory) in /etc/nginx/sites-enabled/openmediavault-webgui:32nginx: configuration file /etc/nginx/nginx.conf test failed

    When I put: dpkg --configure -a and I reboot my cloud and I try to login webgui I have:

    Error #0:
    exception 'InvalidArgumentException' with message 'The environment variable 'OMV_CONFIGOBJECT_NEW_UUID' does not exist.' in /usr/share/php/openmediavault/
    Stack trace:
    #0 /usr/share/php/openmediavault/controlpanel/ OMV\Environment::get('OMV_CONFIGOBJEC...')
    #1 /usr/share/php/openmediavault/controlpanel/ OMV\ControlPanel\ControlPanelAbstract->getBaseBodyContent()
    #2 /var/www/openmediavault/index.php(46): OMV\ControlPanel\ControlPanelAbstract->render()
    #3 {main}


Participate now!

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