openmediavault-webgui_acces.log

  • Hi all !


    can somebody help me to reduce the "openmediavault-webgui_acces.log in /var/log/nginx ?




    You need not be surprised if the SD card does not last long on the Banana Pi.
    The log will increase from minute to minute :(

    [LibreELEC @ 2x RPi3, CoreELEC @ S12 Octa Core]

    [ NAS OMV 5.xx (Usul) @ NanoPI M4 ]

    [ Nextcloud 18.0.4 @ ODROID C2 ]

    [ Motioneye @ RPi4]

  • You need not be surprised if the SD card does not last long on the Banana Pi.
    The log will increase from minute to minute

    If you install the flashmemory plugin as recommended with any flash media install, those logs will be written to ram and not affect the SD card at all.

    omv 5.5.22 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.4
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • The flashmemory plugin has been installed since the first installation of OMV as the first plugin.
    But I believe the problem is at the moment away since I deleted the openmediavault-webgui_acces.log, since the no new log appears. But I think after reboot it will come back.

    [LibreELEC @ 2x RPi3, CoreELEC @ S12 Octa Core]

    [ NAS OMV 5.xx (Usul) @ NanoPI M4 ]

    [ Nextcloud 18.0.4 @ ODROID C2 ]

    [ Motioneye @ RPi4]

  • The flashmemory plugin has been installed since the first installation of OMV as the first plugin.

    Then you won't have any problems.


    But I believe the problem is at the moment away since I deleted the openmediavault-webgui_acces.log, since the no new log appears. But I think after reboot it will come back.

    I really don't think it is a problem that nginx is logging. And yes, it will come back as soon as nginx tries to log something. *LOTS* of services log to files in Linux. nginx is not even close to one of the services that log a lot of messages.

    omv 5.5.22 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.4
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Then you won't have any problems.

    I really don't think it is a problem that nginx is logging. And yes, it will come back as soon as nginx tries to log something. *LOTS* of services log to files in Linux. nginx is not even close to one of the services that log a lot of messages.

    It is nevertheless to be seen in the log of my first post, it is logged twice every 30sec. I did not invent it. The question was actually, whether one can adjust.

    [LibreELEC @ 2x RPi3, CoreELEC @ S12 Octa Core]

    [ NAS OMV 5.xx (Usul) @ NanoPI M4 ]

    [ Nextcloud 18.0.4 @ ODROID C2 ]

    [ Motioneye @ RPi4]

  • It is nevertheless to be seen in the log of my first post, it is logged twice every 30sec. I did not invent it.

    I didn't say you invented it. I have the same logs on my OMV installs.

    The question was actually, whether one can adjust.

    I wasn't avoiding the question. I was just trying to figure out why you were trying to "fix" it. You could disable nginx logging completely. If you leave logging enabled, it is going to log whenever the web server is connected to. In this case, monit is making sure the web server is functioning by connecting every 30 seconds. You could adjust the monit check frequency but that would negatively affect everything monit checks.

    omv 5.5.22 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.4
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • The main problem is that I do not know where I should start, because the nginx log is in /etc/nginx/nginx.conf configured
    and is called /var/log/nginx/access.log
    Where I configure openmediavault-webgui_access.log ??? 8|

    [LibreELEC @ 2x RPi3, CoreELEC @ S12 Octa Core]

    [ NAS OMV 5.xx (Usul) @ NanoPI M4 ]

    [ Nextcloud 18.0.4 @ ODROID C2 ]

    [ Motioneye @ RPi4]

  • The main problem is that I do not know where I should start, because the nginx log is in /etc/nginx/nginx.conf configured
    and is called /var/log/nginx/access.log
    Where I configure openmediavault-webgui_access.log ???

    /etc/nginx/sites-available/openmediavault-webgui has the setting but any time you make a change to the omv web interface, it will overwrite your changes. If you change the file the overwrite the config, it will be overwritten by OMV updates. Kinda why I recommend leaving this alone.

    omv 5.5.22 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.4
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • @ryecoaaron


    Thank you, that's useful !


    I think however that the flashmemory plugin does not work properly on my server, perhaps because I have disabled swapfile?


    And where can I do this at any time in webgui?

    [LibreELEC @ 2x RPi3, CoreELEC @ S12 Octa Core]

    [ NAS OMV 5.xx (Usul) @ NanoPI M4 ]

    [ Nextcloud 18.0.4 @ ODROID C2 ]

    [ Motioneye @ RPi4]

    Edited once, last by Aux ().

  • I think however that the flashmemory plugin does not work properly on my server, perhaps because I have disabled swapfile?

    Disabling the swapfile shouldn't cause a problem other than if you run out of tmpfs space, it will try to use a swapfile.


    And where can I do this at any time in webgui?

    Do what?

    omv 5.5.22 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.4
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • Look Up there the fat text

    There are lots of settings that cause the nginx config to rebuilt. The General Settings tab and anything in the nginx plugin. Plenty of others.

    omv 5.5.22 usul | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.4.4
    omv-extras.org plugins source code and issue tracker - github


    Please read this before posting a question.
    Please don't PM for support... Too many PMs!

  • There are lots of settings that cause the nginx config to rebuilt. The General Settings tab and anything in the nginx plugin. Plenty of others.

    Then I have to install the nginx plugin, until now I thought that does not need the plugin?


    Many Thanks @ryecoaaron

    [LibreELEC @ 2x RPi3, CoreELEC @ S12 Octa Core]

    [ NAS OMV 5.xx (Usul) @ NanoPI M4 ]

    [ Nextcloud 18.0.4 @ ODROID C2 ]

    [ Motioneye @ RPi4]

  • nginx plugin is for hosting additional webpages on your OMV installation, but you are correct nginx is running on your installation without the plugin.


    I wouldn't worry about reducing the log. You can either log access or not. It is better to do so, as it will give you some information for debugging/troubleshooting if there are other issues.


    If it is not broken- do not fix it. ;)

  • Hello @drinks2go, I do not want to repair it either I just want that the log is somewhat reduced, for example : instead of writing all 30sec unimportant things only write events which are really important. As in the log of first post, I find this totally unnecessary.

    [LibreELEC @ 2x RPi3, CoreELEC @ S12 Octa Core]

    [ NAS OMV 5.xx (Usul) @ NanoPI M4 ]

    [ Nextcloud 18.0.4 @ ODROID C2 ]

    [ Motioneye @ RPi4]

  • http://nginx.org/en/docs/http/ngx_http_log_module.html


    As you can see from the nginx documentation, what you are asking is simply not possible.


    This is a completely normal byproduct of the monit program monitoring various services on the computer. It is not ideal to change the rate at which monit checks, nor is it ideal to disable the checking on nginx, as it can lead to situations where you'll need to ssh into your box and restart nginx manually.


    As has been said, and without sounding rude, it seems unnecessary that you're concerned with this. Can you explain how come you want to reduce size of the logfile?

Participate now!

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