mirror of
https://github.com/007revad/Synology_HDD_db.git
synced 2026-04-25 13:45:59 +03:00
[GH-ISSUE #75] Script Command Not Found #29
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#29
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 @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?
@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.
@shiphted commented on GitHub (May 5, 2023):
Interesting. Ill try to figure that out as I just ssh'ed in and su root.
@shiphted commented on GitHub (May 5, 2023):
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.
@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/@shiphted commented on GitHub (May 5, 2023):
I figured it out. I ended up uploading the script rather than wget from ssh.