Synology NAS does not show up in Device list after installation

I reinstalled the latest version of the Remote.It package for synology today because the SMB connection didn’t work and I noticed the version had been upgraded. I followed the instructions on the site and the package starts without error on the Synology NAS after I have given my licence key. However, when I go to Remote.It Application the NAS does not appear. I have tried stopping and restarting the package on the NAS and deleted and reinstalled the package. No matter what I try I get no error but no NAS device.
I am not on the local network of the NAS but have working access via SSH to both the NAS and a RPi and the NAS GUI was accessed via quickconnect.

I now see that there is an error if I access this page

Warning: file_get_contents(/var/packages/Remoteit/target/app/config.json):
Failed to open stream: No such file or directory in /volume1/@appstore/Remoteit/ui/index.cgi on line 7
Warning: Trying to access array offset on value of type null in /volume1/@appstore/Remoteit/ui/index.cgi on line 9
Warning: Trying to access array offset on value of type null in /volume1/@appstore/Remoteit/ui/index.cgi on line 9

So the installation fails to create /var/packages/Remoteit/target/app/config.json

Any suggestions?

I will have to do more investigation, but it looks like the app install failed for some reason. It does not look like there is a remote.it installation configuration directory.

I have both a remoteit docker and remoteit synology app on mine, I will try to update it.

Surprised that the SMB connection did not work for you as I use this all the time (you do have to install a 3rd party file manager if you are on windows because of file explorer limitations)

In any case I will try the upgrade on my synology and let you know how it goes.

I use owlfiles and have not used it for a while but today it just refused to connect.
That is when I noticed the package had recently been updated to I guessed that might have been the issue. My synology version is 7.2.1.69057

The directory exists and these are the contents: -

Dad@The-Vault:~$ cd /var/packages/Remoteit/target/app
Dad@The-Vault:/var/packages/Remoteit/target/app$
Dad@The-Vault:/var/packages/Remoteit/target/app$
Dad@The-Vault:/var/packages/Remoteit/target/app$ ls -ltR
.:
total 32
-rw-r--r-- 1 Remoteit Remoteit    6 Jul 15 18:02 arch_family
drwxr-xr-x 1 Remoteit Remoteit   38 Jun 26 04:37 arch
-rw-r--r-- 1 Remoteit Remoteit  435 Jun 26 04:37 demuxer.conf
-rwxr-xr-x 1 Remoteit Remoteit 3759 Jun 26 04:37 functions.sh
-rwxr-xr-x 1 Remoteit Remoteit  981 Jun 26 04:37 oem.sh
-rwxr-xr-x 1 Remoteit Remoteit   76 Jun 26 04:37 refresh.sh
-rw-r--r-- 1 Remoteit Remoteit 1366 Jun 26 04:37 schannel.conf
-rwxr-xr-x 1 Remoteit Remoteit 1035 Jun 26 04:37 task_notify.sh
-rw-r--r-- 1 Remoteit Remoteit    6 Jun 26 04:37 version.txt

./arch:
total 0
drwxr-xr-x 1 Remoteit Remoteit 60 Jun 26 04:37 arm64
drwxr-xr-x 1 Remoteit Remoteit 60 Jun 26 04:37 armv7l
drwxr-xr-x 1 Remoteit Remoteit 60 Jun 26 04:37 x86
drwxr-xr-x 1 Remoteit Remoteit 60 Jun 26 04:37 amd64

./arch/arm64:
total 1900
-rwxr-xr-x 1 Remoteit Remoteit  249984 Jun 26 04:37 connectd
-rwxr-xr-x 1 Remoteit Remoteit   55208 Jun 26 04:37 demuxer
-rwxr-xr-x 1 Remoteit Remoteit 1553720 Jun 26 04:37 jq
-rwxr-xr-x 1 Remoteit Remoteit   34728 Jun 26 04:37 muxer
-rwxr-xr-x 1 Remoteit Remoteit   39376 Jun 26 04:37 schannel

./arch/armv7l:
total 1560
-rwxr-xr-x 1 Remoteit Remoteit  231188 Jun 26 04:37 connectd
-rwxr-xr-x 1 Remoteit Remoteit   44904 Jun 26 04:37 demuxer
-rwxr-xr-x 1 Remoteit Remoteit 1255024 Jun 26 04:37 jq
-rwxr-xr-x 1 Remoteit Remoteit   28256 Jun 26 04:37 muxer
-rwxr-xr-x 1 Remoteit Remoteit   31228 Jun 26 04:37 schannel

./arch/x86:
total 1888
-rwxr-xr-x 1 Remoteit Remoteit  215896 Jun 26 04:37 connectd
-rwxr-xr-x 1 Remoteit Remoteit   39456 Jun 26 04:37 demuxer
-rwxr-xr-x 1 Remoteit Remoteit 1621500 Jun 26 04:37 jq
-rwxr-xr-x 1 Remoteit Remoteit   24332 Jun 26 04:37 muxer
-rwxr-xr-x 1 Remoteit Remoteit   27844 Jun 26 04:37 schannel

./arch/amd64:
total 2780
-rwxr-xr-x 1 Remoteit Remoteit  233936 Jun 26 04:37 connectd
-rwxr-xr-x 1 Remoteit Remoteit   47096 Jun 26 04:37 demuxer
-rwxr-xr-x 1 Remoteit Remoteit 2489744 Jun 26 04:37 jq
-rwxr-xr-x 1 Remoteit Remoteit   32424 Jun 26 04:37 muxer
-rwxr-xr-x 1 Remoteit Remoteit   33256 Jun 26 04:37 schannel

Here is the install log from the NAS
Looks like a DNS issue at install.remote.it

2024/07/15 20:42:31	uninstall Remoteit 5.3.2-0001 Begin start-stop-status stop
jq: error: Could not open file /volume1/@appstore/Remoteit/app/config.json: No such file or directory
/var/packages/Remoteit/scripts/start-stop-status: line 55: kill: schannelId: arguments must be process or job IDs
/var/packages/Remoteit/scripts/start-stop-status: line 61: kill: demuxerId: arguments must be process or job IDs
the package has been stopped
2024/07/15 20:42:32	uninstall Remoteit 5.3.2-0001 End start-stop-status stop ret=[0]
2024/07/15 20:42:32	uninstall Remoteit 5.3.2-0001 Begin preuninst
2024/07/15 20:42:32	uninstall Remoteit 5.3.2-0001 End preuninst ret=[0]
2024/07/15 20:42:32	uninstall Remoteit 5.3.2-0001 Begin /bin/rm -rf /volume1/@appstore/Remoteit
2024/07/15 20:42:32	uninstall Remoteit 5.3.2-0001 End /bin/rm -rf /volume1/@appstore/Remoteit ret=[0]
2024/07/15 20:42:32	uninstall Remoteit 5.3.2-0001 Begin /bin/rm -rf /volume1/@apptemp/Remoteit
2024/07/15 20:42:32	uninstall Remoteit 5.3.2-0001 End /bin/rm -rf /volume1/@apptemp/Remoteit ret=[0]
2024/07/15 20:42:32	uninstall Remoteit 5.3.2-0001 Begin postuninst
2024/07/15 20:42:32	uninstall Remoteit 5.3.2-0001 End postuninst ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin preinst
rm: cannot remove '/tmp/schannel.pid': No such file or directory
rm: cannot remove '/tmp/demuxer.pid': No such file or directory
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End preinst ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/mkdir -p /volume1/@appstore/Remoteit -m 755
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/mkdir -p /volume1/@appstore/Remoteit -m 755 ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/rm -rf /volume1/@appstore/Remoteit
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/rm -rf /volume1/@appstore/Remoteit ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/mv -f /volume1/@tmp/synopkg/install.kmgaep/package /volume1/@appstore/Remoteit
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/mv -f /volume1/@tmp/synopkg/install.kmgaep/package /volume1/@appstore/Remoteit ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/rm -rf /var/packages/Remoteit
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/rm -rf /var/packages/Remoteit ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/mkdir -p /var/packages/Remoteit -m 755
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/mkdir -p /var/packages/Remoteit -m 755 ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/touch /var/packages/Remoteit/installing
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/touch /var/packages/Remoteit/installing ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/mv -f /volume1/@tmp/synopkg/install.kmgaep/INFO /var/packages/Remoteit/INFO
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/mv -f /volume1/@tmp/synopkg/install.kmgaep/INFO /var/packages/Remoteit/INFO ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/rm -rf /var/packages/Remoteit/scripts
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/rm -rf /var/packages/Remoteit/scripts ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/mv -f /volume1/@tmp/synopkg/install.kmgaep/scripts /var/packages/Remoteit/scripts
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/mv -f /volume1/@tmp/synopkg/install.kmgaep/scripts /var/packages/Remoteit/scripts ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/rm -rf /var/packages/Remoteit/WIZARD_UIFILES
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/rm -rf /var/packages/Remoteit/WIZARD_UIFILES ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/mv -f /volume1/@tmp/synopkg/install.kmgaep/WIZARD_UIFILES /var/packages/Remoteit/WIZARD_UIFILES
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/mv -f /volume1/@tmp/synopkg/install.kmgaep/WIZARD_UIFILES /var/packages/Remoteit/WIZARD_UIFILES ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/rm -rf /var/packages/Remoteit/conf
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/rm -rf /var/packages/Remoteit/conf ret=[0]
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 Begin /bin/mv -f /volume1/@tmp/synopkg/install.kmgaep/conf /var/packages/Remoteit/conf
2024/07/15 20:43:40	install Remoteit 5.3.2-0001 End /bin/mv -f /volume1/@tmp/synopkg/install.kmgaep/conf /var/packages/Remoteit/conf ret=[0]
2024/07/15 20:43:41	install Remoteit 5.3.2-0001 Begin postinst
Start service installation
Installing remote.it agent.
Updating remote.it configuration.
curl: (6) Could not resolve host: install.remote.it
chmod: cannot access '/var/packages/Remoteit/target/app/config.json': No such file or directory
End service installation
2024/07/15 20:44:49	install Remoteit 5.3.2-0001 End postinst ret=[0]
2024/07/15 20:44:50	install Remoteit 5.3.2-0001 Begin start-stop-status start
server_channel_handler built May  2 2024 at 20:31:04
   Version 0.8.0.1714681816  -  (c)2023 remot3.it, Inc. All Rights Reserved
DeMuxer built Jun 25 2024 at 21:28:04
   Version 0.8.0 - (c)2022 Remot3.it
   Version 0.8.0.1719350832 (c)2019-2022 Remot3.it
Demux started up on 127.0.0.1:65535
jq: error: Could not open file /volume1/@appstore/Remoteit/app/config.json: No such file or directory
the package has been started
2024/07/15 20:44:50	install Remoteit 5.3.2-0001 End start-stop-status start ret=[0]

Solved with a reboot of the NAS.

For some reason it alone could not resolve any DNS address…

Just a single warning now: -
Warning: Undefined array key “claim” in /volume1/@appstore/Remoteit/ui/index.cgi on line 9

Hi Richard. As you probably know not all Synology NAS’s are created equal. Let’s start with the model you are using. Can you look it up at this Synology link and post all the information it has on your model?
https://kb.synology.com/en-me/DSM/tutorial/What_kind_of_CPU_does_my_NAS_have

The next thing we need to know is whether or not your old NAS device is still listed under your account. When viewing the Devices in RemoteIt Desktop make sure that you are filtering by “State” = “All”. If you are filtering by “State” = “Online” then your NAS device might still be there but it would be “Offline”. If you do see your NAS device after checking this then you will want to grab the “Restore Code” from that device. Select your offline NAS device in RemoteIt Desktop, click on the 3 dot menu above the device name, and then click “Restore Device”. Once there you can click on the “Copy code” button that looks like a bar code. Save that registration code as you will use that to re-install everything and it should bring back any services you have.

If you still don’t see your device and you have multiple organizations then make sure you have your “home” organization selected in RemoteIt Desktop assuming that is where you want your NAS device registered. Click on the + to Add Device. Then select “Linux” (not Synology) and click the “Copy code” button that looks like a bar code. That will give you a registration code with an SSH service already ready to go. Save that for installation.

Now that you have a Restore Code or Registration Code let’s clean up and try again.

  1. Uninstall the “Remote it” Synology app.
  2. From the Synology Dashboard open the “Resource Monitor” and make sure there are no “Remote it” tasks running. We are looking for connectd, demuxer, and schannel tasks under the main “Remote it” task. If any of those are running we need to kill them from a terminal or possibly a reboot of your NAS.
  3. Since we uninstalled “Remote it” there shouldn’t be a “/volume1/packages/Remoteit” folder. If there is you need to find a way to remove that folder.
  4. In your RemoteIt Desktop select the + Add Device and this time select Synology which will take you to the download site. Download the latest .spk package which should be “remoteit-5.3.2.spk”.
  5. Now do a “Manual Install” and upload that “remoteit-5.3.2.spk” file that you just downloaded.
  6. Once installed and you get prompted for the Registration Code you can enter either the Restore Code or Registration Code that we saved earlier. Make sure the “Start Remote it” option is checked as well.
  7. Go to Log Center in Synology Dashboard → Main Menu → Log Center. Check the logs and see if anything stands out but it should install successfully.

I have tried to reproduce your problem on our production Synology NAS which needed an upgrade anyway. I have also uninstalled and reinstalled and I just can’t reproduce.