Error applying configuration changes after 7.7.15-1 patch installation

  • Hi,


    I just installed the 7.7.15-1 patch and OMV asked my to apply config changes (Ausstehende Konfigurationsänderungen). This fails with the following error:



    Looking into /etc/rsyslog.conf and /etc/rsyslog.d, I see the following:



    How can I fix this issue?

  • crashtest

    Approved the thread.
  • I also have the problem and I do not have that file on my system.

    Code
    ~$ ls -alh /etc/rsyslog.d/ | grep pam
    -rw-r--r--   1 root root  953 Aug 29 15:21 openmediavault-pamfaillock.conf

    OMV 7

    Plugins - omvExtras | LVM2 | Compose plugin | SFTP | ...

    System - x86 intel - 2*4TB WD Red plus - 500GB WD Blue SSD

    Docker - Nextcloud | wg-easy | swag | vaultwarden | syncthing | gitea

    • Official Post

    Seems like we have bigger issues, deleting the file for me didn't fix it and now I get a lot of errors if I attempt to modify anything for notifications:


  • I'm also having this issue and I do not have /etc/rsyslog.d/openmediavault-pamtally2.conf on my system.

  • With regard to the following error from the OP:

    rsyslogd: module 'ommail' already in this config, cannot be added


    I had a similar error caused by the openmediavault-sftp configuration which tries to add a different module which is in the base config:

    rsyslogd: module 'imuxsock' already in this config, cannot be added


    I commented out the duplicate line in the openmediavault-sftp package's config:

    root@openmediavault:/etc/rsyslog.d# cat openmediavault-sftp.conf

    #module(load="imuxsock")

    if $programname == 'internal-sftp' then /var/log/openmediavault-sftp.log

    & stop


    After saving, the changes from today's updates applied with no issue. This seems a fault of the openmediavault-sftp package which assumes there would be no local logging enabled using imuxsock.


    I have seen no errors similar to what Spy Alelo posted in any of the logs.

    • Official Post

    I had a similar error caused by the openmediavault-sftp configuration which tries to add a different module which is in the base config:

    rsyslogd: module 'imuxsock' already in this config, cannot be added

    same here

    I deleted openmediavault-sftp.conf as I do not have the plugin installed any more. Afterwards the configuration changes could be installed.

    No /etc/rsyslog.d/openmediavault-pamtally2.conf here.

  • This has fixed my issue thank you!

    • Official Post

    I will look at the sftp plugin when I get caught up. I have been out for a week at a conference.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Worked for me too thanks, should we uncomment it back after applying change in te webui or leave it like that?

    • Official Post

    openmediavault-sftp 7.0.4 update in the repo now. No need to manually fix it.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • I also had an error, when trying to apply the latest updates. Complaints about rsyslog.

    Read the notes for the latest package at https://www.openmediavault.org/?p=3941

    After reading this, I renamed /etc/rsyslog.d/openmediavault-pamtally2.conf to something else, and then, applying configuration changes seemed successful. The time stamp of the file /etc/rsyslog.d/openmediavault-pamtally2.conf was 2017-07-06, over 8 years old (but younger, than the age of my server, where I had installed OMV in the year 2016). Thanks!

    OMV 4.1.13-1 (typically everything up to date), only plugin: flash memory; HP Microserver, 4 internal ext4 HDDs, SSD for OS, SD-Card for booting (can't boot on SSD with 4 HDD used …), external USB3 HDDs (ext4 + NTFS)

  • Had the same issue, where I had previously both rsyslog and sftp once upon a time configured, but no longer.


    Removing both of the below files fixed it for me.


    $ sudo rm /etc/rsyslog.d/openmediavault-sftp.conf

    $ sudo rm /etc/rsyslog.d/openmediavault-pamtally2.conf


    If it might help in future, I also have the following files in that path:


    /etc/rsyslog.d/openmediavault-pamfaillock.conf

    /etc/rsyslog.d/openmediavault-remote.conf

    • Official Post

    Removing both of the below files fixed it for me.

    You shouldn't have had to remove the first one because it would be re-written by the update. But also doesn't hurt to remove.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Official Post

    It wouldn't apply the changes until I removed both.

    Order is important. installing the sftp plugin automatically rewrote the config file which was required to rewrite the omv rsyslog configs but it is likely the pamtally config had to be removed first. I didn't have that file on any system.

    omv 8.1.1-1 synchrony | 6.17 proxmox kernel

    plugins :: omvextrasorg 8.0.2 | kvm 8.0.7 | compose 8.1.5 | cterm 8.0 | borgbackup 8.1.7 | cputemp 8.0 | mergerfs 8.0 | scripts 8.0.1 | writecache 8.1.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Order is important. installing the sftp plugin automatically rewrote the config file which was required to rewrite the omv rsyslog configs but it is likely the pamtally config had to be removed first. I didn't have that file on any system.

    I'm not sure you read my posts correctly.


    1. once upon a time, I had SFTP plugin installed but removed it long ago

    2. the recent updates wouldn't apply due to the same errors people are experiencing above in this thread

    3. i removed the pamtally2 file first as indicated by posts above and tried to apply update - it still failed

    4. i removed the sftp file as there was a mention in this thread (and i haven't run the plugin for a while now) - this worked

Participate now!

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