Trying to install on arch linux via the install script, it errors out during the pacman install command. There seems to be an empty bash conditional in the .INSTALL script on line 11
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [##############################################] 100%
(1/1) checking package integrity [##############################################] 100%
(1/1) loading package files [##############################################] 100%
(1/1) checking for file conflicts [##############################################] 100%
(1/1) checking available disk space [##############################################] 100%
warning: could not get file information for pkgbuildinstallations1
:: Processing package changes...
(1/1) reinstalling twingate [##############################################] 100%
/tmp/alpm_BsLI98/.INSTALL: line 11: syntax error near unexpected token `fi'
/tmp/alpm_BsLI98/.INSTALL: line 11: ` fi'
/usr/bin/bash: line 1: post_upgrade: command not found
error: command failed to execute correctly
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
Failed to start twingated
err
Execution returned an error code with the message: Unexpected directory owner
or
Starting Twingate service
Failed to start twingated
Execution returned an error code with the message: Unexpected directory owner
Execution returned an error code with the message: twingate service-start failed
then check permissions and adjust accordingly for /etc/twingate
sudo chown -R root:root /etc/twingate
twingate start
Starting Twingate service
Twingate has been started; user authentication is required for access to Resources
Starting UI notifications
Enabled desktop notifications
This seemed to do the trick for me on a fresh EndeavorOS install.
Good luck.
I’ve worked around the issue I was having - other colleagues did not have similar issues but I am on EndeavorOS and not a vanilla Arch install. There’s also the chance I botched it. Anyway - everything is working great after the little haxxing I did. Seems like the “latest” version is patched?