Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. mdadm RAID monitoring not working

mdadm RAID monitoring not working

Scheduled Pinned Locked Moved Solved Support
5 Posts 2 Posters 852 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • StardenverS Offline
    StardenverS Offline
    Stardenver
    wrote on last edited by
    #1

    Hello

    Moved my cloudron instance to a new sever. Cloudron/OS is running on nvme and I added a RAID1 array of 2 HDD. Was trying to set up an email alert for RAID monitoring using

    mdadm --monitor --scan --daemonize --mail=mailaddress
    

    Server responded with:

    Only one autorebuild process allowed in scan mode, aborting
    

    Is this due to cloudron somehow monitoring the raid or isn't this related to cloudron at all? Actually I don't really care how the RAID array is beeing monitored, as long as I get some kind of notification in case the RAID array fails due to a drive failure.

    Thanks a lot

    1 Reply Last reply
    0
    • StardenverS Offline
      StardenverS Offline
      Stardenver
      wrote on last edited by
      #2

      I just realized that the disk usage tool within cloudron doesn't provide any data as well. No matter how often I click on refresh or Analyze Disk, nothing happens.

      Auswahl_004.png

      I checked logs and it shows the following:

      Sep 03 10:20:49 box:shell startTask (stdout): Service box-task-1559 failed to run
      Sep 03 10:20:49 box:shell startTask (stdout): Service box-task-1559 finished with exit code 1
      Sep 03 10:20:49 box:shell startTask code: 1, signal: null
      Sep 03 10:20:49 box:tasks startTask: 1559 completed with code 1
      Sep 03 10:20:49 box:tasks startTask: 1559 done. error: { stack: "TypeError: Cannot read properties of undefined (reading 'contents')\n" + ' at getDisks (/home/yellowtent/box/src/system.js:108:36)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async updateDiskUsage (/home/yellowtent/box/src/system.js:208:19)', message: "Cannot read properties of undefined (reading 'contents')" }
      Sep 03 10:20:50 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
      Sep 03 10:20:50 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
      Sep 03 10:21:00 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
      Sep 03 10:21:00 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
      

      Whenever I click on Analyze Disk again, it comes up with this:

      Sep 03 10:25:29 box:shell startTask (stdout): Service box-task-1560 failed to run
      Sep 03 10:25:29 box:shell startTask (stdout): Service box-task-1560 finished with exit code 1
      Sep 03 10:25:29 box:shell startTask code: 1, signal: null
      Sep 03 10:25:29 box:tasks startTask: 1560 completed with code 1
      Sep 03 10:25:29 box:tasks startTask: 1560 done. error: { stack: "TypeError: Cannot read properties of undefined (reading 'contents')\n" + ' at getDisks (/home/yellowtent/box/src/system.js:108:36)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async updateDiskUsage (/home/yellowtent/box/src/system.js:208:19)', message: "Cannot read properties of undefined (reading 'contents')" }
      Sep 03 10:25:30 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
      Sep 03 10:25:30 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
      Sep 03 10:25:38 box:scheduler could not run task housekeeping : App not found
      
      girishG 1 Reply Last reply
      0
      • StardenverS Offline
        StardenverS Offline
        Stardenver
        wrote on last edited by
        #3

        Just in case those information are needed:

        Its a Ryzen 7 3700X, OS running on a Samsung MZVL21T0HCLR-00B00 1 TB NVMe and RAID 1 array contains 2x HGST HUH721010AL 10TB HDD

        1 Reply Last reply
        0
        • StardenverS Stardenver

          I just realized that the disk usage tool within cloudron doesn't provide any data as well. No matter how often I click on refresh or Analyze Disk, nothing happens.

          Auswahl_004.png

          I checked logs and it shows the following:

          Sep 03 10:20:49 box:shell startTask (stdout): Service box-task-1559 failed to run
          Sep 03 10:20:49 box:shell startTask (stdout): Service box-task-1559 finished with exit code 1
          Sep 03 10:20:49 box:shell startTask code: 1, signal: null
          Sep 03 10:20:49 box:tasks startTask: 1559 completed with code 1
          Sep 03 10:20:49 box:tasks startTask: 1559 done. error: { stack: "TypeError: Cannot read properties of undefined (reading 'contents')\n" + ' at getDisks (/home/yellowtent/box/src/system.js:108:36)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async updateDiskUsage (/home/yellowtent/box/src/system.js:208:19)', message: "Cannot read properties of undefined (reading 'contents')" }
          Sep 03 10:20:50 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
          Sep 03 10:20:50 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
          Sep 03 10:21:00 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
          Sep 03 10:21:00 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
          

          Whenever I click on Analyze Disk again, it comes up with this:

          Sep 03 10:25:29 box:shell startTask (stdout): Service box-task-1560 failed to run
          Sep 03 10:25:29 box:shell startTask (stdout): Service box-task-1560 finished with exit code 1
          Sep 03 10:25:29 box:shell startTask code: 1, signal: null
          Sep 03 10:25:29 box:tasks startTask: 1560 completed with code 1
          Sep 03 10:25:29 box:tasks startTask: 1560 done. error: { stack: "TypeError: Cannot read properties of undefined (reading 'contents')\n" + ' at getDisks (/home/yellowtent/box/src/system.js:108:36)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async updateDiskUsage (/home/yellowtent/box/src/system.js:208:19)', message: "Cannot read properties of undefined (reading 'contents')" }
          Sep 03 10:25:30 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
          Sep 03 10:25:30 box:apphealthmonitor app health: 22 running / 0 stopped / 0 unresponsive
          Sep 03 10:25:38 box:scheduler could not run task housekeeping : App not found
          
          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @Stardenver the disk usage crash is known. It's fixed in 7.5.2, you can update safely.

          Cloudron does not monitor raid as such, so I think the problem is something else.

          1 Reply Last reply
          0
          • StardenverS Offline
            StardenverS Offline
            Stardenver
            wrote on last edited by
            #5

            Update solved the problem. Will dig into the monitoring problem, which indeed seems to be not cloudron related. Thank you for the reply.

            1 Reply Last reply
            0
            • girishG girish marked this topic as a question on
            • girishG girish has marked this topic as solved on
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search