From 6d9de95084697dfc10fcde60209390ec4bc1aad8 Mon Sep 17 00:00:00 2001 From: Dave Russell <39733752+007revad@users.noreply.github.com> Date: Wed, 18 Sep 2024 07:04:11 +1000 Subject: [PATCH] Update README.md --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 55686ed..ff8c81d 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,20 @@ ### Troubleshooting | Cursor sits there doing nothing | File has Windows line endings! | [Download latest zip file](https://github.com/007revad/Synology_HDD_db/releases) | | syntax error near unexpected token | You downloaded the webpage! | [Download latest zip file](https://github.com/007revad/Synology_HDD_db/releases) | +If you get a "No such file or directory" error check the following: + +1. Make sure you downloaded the zip or rar file to a folder on your Synology (not on your computer). +2. Make sure you unpacked the zip or rar file that you downloaded and are trying to run the syno_app_mover.sh file. +3. If the path to the script contains any spaces you need to enclose the path/scriptname in double quotes: + ```YAML + sudo -s "/volume1/my scripts/syno_hdd_db.sh -n" + ``` +4. Set the script file as executable: + ```YAML + sudo chmod +x "/volume1/scripts/syno_hdd_db.sh" + ``` + + ### vendor_ids.txt You only need to edit syno_hdd_vendor_ids.txt if the script warns you about a missing vendor id.