mirror of
https://github.com/007revad/Synology_HDD_db.git
synced 2026-04-25 13:45:59 +03:00
[GH-ISSUE #272] Disable non-Synology recommended memory module configurations message. #98
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Synology_HDD_db#98
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @costispavlou on GitHub (Apr 1, 2024).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/272
what is the command to disable this message?
I tried
but still pops up after restart.
@007revad commented on GitHub (Apr 1, 2024):
Run the script with
-nror--noupdate --ramThe
-nor--noupdatewill prevent DSM updating the drive databases when the NAS boots, when you insert a different drive etc.Is there any reason why your DS1618+ is still on DSM 7.1.1 when 7.2.1 is available?
@costispavlou commented on GitHub (Apr 1, 2024):
so it should be
sudo -s /volume1/data/Backup/Synology/Synology_HDD_db-3.4.87/syno_hdd_db.sh -nr?I haven't noticed there was an update. it shows I'm up to date. any ideas?
@costispavlou commented on GitHub (Apr 1, 2024):
using the above command does nothing
@costispavlou commented on GitHub (Apr 1, 2024):
no idea what's going on..
@007revad commented on GitHub (Apr 1, 2024):
Correct.
If I remember correctly for some older models DSM 7.1.1 did not notify you that DSM 7.2 was available. So people with models older than '20 series needed to download the 7.2 pat.
https://www.synology.com/en-global/support/download/DS1618+?version=7.2#system
@costispavlou commented on GitHub (Apr 1, 2024):
it doesn't work.. after boot it still sends the same message
@007revad commented on GitHub (Apr 1, 2024):
That's weird because the Synology website says you can go from 7.1.1 to "7.2.1 (with update 1)"... which actually surprised me because because normally it says things like "7.1.1 to 7.2 to 7.2.1"
Try 7.2
https://global.synologydownload.com/download/DSM/release/7.2/64570-1/DSM_DS1618%2B_64570.pat
Then 7.2.1 (with update 1)
https://global.synologydownload.com/download/DSM/release/7.2.1/69057-1/DSM_DS1618%2B_69057.pat
Then 7.2.1 update 4
https://global.synologydownload.com/download/DSM/criticalupdate/update_pack/69057-4/synology_denverton_1618%2B.pat
@007revad commented on GitHub (Apr 1, 2024):
Did you clear the old message?
@costispavlou commented on GitHub (Apr 2, 2024):
i did yeah.
@costispavlou commented on GitHub (Apr 2, 2024):
is it -s or -i ?
@007revad commented on GitHub (Apr 2, 2024):
You can use sudo -i or sudo -s
You are better off scheduling the script to run at boot up.
https://github.com/007revad/Synology_HDD_db/blob/main/how_to_schedule.md
For step 8 in the screenshot, or step 9 in instructions, of setting up the scheduled task you would enter:
/volume1/data/Backup/Synology/Synology_HDD_db-3.4.87/syno_hdd_db.sh -nrDid you manage to update to DSM 7.2.1 ?
@costispavlou commented on GitHub (Apr 2, 2024):
i've found the fix yes, but did not update yet, i'll probably do it today though. I'm just afraid that it will auto update an app (surveillence station) that i do not want to update. But i'll probably reinstall it later since if that happens.
As far as the script goes, does it need to always run at boot? or once and then never again ?
What i did was to run the script and then reboot to check if it worked (which it didnt).
I tried both -s and -i. But i did not schedule it to run at boot.
@007revad commented on GitHub (Apr 2, 2024):
The script only needs to be run after a DSM update, but it's easier to just schedule it at boot up because DSM can update itself sometimes.
`Do both the following commands return "127.0.0.1" ?synogetkeyvalue /etc.defaults/synoinfo.conf drive_db_test_urlsynogetkeyvalue /etc/synoinfo.conf drive_db_test_urlThat should have been do both the following commands return "no" ?
@costispavlou commented on GitHub (Apr 2, 2024):
you mean ssh on it and run these two commands?
it's off right now but i will test in an hour or so when it boots and report back with the result of the two commands.
Thanks for your help!
@007revad commented on GitHub (Apr 2, 2024):
Yes.
I'm wondering if this unique to the DS1618+. Like the DVA1622 and DVA1321 which have the same problem and I had to add an extra command in syno_hdd_db.sh for those models.
Try this command and see if it stops the memory warnings:
@costispavlou commented on GitHub (Apr 2, 2024):
This worked. Thank you!
@007revad commented on GitHub (Apr 2, 2024):
Interesting.
I just checked synoninfo.conf for all 115 NAS models that support DSM 7.2 and 77 of them do not have support_memory_compatibility
So setting
support_memory_compatibility="no"only works on 38 NAS models.The other 77 need
synosetkeyvalue /usr/lib/systemd/system/SynoMemCheck.service ExecStart /bin/true@x-magic commented on GitHub (Jul 14, 2024):
DS1819+ won't work with
support_memory_compatibilityeither. Needs to stop the service to disable the message.Seems
support_memory_compatibilitydoesn't exist on this model by default:@007revad commented on GitHub (Jul 14, 2024):
@x-magic
I notice that only 11 models have support_memory_limitation instead of support_memory_compatibility
What happens if you disable support_memory_limitation but leave SynoMemCheck.service enabled ?
If the script was run with the -r or --ram option, and support_memory_compatibility does not exist in synoinfo.conf, the script disables the SynoMemCheck.service
@x-magic commented on GitHub (Jul 14, 2024):
@007revad
I'll try it out. Just not sure when will my NAS reboot next time, but will certainly follow up.Yup, the notification is gone. DS1819+