Skip to content

Bash not found when installing on SRM 1.3.1-9346 Update 12 #54

@Daniii438

Description

@Daniii438

I have a RT6600AX router, when I try to run the command for SRM it throws the following errors:

~ # wget https://raw.githubusercontent.com/mrikirill/SynologyDDNSCloudflareMultidomain/master/install.sh -O install.sh && sudo bash install.sh
--2024-11-11 21:39:39--  https://raw.githubusercontent.com/mrikirill/SynologyDDNSCloudflareMultidomain/master/install.sh
Resolving raw.githubusercontent.com... 2606:50c0:8001::154, 2606:50c0:8003::154, 2606:50c0:8002::154, ...
Connecting to raw.githubusercontent.com|2606:50c0:8001::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1490 (1.5K) [text/plain]
Saving to: 'install.sh'

install.sh                                       100%[=========================================================================================================>]   1.46K  --.-KB/s    in 0s

2024-11-11 21:39:39 (4.59 MB/s) - 'install.sh' saved [1490/1490]

sudo: bash: command not found

After that I tried to manually install it by first running

wget https://raw.githubusercontent.com/mrikirill/SynologyDDNSCloudflareMultidomain/master/install.sh -O install.sh

which fails with the mentioned output above, now I ran the following command to force the install anyway

~ # sudo sh install.sh

However this command now fails as well with the following output and the DNS service does not get added to the DDNS list

[INFO] Downloading cloudflare.php...
--2024-11-11 21:42:59--  https://raw.githubusercontent.com/mrikirill/SynologyDDNSCloudflareMultidomain/master/cloudflare.php
Resolving raw.githubusercontent.com... 2606:50c0:8001::154, 2606:50c0:8003::154, 2606:50c0:8002::154, ...
Connecting to raw.githubusercontent.com|2606:50c0:8001::154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14826 (14K) [text/plain]
Saving to: '/tmp/cloudflare.php'
/tmp/cloudflare.php                              100%[=========================================================================================================>]  14.48K  --.-KB/s    in 0.001s
2024-11-11 21:43:00 (10.7 MB/s) - '/tmp/cloudflare.php' saved [14826/14826]
[INFO] Copying cloudflare.php to /usr/syno/bin/ddns/cloudflare.php...
[INFO] Changing permissions of cloudflare.php...
[INFO] Adding Cloudflare configuration to ddns_provider.conf...
sudo: bash: command not found
[INFO] Cloudflare configuration added successfully.
[INFO] Deleting the installation script...
[INFO] Installation completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions