[GH-ISSUE #75] Script Command Not Found #29

Closed
opened 2026-03-07 19:14:11 +03:00 by kerem · 5 comments
Owner

Originally created by @shiphted on GitHub (May 4, 2023).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/75

I downloaded the tar file to /volume1/scripts/Synology_HDD_db-2.2.45/syno_hdd_db.sh

I am on an RS2423+ on the newest firmware

I used the command
sudo /volume1/scripts/Synology_HDD_db-2.2.45/syno_hdd_db.sh -nr

Error I get:
sudo: /volume1/scripts/Synology_HDD_db-2.2.45/syno_hdd_db.sh: command not found

Any reason why or is it just something I'm doing wrong?

Originally created by @shiphted on GitHub (May 4, 2023). Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/75 I downloaded the tar file to /volume1/scripts/Synology_HDD_db-2.2.45/syno_hdd_db.sh I am on an RS2423+ on the newest firmware I used the command sudo /volume1/scripts/Synology_HDD_db-2.2.45/syno_hdd_db.sh -nr Error I get: sudo: /volume1/scripts/Synology_HDD_db-2.2.45/syno_hdd_db.sh: command not found Any reason why or is it just something I'm doing wrong?
kerem closed this issue 2026-03-07 19:14:12 +03:00
Author
Owner

@007revad commented on GitHub (May 5, 2023):

You need to replace /volume1/scripts/ with the volume and folder where the script is located on your Synology.

<!-- gh-comment-id:1535630066 --> @007revad commented on GitHub (May 5, 2023): You need to replace /volume1/scripts/ with the volume and folder where the script is located on your Synology.
Author
Owner

@shiphted commented on GitHub (May 5, 2023):

Interesting. Ill try to figure that out as I just ssh'ed in and su root.

<!-- gh-comment-id:1535631091 --> @shiphted commented on GitHub (May 5, 2023): Interesting. Ill try to figure that out as I just ssh'ed in and su root.
Author
Owner

@shiphted commented on GitHub (May 5, 2023):

You need to replace /volume1/scripts/ with the volume and folder where the script is located on your Synology.

So when I am in the directory of the file and i issue pwd command it shows the same path as listed above. Its gotta be something simple im missing.

<!-- gh-comment-id:1535632794 --> @shiphted commented on GitHub (May 5, 2023): > You need to replace /volume1/scripts/ with the volume and folder where the script is located on your Synology. So when I am in the directory of the file and i issue pwd command it shows the same path as listed above. Its gotta be something simple im missing.
Author
Owner

@007revad commented on GitHub (May 5, 2023):

So you do have the script in a shared folder named scripts on volume1

What does the following command return: ls /volume1/scripts/

<!-- gh-comment-id:1535639378 --> @007revad commented on GitHub (May 5, 2023): So you do have the script in a shared folder named scripts on volume1 What does the following command return: `ls /volume1/scripts/`
Author
Owner

@shiphted commented on GitHub (May 5, 2023):

I figured it out. I ended up uploading the script rather than wget from ssh.

<!-- gh-comment-id:1535644541 --> @shiphted commented on GitHub (May 5, 2023): I figured it out. I ended up uploading the script rather than wget from ssh.
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#29
No description provided.