runfalk / synology-wireguard

WireGuard support for some Synology NAS drives
MIT License
920 stars 131 forks source link

Can't install it on my DS918+ #54

Open TheZoker opened 3 years ago

TheZoker commented 3 years ago

Every time I try to install the latest package, I get this error: Screenshot_2020 09 22_18h47m46s_003_

I already restarted my synology but no change.

Any idea what causes this? Trust level is set to "Any publisher": image

runfalk commented 3 years ago

Does it work with a previous version?

Did you already have a version installed when you tried this one? I've always uninstalled the old one before upgrading.

TheZoker commented 3 years ago

Thanks for the quick reply!

Yes I had a version installed and uninstalled it. Since then I can't install any other version anymore

runfalk commented 3 years ago

Curious.

Could you provide log files after you have tried to install? (https://www.synology.com/en-global/knowledgebase/DSM/help/LogCenter/logcenter_search)

Do you have SSH access? If so could you check the contents of /usr/local/bin/. The installer creates symlinks there. It would also be nice to see if the wireguard folder is still there. It usually installs into one of the volume folder. I don't remember the exact location off the top of my head.

TheZoker commented 3 years ago

I checked the logs, but unfortunately there is no entry

It seems, that there is no wireguard folder left in /usr/local/bin/ Screenshot_2020 09 23_11h26m36s_005_

I never actually had wireguard running (yet), so I'm not sure if there is a wireguard folder anywhere 🤔

runfalk commented 3 years ago

This is where the wireguard files themselves are installed on my device:

$ ls "/volume1/@appstore/WireGuard/wireguard/"
wg  wg-quick  wireguard.ko

Can you make sure there are no remnants of such a package?

To be honest I don't really know how to troubleshoot this any further. I assume you have already tried to reboot the device?

TheZoker commented 3 years ago

There is no folder left: Screenshot_2020 09 23_12h48m21s_006_

Yes I also rebooted the device multiple times. Maybe I try to contact synology support for this. Let me know, if there is anything I can try/test 🙂 Thanks anyway!

runfalk commented 3 years ago

Technically it could be there on a different volume (like /volume2).

If you manage to get in touch with them it'd be helpful to know if there is a way to detect why an SPK fails to install. If the error message is visible somewhere. I do suspect they will be unhelpful since this is a 3rd party package though.

Matige commented 3 years ago

The issues is quite old, but if there is still such an error I suggest trying to install the package from CLI. This should give more information about the installation error.

sudo synopkg install <package.spk>