1.0 Upgrade Problem - Apache

  • Hey guys!
    When running the upgrade script, I noticed that this error had come up:

    [....] Starting web server: apache2Syntax error on line 15 of /etc/apache2/openmediavault-webgui.d/default.conf:
    Wrapper /var/www/openmediavault/php-fcgi cannot be accessed: (2)No such file or directory
    Action 'start' failed.
    The Apache error log may have more information.
    invoke-rc.d: initscript apache2, action "start" failed.

    and now every time I try to access OMV via browser I get:

    400 Bad Request
    Request Header Or Cookie Too Large

    Any help on fixing this would be greatly appreciated :)

  • So you tried updating via omv-release-upgrade?
    Do you still have this command?
    Can you post your /etc/apt/sources.list

    I would try to finish the update via apt-get update && apt-get dist-upgrade && apt-get -f upgrade

    But I dont know exactly in what state your installation got stuck. Also I am not an omv pro, but just a generic debian user. So you may want to wait for a mod to give some better advice. sorry :/

    Btw. apache was removed in Kralizec in favor of nginx. So its ok to apache to fail to start, but the error still seems wrong.
    Other users also had trouble with getting nginx to work.
    A general  service nginx restart and loading the webui in a private-mode tab seems to help usually.

  • Hi there,

    i updated to 1.0.31.
    The Fileserver works fine. But owncloud & webgui make some problems.

    I searched the forum for some workarounds.
    I deinstalled owncloud > Welcome to nginx!
    I deinstalled netatalk > Welcome to nginx!
    I do that:
    omv-mkconf nginx
    omv-mkconf php5fpm
    service apache2 stop
    service php5-fpm restart
    update-rc.d -f apache2 remove
    service nginx restart

    But still > Welcome to nginx!

    I have no more ideas... :(


    • Official Post

    Did you check if it was a symlink? ls -la

    It should say something like

    root@omv:/etc/nginx/sites-enabled# ls -la
    total 8
    drwxr-xr-x 2 root root 4096 Nov  3 17:16 .
    drwxr-xr-x 6 root root 4096 Oct 30 11:03 ..
    lrwxrwxrwx 1 root root   40 Oct 30 11:04 openmediavault-webgui -> ../sites-available/openmediavault-webgui
  • insgesamt 8
    drwxr-xr-x 2 root root 4096 Nov 6 19:53 .
    drwxr-xr-x 6 root root 4096 Nov 5 22:14 ..
    lrwxrwxrwx 1 root root 40 Nov 5 22:42 openmediavault-webgui -> ../sites-available/openmediavault-webgui

Participate now!

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