Where are the RPC logs?

  • Hi all,


    I'm having an issue where the RPC "enumerateMountedFilesystems" is failing. This is making it impossible for me to see my filesystems. The GUI is telling me to check the syslog for more information -- but there is none there.


    Where can I find logs about what is going on so I can debug this myself?


    From the command line:


    ```

    root@lalafell:/var/log# omv-rpc -u admin 'FileSystemMgmt' 'enumerateMountedFilesystems' '{"includeroot": true}'

    {"response":null,"error":{"code":0,"message":"","trace":""}}

    ```


    A mounted disk is almost full if it matters:


    ```

    /dev/sda1 11T 11T 11M 100% /srv/dev-disk-by-id-ata-ST12000NE0007-2GT116_ZCH0F6RA-part1

    ```

    • Offizieller Beitrag

    The logs are written to /var/log/syslog.


    If you want to debug thisngs, you might also run these commands:


    Code
    # monit stop omv-engined
    # omv-engined -d -f


    If your done, run


    Code
    # monit start omv-engined
  • Thanks.


    ```

    PHP Fatal error: Declaration of OMV\System\Filesystem\Union::umount($force = false, $lazy = false) must be compatible with OMV\System\Filesystem\FilesystemInterface::umount($force, $lazy, $directory) in /usr/share/php/openmediavault/system/filesystem/union.inc on line 445

    ```


    Looks like something is not installed correctly or there is a bug. I'll poke around the PHP files to see what is going on.

  • Looks like this is being extended by some plugin that I had: https://github.com/OpenMediaVa…39ab5926e58c2fe496f7ea26b


    I did check for a "list of supported" plugins per some migration guide advice, but I couldn't really find such a list (would be nice if it would be included in a post somewhere but the script didn't send me anywhere and Google failed me)


    I'll try uninstalling it and reporting back since searching for "unionfs omv6" shows that it's now just the mergerfs plugin.

  • hilts-vaughan

    Hat das Label gelöst hinzugefügt.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!