[GH-ISSUE #93] ERROR Memory size is not numeric: 'No' #540

Closed
opened 2026-03-11 11:49:40 +03:00 by kerem · 2 comments
Owner

Originally created by @phillipmcmahon on GitHub (Jun 21, 2023).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/93

Running the latest script with -nr flags. I get the following output error

Screenshot 2023-06-21 at 13 45 26

$ sudo dmidecode -t memory | grep "[Ss]ize" Size: 8192 MB Size: No Module Installed Size: 16384 MB Size: No Module Installed

Huge thanks for this script btw, it's an essential!

Originally created by @phillipmcmahon on GitHub (Jun 21, 2023). Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/93 Running the latest script with -nr flags. I get the following output error <img width="587" alt="Screenshot 2023-06-21 at 13 45 26" src="https://github.com/007revad/Synology_HDD_db/assets/1891527/95123807-de0f-42e9-9d07-660927fbeab7"> `$ sudo dmidecode -t memory | grep "[Ss]ize" Size: 8192 MB Size: No Module Installed Size: 16384 MB Size: No Module Installed` Huge thanks for this script btw, it's an essential!
kerem closed this issue 2026-03-11 11:49:46 +03:00
Author
Owner

@007revad commented on GitHub (Jun 22, 2023):

Thank you.

$ sudo dmidecode -t memory | grep "[Ss]ize"
 Size: 8192 MB
 Size: No Module Installed
 Size: 16384 MB
 Size: No Module Installed

Since DSM 7.2 was released, different Synology models' output different information for dmidecode -t memory. I don't know why, and it's not the actual dmidecode binary that's different. I just ran the DS1621xs+ dmidecode binary on a DS720+ with an empty memory slot and it didn't return "No Module Installed" for the empty slot.

# /volume1/scripts/dmidecode_1621xs -t memory | grep "[Ss]ize"
 Size: 2048 MB

I've disabled the warning for non-numeric values - as the script skips them anyway, and will show an error if the total memory size is non-numeric.

I also noticed the script didn't show the current max memory setting.

I've fixed both issues in https://github.com/007revad/Synology_HDD_db/releases/tag/v3.0.56 or you can run v3.0.55 again and let it update itself to 3.0.56

<!-- gh-comment-id:1601864273 --> @007revad commented on GitHub (Jun 22, 2023): Thank you. ``` $ sudo dmidecode -t memory | grep "[Ss]ize" Size: 8192 MB Size: No Module Installed Size: 16384 MB Size: No Module Installed ``` Since DSM 7.2 was released, different Synology models' output different information for dmidecode -t memory. I don't know why, and it's not the actual dmidecode binary that's different. I just ran the DS1621xs+ dmidecode binary on a DS720+ with an empty memory slot and it didn't return "No Module Installed" for the empty slot. ``` # /volume1/scripts/dmidecode_1621xs -t memory | grep "[Ss]ize" Size: 2048 MB ``` I've disabled the warning for non-numeric values - as the script skips them anyway, and will show an error if the total memory size is non-numeric. I also noticed the script didn't show the current max memory setting. I've fixed both issues in https://github.com/007revad/Synology_HDD_db/releases/tag/v3.0.56 or you can run v3.0.55 again and let it update itself to 3.0.56
Author
Owner

@phillipmcmahon commented on GitHub (Jun 22, 2023):

Thanks so much!

<!-- gh-comment-id:1601878024 --> @phillipmcmahon commented on GitHub (Jun 22, 2023): Thanks so much!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Synology_HDD_db#540
No description provided.