Error applying changes in notifications

  • I've got the next error when applying changes in the notification tab.


    kr.,

    Frepke


    Hewlett-Packard HP t620 Quad Core TC (AMD GX-415GA SOC | 6GB)
    omv 5.5 (Usul) | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3

  • Frepke

    Added the Label OMV 5.x
  • There is a secondary db entry there. Don’t know how it got into there.


    If you’re comfortable editing xml try


    nano /etc/openmediavault/config.xml


    And check the section mentioned in the error


    In notifications see if there is duplicate entry for cronapt

  • I've got three entry's in the xml (see below). I removed the last two and now I can apply the new settings.

    But I haven't any clue what I've removed now :(

    When running omv-confadm show conf.system.notification.notification i've got an error:

    -bash: omv-confadm: command not found.

    Hewlett-Packard HP t620 Quad Core TC (AMD GX-415GA SOC | 6GB)
    omv 5.5 (Usul) | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3

    Edited 2 times, last by Frepke ().

  • A yeah sorry is omv-confdbadm


    votdev should you maybe include a db maintain task (postinst or cron or other) to clean the db from duplicate entries or entries that are suppose to only exist once.

    I did it with read instead of show, the result is now (after I removed the two entry's as mentioned before):

    Bash
    sudo omv-confdbadm read conf.system.notification.notification
    [{"uuid": "c1cd54af-660d-4311-8e21-2a19420355bb", "id": "monitprocevents", "enable": true}, {"uuid": "8deb96bd-10d6-4eb8-9e3d-0938f2bcbb30", "id": "monitloadavg", "enable": false}, {"uuid": "03dc067d-1310-45b5-899f-b471a0ae9233", "id": "monitmemoryusage", "enable": true}, {"uuid": "fbf7973e-57a6-4c4a-8b7d-353653b596a5", "id": "monitcpuusage", "enable": true}, {"uuid": "d1ce47d1-d8d5-4f43-9f5c-36a30d818734", "id": "monitfilesystems", "enable": true}, {"uuid": "9be77408-d896-4bf5-9a4f-1adcc16381ec", "id": "mdadm", "enable": true}, {"uuid": "bd784490-a15c-47a9-9930-9f5897804654", "id": "smartmontools", "enable": true}, {"uuid": "394cd565-e463-4094-a6ab-12e80270e9b4", "id": "cronapt", "enable": true}]

    Hewlett-Packard HP t620 Quad Core TC (AMD GX-415GA SOC | 6GB)
    omv 5.5 (Usul) | 64 bit | 5.4 proxmox kernel | omvextrasorg 5.3

  • Frepke

    Added the Label resolved

Participate now!

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