Posts by sbocquet

    OK... Thanks for your help.
    It's not totally free as I have to spend a good bunch of time to restart/upgrade all my conf. As I said, I will but it's not the right moment for me to do it.

    So the conclusion is nobody can help because my OMV version is too old even if apt and postfix are used in Debian 13 and OMV 7?
    I'm searching for ideas here but maybe it's the wrong place.

    Plex, QBittorrent, DMD compiler, Onedrive for Linux, etc... are still living for Debian 10 ;)
    End of Debian 10 doesn't mean end of all the software I have on it.

    I will upgrade for sure in the upcoming months or year, but at the moment, that's not the plan as I have no time to do it, and this NAS is running smoothly for what I want to do.

    More research...

    I've found this function in /usr/share/php/openmediavault/engine/module/manager.inc



    So I checked OMV_ENGINED_DIRTY_MODULES_FILE (/var/lib/openmediavault/dirtymodules.json) :


    Quote

    root@home-server:/var/lib/openmediavault# cat dirtymodules.json

    []


    So, should this file be totally empty or not ?
    I still don't understand because this function is both use for the GUI and the notification function...

    Hi,

    My NAS is currently running OMV v5 and it works fine.

    But it's been behaving strangely lately.

    In fact, even though I don't get a message on the GUI about validating a configuration change, I receive an email every day with the following message:


    Code
    Pending configuration changes
    The configuration has been changed. You must apply the changes in order for them to take effect.


    So I'm searching for a misconfiguration of a module, or a bug in the configuration change "engine".

    After some research, I've found a function omv_module_is_dirty() in /usr/share/openmediavault/scripts/helper-functions but can't see what generate this email.

    Any help to clarify will be appreciated.
    Thanks

    Hi,

    Thanks... but I still want to keep my updates alerts !

    Guys, seriously...
    It's like my car has a broken window, and one guy suggests I change my car and the other guy suggests I ignore the fact that the window is broken!

    The goal is to fix the problem, not to ignore it ;)

    Hi,


    Thanks for the advice, but at the moment, I don't want to upgrade my NAS.

    It works fine, and I have a bunch of services tunned and running on it. Plus, I'm not a huge fan of docker containers, at least, for a Storage NAS.


    So, any other idea?

    Hi !

    My NAS is currently running OMV v5 and it works fine.

    But as Debian 10 is out of support, I was forced to modify the debian repositories in order to stop errors during update checks.

    So I changed to the archives repo as I've have done with all other Debian 10 server I have.


    Code
    root@home-server:/etc/apt# cat sources.list
    # deb https://deb.debian.org/debian/ buster main contrib non-free
    # deb-src https://deb.debian.org/debian/ buster main contrib non-free
    deb https://archive.debian.org/debian buster main contrib non-free
    deb-src https://archive.debian.org/debian buster main contrib non-free
    
    # deb https://deb.debian.org/debian/ buster-updates main contrib non-free
    # deb-src https://deb.debian.org/debian/ buster-updates main contrib non-free
    deb https://archive.debian.org/debian buster-updates main contrib non-free
    deb-src https://archive.debian.org/debian buster-updates main contrib non-free


    The fact is that I still receive once a day a notification mail with incorrect repo settings !


    Code
    CRON-APT RUN [/etc/cron-apt/config]: Tue Sep  9 20:32:02 CEST 2025
    CRON-APT SLEEP: 2029, Tue Sep  9 21:05:51 CEST 2025
    CRON-APT ACTION: 0-update
    CRON-APT LINE: /usr/bin/apt-get  update -o quiet=2
    E: The repository 'https://security.debian.org/debian-security buster/updates Release' no longer has a Release file.
    E: The repository 'https://deb.debian.org/debian buster Release' no longer has a Release file.
    E: The repository 'https://deb.debian.org/debian buster-updates Release' no longer has a Release file.


    Here is a repo update, with no trace of the debian repo I've replaced :



    Maybe someone can explain why this mail is logging some old repos that aren't used ?

    Thanks a lot


    Hi,


    Sorry for this late answer.
    In fact, I've just rebuilt a new PC for my needs, and just done some new tests with my NAS and... surprise !

    The transfert rate is now stable and constant.



    The previous motherboard had a REALTEK 1Gb/s NIC, and a Win 10 up to date OS. My new PC has now a REALTEK 2.5Gb/s NIC and Win 11 OS.

    I can't explain why it wasn't working nice between the different NAS NIC Intel i210 vs Intel x550) before, but the fact is that it works now without a problem with my new PC motherboard !

    Sometimes, you don't need answers, you just need it to work ! lol

    Little update with my 10Gb Card...

    I ran some tests using qbittorrent to download some big files on my NVME disk, and the tranfert rates is stable at 110/112MB/s aka 1Gb/s...

    So I think that maybe it's more a SMB protocol performance problem than a disk or NIC one when I'm copying from my PC (Windows) to the NAS (Linux)...

    sbocquet I assumed that you tried already drivers from manufacturer. Is that a correct assumption?

    https://www.intel.in/content/w…work-adapter-x550-t2.html

    Hi,

    Not at the moment... I need more free time to try, but I'm going to...

    EDIT: I just tried the latest driver version 5.14.6 (Intel Ethernet Drivers and Utilities - Browse /ixgbe stable/5.14.6 at SourceForge.net). It seems to improve stability of the PC to NAS transfers by a little bit... It needs more testing.

    Hi,

    I have in some ways the same problem as you with my setup...

    I have 4 NICs on my OMV5 NAS:

    - 2 x Intel i210 1Gb on the ASROCK X470D4U motherboard,

    - 2 x Intel x550T2 10Gb on a PCie card which is on a correct PCIe extension slot (PCIe3.0 x8)).

    They are all linked to the LAN with a 1Gb Netgear GS108E switch (works fine but plan to upgrade very soon to a 10Gb one).


    I'm facing some strange drops in transfert rates with the x550T2 card whereas the same copy operations on the same disks run perfect with the i210 NICs.

    • 1Gb NIC transferts



      10Gb NIC transferts



      To be short:
      - NAS to PC is rock solid with both NIC,
      - PC to NAS 1Gb NIC is rock solid
      - PC to NAS 10Gb NIC is... strange :(
    • I've already checked that SSDs (PC & NAS) are not overheating (throttling), and tested also on my RAID 6 array to eliminate a disk issue.
    • NAS isn't CPU or RAM limited.
    • Copy operations are done by SMB protocol between my PC SSD (Windows 10) and the NAS, but seems to act the same way with SFTP protocol.
    • SSD and RAID6 array are capable of 300MB/s reads and writes speeds.


    Seems like a NIC buffer problem to me, but I have already upgraded my buffers to max


    I finished to do some testing with perf3 between the PC and the NAS, and it doesn't seems to be the NIC apparently...

    But I still cannot explain why the copies are working so badly with the 10Gb card... and not with the 1Gb one !

    Any idea or help is welcome.

    Hi,

    Can say it better than you did, especially the third and fourth one !

    I've had some issue with RAID 5 arrays in the past, without lost fortunatly. Lesson learned too...


    Since that, I always go with RAID 6 now.
    Ok, you lose more data space but as disk capacity goes bigger and bigger, the chance to have some recovery issues are now a thing you must always consider in building a RAID array. It takes hours (even days sometime) to rebuild an array and during this time, your 'old' disks are 100% full loaded. Needless to say that it often goes wrong !


    Thanks for the general reminder and hope that everything returns to normal quickly for you.

    votdev

    Like always... you need to clear your web browser cache (or something like this!) ;)

    Anyway... work in progress but it works !


    Just need some advices from some PHP gourou...
    I'm not sure that this is the best way to do it or if there is something more efficient in PHP then those system calls to read the last line of a file. So any advice is welcome for this slice of code.



    Thanks for your help.

    I searched the source code where the default dashboard widgets are registered, but didn't find anything. I'm really sorry, i can't remember anymore how this is working, too much time passed since this feature was implemented. I think it is a magic function of ExtJS, but i don't know it anymore.


    In general i would say that somewhere a // require("js/omv/module/admin/dashboard/(par|view)/xxx.js")

    must occur which triggers the PHP code to create a <script type='application/javascript' src='foo'></script> entry in the generated HTML file; but did not found any code that looks like that.

    Thanks for trying votdev ...

    It seems that my files are "here" (listed in the cache, so I assume OMV took them into account), but somehow not "visible"...

    EDIT :
    votdev JS Files are in the generated page... so I'm completely lost now ! lol

    Sorry, I don't have time to keep working on OMV 6.x plugins (behind already) and backport changes to OMV 5.x plugins.

    No problem, I understand the fact your're already busy... and everybody is giving his time like he wants.
    I will review your commit and try my best ;)

    Cheers

    Have a look here.

    Thanks votdev, that's where I was addind my src files




    But nothing more in the "add" button. It seems that my widget is not "registered".

    votdev Maybe I need to restart something ?

    EDIT:
    - I have already restarted the openmediavault-engined and the nginx services.
    - My files are in the caches directory


    OMV5 is practically already EOL, i do not maintain it anymore (except patches for migration or security issues). Please use OMV6 instead. For developing plugins please have a look at https://openmediavault.readthe…/development/plugins.html and use the source code as reference.

    Yeah... I know... and I would really like to, but I've done so much specific conf (collectd, IPMI, WebUI, etc...) on my NAS that it would be very long to restart from OMV6 at the moment, so I'm trying to add what I can to my need.

    I reading the code since several months for my needs, but it's still a hard step even if I was a dev guy 15 years ago ;)
    I'm asking help only when I'm really stuck after several hours.

    only for curiosity, what show your widget?, is usefull for other users?

    I'm going to add a temperature widget (I got them with IPMI and a collectd specific configuration), better than the one line that I've added in the System Info one. (see screenshot)
    The fact is that the files I have modified to add this line will be overide each time a new version of OMV goes live.

    Buy adding a widget panel, this will not append ;)