Cannot access File Systems tab

    • OMV 4.x
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • Cannot access File Systems tab

      When I try to access my File Systems tab the screen won't load. The tab "System Information" gives the unspecified error "
      An error has occured" (details: Error #0:), but eventually loads except the disk related performance statistics "Disk I/O" and "Disk usage".

      The system logs showed mount errors for a missing (old) file system. I manually cleaned them from /etc/monit/conf.d/openmediavault-filesystem.conf and /etc/openmediavault/config.xml

      After that I don't see mount errors anymore but still cannot access the File Systems tab and get the same error when clicking on System Information.

      I see loads of errors like this one (they are in syslog since the beginning of this) with changing [numbers] in the first line and as far as I can tell for each of my filesystems in the line getBackendById('/dev/disk/by-id...')

      Source Code

      1. Jan 4 18:20:58 nas omv-engined[4015]: PHP Fatal error: Uncaught TypeError: Argument 2 passed to array_keys_exists() must be of the type array, null given, called in /usr/share/php/openmediavault/system/filesystem/backend/manager.inc on line 284 and defined in /usr/share/php/openmediavault/functions.inc:140#012Stack trace:#012#0 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(284): array_keys_exists(Array, NULL)#012#1 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(130): OMV\System\Filesystem\Backend\Manager->enumerate()#012#2 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(225): OMV\System\Filesystem\Backend\Manager->getBackendById('/dev/disk/by-id...')#012#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(612): OMVRpcServiceFileSystemMgmt->{closure}()#012#4 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(284): OMV\Rpc\ServiceAbstract->asyncProc(Object(Closure))#012#5 [internal function]: OMVRpcServiceFileSystemMgmt->enumerateMountedFilesystems(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): in /usr/share/php/openmediavault/functions.inc on line 140

      I cannot find anything else in this forum that I could do. Does anyone have another idea?


      Edit: I guess '/dev/disk/by-id...' could refer to the missing filesystem, for all other FS there's the name in the respective errors.

      Source Code

      1. Jan 4 18:20:58 nas omv-engined[4010]: PHP Fatal error: Uncaught TypeError: Argument 2 passed to array_keys_exists() must be of the type array, null given, called in /usr/share/php/openmediavault/system/filesystem/backend/manager.inc on line 284 and defined in /usr/share/php/openmediavault/functions.inc:140#012Stack trace:#012#0 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(284): array_keys_exists(Array, NULL)#012#1 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(130): OMV\System\Filesystem\Backend\Manager->enumerate()#012#2 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(225): OMV\System\Filesystem\Backend\Manager->getBackendById('tank')#012#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(612): OMVRpcServiceFileSystemMgmt->{closure}()#012#4 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(284): OMV\Rpc\ServiceAbstract->asyncProc(Object(Closure))#012#5 [internal function]: OMVRpcServiceFileSystemMgmt->enumerateMountedFilesystems(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func in /usr/share/php/openmediavault/functions.inc on line 140
      2. Jan 4 18:20:58 nas omv-engined[3997]: PHP Fatal error: Uncaught TypeError: Argument 2 passed to array_keys_exists() must be of the type array, null given, called in /usr/share/php/openmediavault/system/filesystem/backend/manager.inc on line 284 and defined in /usr/share/php/openmediavault/functions.inc:140#012Stack trace:#012#0 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(284): array_keys_exists(Array, NULL)#012#1 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(130): OMV\System\Filesystem\Backend\Manager->enumerate()#012#2 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(225): OMV\System\Filesystem\Backend\Manager->getBackendById('tank')#012#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(612): OMVRpcServiceFileSystemMgmt->{closure}()#012#4 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(284): OMV\Rpc\ServiceAbstract->asyncProc(Object(Closure))#012#5 [internal function]: OMVRpcServiceFileSystemMgmt->enumerateMountedFilesystems(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func in /usr/share/php/openmediavault/functions.inc on line 140
      3. Jan 4 18:20:58 nas omv-engined[4015]: PHP Fatal error: Uncaught TypeError: Argument 2 passed to array_keys_exists() must be of the type array, null given, called in /usr/share/php/openmediavault/system/filesystem/backend/manager.inc on line 284 and defined in /usr/share/php/openmediavault/functions.inc:140#012Stack trace:#012#0 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(284): array_keys_exists(Array, NULL)#012#1 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(130): OMV\System\Filesystem\Backend\Manager->enumerate()#012#2 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(225): OMV\System\Filesystem\Backend\Manager->getBackendById('/dev/disk/by-id...')#012#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(612): OMVRpcServiceFileSystemMgmt->{closure}()#012#4 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(284): OMV\Rpc\ServiceAbstract->asyncProc(Object(Closure))#012#5 [internal function]: OMVRpcServiceFileSystemMgmt->enumerateMountedFilesystems(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): in /usr/share/php/openmediavault/functions.inc on line 140
      4. Jan 4 18:20:58 nas omv-engined[3996]: PHP Fatal error: Uncaught TypeError: Argument 2 passed to array_keys_exists() must be of the type array, null given, called in /usr/share/php/openmediavault/system/filesystem/backend/manager.inc on line 284 and defined in /usr/share/php/openmediavault/functions.inc:140#012Stack trace:#012#0 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(284): array_keys_exists(Array, NULL)#012#1 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(130): OMV\System\Filesystem\Backend\Manager->enumerate()#012#2 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(225): OMV\System\Filesystem\Backend\Manager->getBackendById('/dev/mapper/nas...')#012#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(612): OMVRpcServiceFileSystemMgmt->{closure}()#012#4 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(284): OMV\Rpc\ServiceAbstract->asyncProc(Object(Closure))#012#5 [internal function]: OMVRpcServiceFileSystemMgmt->enumerateMountedFilesystems(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): in /usr/share/php/openmediavault/functions.inc on line 140
      5. Jan 4 18:20:58 nas omv-engined[4002]: PHP Fatal error: Uncaught TypeError: Argument 2 passed to array_keys_exists() must be of the type array, null given, called in /usr/share/php/openmediavault/system/filesystem/backend/manager.inc on line 284 and defined in /usr/share/php/openmediavault/functions.inc:140#012Stack trace:#012#0 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(284): array_keys_exists(Array, NULL)#012#1 /usr/share/php/openmediavault/system/filesystem/backend/manager.inc(130): OMV\System\Filesystem\Backend\Manager->enumerate()#012#2 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(225): OMV\System\Filesystem\Backend\Manager->getBackendById('hypophysis')#012#3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(612): OMVRpcServiceFileSystemMgmt->{closure}()#012#4 /usr/share/openmediavault/engined/rpc/filesystemmgmt.inc(284): OMV\Rpc\ServiceAbstract->asyncProc(Object(Closure))#012#5 [internal function]: OMVRpcServiceFileSystemMgmt->enumerateMountedFilesystems(Array, Array)#012#6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_use in /usr/share/php/openmediavault/functions.inc on line 140