Posts by sbocquet

    Hi,

    I'm trying to add a panel to the dashboard, but I cannot add a new item to the "Add" button.
    By searching the code, I have found the file Dashboard.js, which get the registered dashboard...




    So the question is... Where do I register the dashboard widget ?

    Thx

    Hi !

    I have added a plugin to collectd configuration, in order to get iptables statistics.


    According to the collectd docs, the configuration file should be something like this :

    Code
    root@home-server:/# cat /etc/collectd/collectd.conf.d/iptables.conf
    LoadPlugin iptables
    <Plugin "iptables">
      Chain "filter" "INPUT"
      Chain "filter" "OUTPUT"
    </Plugin>


    Here are some infos from my iptables :


    Restarting the collectd demon is fine :


    Unfortunatly, no data are collected/writen in the data directory (should have some iptables_filter_* directories from what I know :( )


    Does anyone already done this and any idea of what the problem is ?

    Thanks

    borgbackup 6.1.0 in the repo now. It will still email you if there is an error. You will not be able to disable that but I don't think errors should be skipped.

    I'm using OMV 5 anyway ;)
    But I'm still thinking that a little checkbox for emailing in the WebUI in the archive configuration interface could be a nice improvment ;)

    Hi !

    I have just added an Intel x550T2 10Gb NIC on my OMV server, and noticed that I have a lot of rx_dropped errors for all NICs (2 Intel i210 on the motherboard, 2 x550 on the card).
    The card is on a correct PCIe extension slot (PCIe3.0 x8).

    At the moment, they are all linked to a Netgear GS108e switch.


    Here are some infos for the i210 NIC :

    And for the x550 NIC


    I have already tried to max the buffer ring but still have the error:

    Here are some Iperf tests too :



    I can see that ALL my NIC have some dropped packets :



    So :

    • It's probably not the cables (all the cables are directly connected to the switch), even the test PC... => Not the cables in the walls !
    • It's probably not the NICs, as 2 are on the motherboard (ASRock Rack x470D4U) and 2 are on the PCie x550T2 Card,
    • Switch ?
    • Server configuration... maybe/maybe not ? Intel drivers ?

      Any help or idea is welcome as I'm a little lost at the moment :/||||

    Little NAS Updated !

    Case: Lian Li PC-V354
    Motherboard: ASRock Rack x470D4U
    CPU: AMD Ryzen 5 3600
    RAM: 1 x 16GB Crucial DDR4 PC2666 ECC
    PSU: Seasonic M12 - 500W

    NIC Card: Intel x550T2 - 10Gb
    CPU Fan: 1 x Be Quiet! Pure Rock Slim PWM
    System Fans: 3 x Be Quiet! Silent Wings 3 PWM
    System Disk: 1 x NVMe XDATA 8200Pro 256GB
    Datas Disks: 5 x Western Digital 10TB (RAID 6)

    Backups Disk: 1 x Seagate 2TB

    Hi,

    After each OMV update, I would like to run some commands automatically... not something very complicated, like re-set my dark web theme and the graph size in OMV stats pages for example.

    This could be done with those CLI commands :


    Code
    # Dark OMV theme
    cd /var/www/openmediavault/css; cp defaults.sav defaults.scss
    make all; chown openmediavault-webgui:openmediavault-webgui *; chmod 664 *;
    
    
    # OMV Graphs
    sed -i 's/400/1400/' /usr/sbin/omv-mkrrdgraph; sed -i 's/120/200/' /usr/sbin/omv-mkrrdgraph;


    So... Should I stay with a script that I have to manually run after each upgrade, or is there a nice way to automatically execute those commands after each update (salt ?).

    Any idea is welcome... ;)

    If you have not pressed the Apply button in the UI then nothing should have happened. The latest version 5.6.21 has marked the nginx, host and postfix modules as dirty, thus their configuration is re-deployed on pressing Apply. But there are no changes in the code, except that the IPv6 detection has been improved/fixed, thus it can happen that now only IPv4 configuration is generated if IPv6 is not configured.

    Thanks Volker ( votdev), you point me in the right direction once again ;) As you said, no IPv6 was configured in those servers... but the nginx reverse proxy conf file was "misconfigured" !


    Modified the configuration from

    Code
    listen [::]:80;
    listen [::]:443 ssl http2;

    to

    Code
    listen 80;
    listen 443 ssl http2;


    Big thanks both of you for your time.

    You do not find anything in the error log, because nginx does not consider it an error, but redirects to the main server.

    Did you have a chance to compare the nginx -T between working and non working servers?

    Can you compare the versions of nginx between working and non working? (nginx -v)

    Nginx -T are the same... so same broken reverse proxy.
    Nginx is v1.14.2, the latest package from debian repo.

    The fact that I'm sure is :
    - they have exactly the same nginx/proxy config files.
    - this morning, I update from v5.6.20 to v5.6.21 the first server; reverse proxy stopped just after (<1 min).
    - this afternoon, I updated the second server, reverse proxy stopped just after (<1 min).

    Log file from QB access and error are empty since the update, and the access are logged in OMV access log file....


    OMV access log file :

    Code
    Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36 Edg/97.0.1072.13"
    91.212.21.220 - - [02/Dec/2021:15:18:49 +0100] "GET / HTTP/1.1" 200 1279 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36 Edg/97.0.1072.13"
    127.0.0.1 - - [02/Dec/2021:15:18:53 +0100] "GET / HTTP/1.1" 200 3436 "-" "Monit/5.26.0"
    127.0.0.1 - - [02/Dec/2021:15:18:53 +0100] "GET / HTTP/1.1" 200 3436 "-" "Monit/5.26.0"


    OMV error log file

    Code
    91.212.21.220 - - [02/Dec/2021:15:25:25 +0100] "GET /favicon.ico HTTP/1.1" 200 1406 "https://torrent.myURL.fr/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36 Edg/97.0.1072.13"
    127.0.0.1 - - [02/Dec/2021:15:25:54 +0100] "GET / HTTP/1.1" 200 3436 "-" "Monit/5.26.0"
    127.0.0.1 - - [02/Dec/2021:15:25:54 +0100] "GET / HTTP/1.1" 200 3436 "-" "Monit/5.26.0"

    Just updated the other server and reverse proxy is broken too with v5.6.21... so for sure, this is related to the update.

    So, started nginx in cli mode, and everything is normal... no error code. I'm lost !


    OMV Update :


    Latest known got access :


    tail -f qbittorrent-webgui_access.log

    Code
    ::ffff:91.212.21.220 - - [02/Dec/2021:09:03:54 +0100] "POST /api/v2/rss/items?kwonl09y HTTP/2.0" 200 65605 "https://torrent.myInternetURL.fr/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.20 Safari/537.36 Edg/97.0.1072.13"

    Hi,

    I'm facing a reverse proxy problem since this morning.
    I have a qbittorrent-nox server running on my NAS, listening on port 8080 for the WebUI.
    I setup a reverse proxy on nginx in order to access it from the internet with an URL on port 443.


    It used to work fine but until the last update (v5.6.21) this morning. I have checked the changelog but nothing seems related.

    Anyway, when I try to access https://torrent.myInternetURL.fr, I have the OMV WebUI page instead of the qBittorrent page, like no redirection is done.
    If I try to access directly the qBittorrent WebUI with http://torrent.myInternetURL.fr:8080, I have the correct page.

    I can't figure out what could have changed to brake te redirection...
    Any Web server expert here ?

    Thanks