The installation or repair took too long or failed. Try again?

3,341 views
Skip to first unread message

AlarmMonitor

unread,
Dec 8, 2017, 11:29:22 AM12/8/17
to tunnelblick-discuss
The problem happens with any version I try to installed even older version.  Did not have the problem before upgrading to mac os high sierra.  Not sure if is related to OS or Tunnelblick.  I see many threads wit similar problem but not definite solution.

system.log output:

Dec  8 11:22:20 JLA-MacBook-Air Tunnelblick[895]: Tunnelblick: OS X 10.13.2; Tunnelblick 3.7.5beta04 (build 4970)

Dec  8 11:22:21 JLA-MacBook-Air Tunnelblick[895]: Tunnelblick cannot run when it is on /Volumes because the volume has the MNT_NOSUID statfs flag set.

Dec  8 11:22:28 JLA-MacBook-Air Tunnelblick[895]: Tunnelblick needs to:

  • Be installed in /Applications as Tunnelblick

  • Change ownership and permissions of the program to secure it

  • Secure configurations

Dec  8 11:22:28 JLA-MacBook-Air Tunnelblick[895]: Beginning installation or repair

Dec  8 11:22:30 JLA-MacBook-Air Tunnelblick[895]: Need to replace and/or reload 'tunnelblickd':

    tunnelblickdHashOK   = YES

    launchctlPlistHashOK = YES

    tunnelblickdPlistOK  = YES

    socketOK             = NO

Dec  8 11:22:30 JLA-MacBook-Air Tunnelblick[895]: installer did not make the necessary changes


Tunnelblick developer

unread,
Dec 8, 2017, 11:53:34 AM12/8/17
to tunnelblick-discuss
Please try the following:
  1. Restart your computer.
  2. Copy the Tunnelblick application from the downloaded disk image to your Desktop
  3. Double-click the copy on the Desktop.
If that doesn't help, please include all of the log entries. There should be a lot more in the log. For example:
 
12/8/17 11:42:15.645 AM Tunnelblick[88035]: Tunnelblick needs to:
  • Be installed in /Applications as Tunnelblick
  • Change ownership and permissions of the program to secure it
  • Secure configurations
12/8/17 11:42:15.646 AM Tunnelblick[88035]: Beginning installation or repair
12/8/17 11:42:17.311 AM Tunnelblick[88035]: Installation or repair succeeded; Log:
Tunnelblick installer started 2017-12-08 11:42:15. 1 arguments: 0x0017
Moved /Applications/Tunnelblick.app to the Trash
Copied /Users/jonathanbullard/Documents/Development/Tunnelblick/TBReleasePrep/0-ReleasePrep/Archive/Tunnelblick Release 3.7.5beta04 build 4970 rlsNotes with unsubstituted GIT_HASH_AND_DATE/Signed/Tunnelblick.app to /Applications/Tunnelblick.app
Removed all 'com.apple.quarantine' extended attributes
Changed ownership of /Applications/Tunnelblick.app and its contents from 501:80 to 0:0
Tunnelblick installer finished without error

AlarmMonitor

unread,
Dec 8, 2017, 1:30:53 PM12/8/17
to tunnelblick-discuss
OK I tried as suggested:

1. Delete all previously downloaded versions
2. Reboot
3. Download beta version and copy to desktop
4. Double click install image from desktop folder
5. Same results.

I tried,

sudo chown 0:0 /Library/LaunchDaemons/net.tunnelblick.tunnelblick.tunnelblickd.plist

sudo chmod 644 /Library/LaunchDaemons/net.tunnelblick.tunnelblick.tunnelblickd.plist


When running the application from the Application folder it always ask for password to complete the setup and it goes into the same error.

The /Volume MNT_NOSUID flag may have something to do but I am using the same user and password.
Not sure about SOCKET != OK

Also /volume/Tunnelblick remains mounted after quit from the gui retry.

I do not have any anti virus installed.  Please advise thank you.

The /var/log/Tunnelblick dir is empty.

The following from system.log

Dec  8 12:43:15 JLA-MacBook-Air Tunnelblick[747]: Tunnelblick: OS X 10.13.2; Tunnelblick 3.7.5beta04 (build 4970)

Dec  8 12:43:15 JLA-MacBook-Air Tunnelblick[747]: Tunnelblick cannot run when it is on /Volumes because the volume has the MNT_NOSUID statfs flag set.

Dec  8 12:43:45 JLA-MacBook-Air fud[754]: objc[754]: Class MobileAssetUpdater is implemented in both /System/Library/PrivateFrameworks/MobileAccessoryUpdater.framework/Support/fud (0x10381fe10) and /System/Library/AccessoryUpdaterBundles/ApplePowerAccessoryUpdater.bundle/Contents/MacOS/ApplePowerAccessoryUpdater (0x10392d8f8). One of the two will be used. Which one is undefined.

Dec  8 12:43:51 JLA-MacBook-Air Tunnelblick[747]: Tunnelblick needs to:

  • Be installed in /Applications as Tunnelblick

  • Change ownership and permissions of the program to secure it

  • Secure configurations

Dec  8 12:43:51 JLA-MacBook-Air Tunnelblick[747]: Beginning installation or repair

Dec  8 12:43:53 JLA-MacBook-Air Tunnelblick[747]: Need to replace and/or reload 'tunnelblickd':

    tunnelblickdHashOK   = YES

    launchctlPlistHashOK = YES

    tunnelblickdPlistOK  = YES

    socketOK             = NO

Dec  8 12:43:53 JLA-MacBook-Air Tunnelblick[747]: installer did not make the necessary changes

Dec  8 12:43:58 JLA-MacBook-Air Tunnelblick[747]: Retrying execution of installer

Dec  8 12:43:59 JLA-MacBook-Air Tunnelblick[747]: Need to replace and/or reload 'tunnelblickd':

    tunnelblickdHashOK   = YES

    launchctlPlistHashOK = YES

    tunnelblickdPlistOK  = YES

    socketOK             = NO

Dec  8 12:43:59 JLA-MacBook-Air Tunnelblick[747]: installer did not make the necessary changes

Dec  8 12:44:01 JLA-MacBook-Air Tunnelblick[747]: Retrying execution of installer

Dec  8 12:44:02 JLA-MacBook-Air Tunnelblick[747]: Need to replace and/or reload 'tunnelblickd':

    tunnelblickdHashOK   = YES

    launchctlPlistHashOK = YES

    tunnelblickdPlistOK  = YES

    socketOK             = NO

Dec  8 12:44:02 JLA-MacBook-Air Tunnelblick[747]: installer did not make the necessary changes

Dec  8 12:44:05 JLA-MacBook-Air Tunnelblick[747]: Installation or repair failed; Log:

Tunnelblick installer started 2017-12-08 12:43:51. 1 arguments: 0x0017

Moved /Applications/Tunnelblick.app to the Trash

Copied /Volumes/Tunnelblick/Tunnelblick.app to /Applications/Tunnelblick.app

Removed all 'com.apple.quarantine' extended attributes

Changed ownership of /Applications/Tunnelblick.app and its contents from 501:80 to 0:0

Need to replace and/or reload 'tunnelblickd':

    tunnelblickdHashOK   = YES

    launchctlPlistHashOK = YES

    tunnelblickdPlistOK  = YES

    socketOK             = NO

Replaced /Library/LaunchDaemons/net.tunnelblick.tunnelblick.tunnelblickd.plist

Used launchctl to load tunnelblickd

Tunnelblick installer finished without error

Tunnelblick installer started 2017-12-08 12:43:58. 1 arguments: 0x0016

Moved /Applications/Tunnelblick.app to the Trash

Copied /Volumes/Tunnelblick/Tunnelblick.app to /Applications/Tunnelblick.app

Removed all 'com.apple.quarantine' extended attributes

Changed ownership of /Applications/Tunnelblick.app and its contents from 501:80 to 0:0

Need to replace and/or reload 'tunnelblickd':

    tunnelblickdHashOK   = YES

    launchctlPlistHashOK = YES

    tunnelblickdPlistOK  = YES

    socketOK             = NO

Replaced /Library/LaunchDaemons/net.tunnelblick.tunnelblick.tunnelblickd.plist

Used launchctl to load tunnelblickd

Tunnelblick installer finished without error

Tunnelblick installer started 2017-12-08 12:44:01. 1 arguments: 0x0016

Moved /Applications/Tunnelblick.app to the Trash

Copied /Volumes/Tunnelblick/Tunnelblick.app to /Applications/Tunnelblick.app

Removed all 'com.apple.quarantine' extended attributes

Changed ownership of /Applications/Tunnelblick.app and its contents from 501:80 to 0:0

Need to replace and/or reload 'tunnelblickd':

    tunnelblickdHashOK   = YES

    launchctlPlistHashOK = YES

    tunnelblickdPlistOK  = YES

    socketOK             = NO

Replaced /Library/LaunchDaemons/net.tunnelblick.tunnelblick.tunnelblickd.plist

Used launchctl to load tunnelblickd

Tunnelblick installer finished without error

Dec  8 12:44:05 JLA-MacBook-Air Tunnelblick[747]: applicationShouldTerminate: termination because of Quit; delayed until 'shutdownTunnelblick' finishes

Dec  8 12:44:05 JLA-MacBook-Air Tunnelblick[747]: Need to replace and/or reload 'tunnelblickd':

    tunnelblickdHashOK   = YES

    launchctlPlistHashOK = YES

    tunnelblickdPlistOK  = YES

    socketOK             = NO

Dec  8 12:44:05 JLA-MacBook-Air Tunnelblick[747]: Not unloading kexts and not deleting logs because tunnelblickd is not loaded.

Dec  8 12:44:05 JLA-MacBook-Air Tunnelblick[747]: Finished shutting down Tunnelblick; allowing termination

Dec  8 12:44:13 JLA-MacBook-Air login[771]: USER_PROCESS: 771 ttys000

JLA-MacBook-Air: 

JLA-MacBook-Air: df

Filesystem    512-blocks      Used Available Capacity iused               ifree %iused  Mounted on

/dev/disk1s1   236568496 167050736  66147760    72% 1328200 9223372036853447607    0%   /

devfs                383       383         0   100%     663                   0  100%   /dev

/dev/disk1s4   236568496   2097440  66147760     4%       1 9223372036854775806    0%   /private/var/vm

map -hosts             0         0         0   100%       0                   0  100%   /net

map auto_home          0         0         0   100%       0                   0  100%   /home

/dev/disk2s1       77216     63056     14160    82%     574          4294966705    0%   /Volumes/Tunnelblick

Tunnelblick developer

unread,
Dec 8, 2017, 1:38:19 PM12/8/17
to tunnelblick-discuss
Thanks. The problem is the same as "Paul D" had.

I have the same response:

I can only suggest some general macOS troubleshooting tips:
  • If you have any security software installed (antivirus, etc.), try installing Tunnelblick after disabling it.

  • Do a "Safe Boot" to clear OS caches, then boot normally. You shouldn't do anything while in Safe Mode; just wait for it to finish booting and then restart normally.

  • Use Disk Utility (/Applications/Utilities/Disk Utility) and run First Aid on your startup volume.

Mike Taylor

unread,
Aug 3, 2023, 4:09:55 PM8/3/23
to tunnelblick-discuss
I ran into this error and found it was trying to install into "/Library/Application Support/Tunnelblick" but that directory did not exist.  I fixed my install by doing the following:

cd "/Library/Application Support"
su mkdir Tunnelblick
su chown -R root:wheel

Once I did this and reran the installer, from the default downloads folder nothing special, it all went through ok and Tunnelblick is happy now

Hope that helps you.

Thomas L.

unread,
Aug 4, 2023, 11:33:06 AM8/4/23
to tunnelblick-discuss
cd "/Library/Application Support"
sudo mkdir Tunnelblick

That helps me to install. After that the installtion process is finished now. But I get the same error message now while adding a configuration file...
It seems Tunnelblick has problems with the rights management of current Mac OS operating systems..

Abraham Hanes

unread,
Aug 4, 2023, 4:46:59 PM8/4/23
to tunnelblick-discuss
This worked for me on 2020 Macbook Air M1 on Macos Ventura, thank you so so much I was stuck on this forever. I did have to use sudo instead of su on the commands though.

Sashidhar J

unread,
Nov 3, 2023, 7:44:11 AM11/3/23
to tunnelblick-discuss
This morning I upgraded my tunnelblick and ran into the same issue (the version Im using is Tunnelblick_3.8.8e_build_5779.1.dmg)
The installation succeeded fine. When trying to add my config file (xxxx-x.ovpn) then it throws the error The installation or repair took too long or failed. Try again?
Im using Macbook pro M1 
macOS Monterey
version 12.1

Can someone please help me?

Mike McKeller

unread,
Nov 4, 2023, 2:58:17 PM11/4/23
to tunnelblick-discuss
Same situation for me, excerpt I wasn't upgrading or installing TB. I simply restarted my Mac (M1 Mac Studio running MacOS14.1 w/tunnelblik 3.8.8e) and got this at startup:  "Tunnelblik needs to: . Change ownership and permissions of the program to secure it. Enter your password to allow this.". After I enter my password, I get this:  "The installation or repair took too long or failed. Try again?" If I click "Retry", it just brings back the same message. I tried suggestions from the developers earlier in this thread - Safe Mode and Disk First Aid - but still no luck. Any ideas? Thanks.

Nicole Holzer

unread,
Nov 5, 2023, 1:52:30 PM11/5/23
to tunnelblick-discuss
I'm experiencing the same issues, no matter which version I install, beta, 3.8.8b-e

Thanks for fixing this problem

Jonathan K. Bullard

unread,
Nov 5, 2023, 5:30:20 PM11/5/23
to tunnelbli...@googlegroups.com
This problem should be fixed in Tunnelblick 4.0.0beta11, released two minutes ago.

--
You received this message because you are subscribed to the Google Groups "tunnelblick-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tunnelblick-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tunnelblick-discuss/1ed98e6a-6510-464b-bf79-d3e3a0f25521n%40googlegroups.com.

Martin Petersen

unread,
Nov 7, 2023, 4:51:47 AM11/7/23
to tunnelblick-discuss
Ran into the same problem trying to install Stable Version 3.8.8e. Question: Will this issue fixed in Version 3.8.x or only in 4.0?

Tunnelblick developer

unread,
Nov 7, 2023, 4:57:49 AM11/7/23
to tunnelblick-discuss
It is fixed in the latest beta. When enough people test the beta and report back that it works, it will become the new stable version. It probably will not be back ported to 3.8.8. (You can report on your beta experience back here.)

Duncan Houston

unread,
Nov 7, 2023, 10:02:18 AM11/7/23
to tunnelblick-discuss
I've just tried to install Tunnelblick 4.0.0beta11, but I get the problem as well when trying to add a configuration file.

Strangely, when I use the "Copy console log to clipboard" button, the log seems to have a history from old installs, with today's date. Here are the first few lines...

*Tunnelblick: macOS 11.7.10 (20G1427); Tunnelblick 4.0.0beta11 (build 5910); Admin user

Console Log:

2023-11-07 15:27:40.249050 Tunnelblick[13571] Tunnelblick: macOS 10.16.0; Tunnelblick 3.8.2 (build 5480)
2023-11-07 15:27:40.359034 Tunnelblick[13571] Warning: preferences contain unknown preference 'haveDealtWithAlwaysShowLoginWindow'
2023-11-07 15:27:40.359136 Tunnelblick[13571] Warning: preferences contain unknown preference 'XXXXXXXX-consecutiveSuccessfulIPAddressChanges'

Where XXXXXXXX is a domain name / name relevant to me

Message has been deleted

Tunnelblick developer

unread,
Nov 7, 2023, 10:59:03 PM11/7/23
to tunnelblick-discuss
To anyone (including Duncan Houston) who has this problem with Tunnelblick 4.0.0beta11, please post the contents of

/Library/Application Support/Tunnelblick/tunnelblick-installer-log.txt

after getting the error.

It would also help to let us know if you are installing a new configuration or replacing an old configuration.

Note: it is in /Library..., not ~/Library...

Duncan Houston

unread,
Nov 8, 2023, 12:07:07 AM11/8/23
to tunnelblick-discuss
Ah, seems there is an error in there, thanks:

Tunnelblick installer started 2023-11-07 17:24:13.139492; getuid() = 501; geteuid() = 0; getgid() = 20; getegid() = 20
currentDirectoryPath = '/'; 3 arguments:
     0x0001
     /Users/duncan/Library/Application Support/Tunnelblick/Configurations/smithers.tblk
     /private/var/folders/gc/vkj6fl7528q1mtjsnycg4l1m0000gn/T/net.tunnelblick.tunnelblick-MjDA4l/smithers.tblk
Determined username 'duncan' from getuid(): 501
renamex_np() failed with error 22 ('Invalid argument') trying to rename /Library/Application Support/Tunnelblick/installer-temp to /Users/duncan/Library/Application Support/Tunnelblick/Configurations/smithers.tblk
Tunnelblick installer failed

Duncan Houston

unread,
Nov 8, 2023, 12:09:14 AM11/8/23
to tunnelblick-discuss
And this is an ls of that directory:

Vimes2-4:~ duncan$ ls -la /Library/Application\ Support/Tunnelblick/
total 40
drwxr-xr-x  14 root  wheel  448 Nov  7 17:24 .
drwxr-xr-x  31 root  admin  992 Nov  7 16:20 ..
drwxr-xr-x   2 root  wheel   64 Nov  7 16:20 Logs
drwxr-xr-x   2 root  wheel   64 Nov  7 16:20 Mips
drwxr-xr-x   2 root  wheel   64 Nov  7 16:20 Shared
drwxr-xr-x   2 root  wheel   64 Nov  7 16:20 Tblks
drwxr-xr-x   3 root  wheel   96 Nov  7 16:20 Users
drwxr-xr-x   2 root  wheel   64 Nov  7 17:24 expect-disconnect
drwxr-x---   3 root  wheel   96 Nov  7 17:24 installer-temp
-rw-r--r--   1 root  wheel   17 Nov  7 16:20 last-reboot-info.txt
-rw-r--r--@  1 root  wheel   11 Nov  7 17:24 tunnelblick-authorized-done
-rw-r--r--   1 root  wheel  662 Nov  7 17:24 tunnelblick-installer-log.txt
-rw-r--r--   1 root  wheel   64 Nov  7 16:20 tunnelblickd-hash.txt
-rw-r--r--   1 root  wheel   64 Nov  7 16:20 tunnelblickd-launchctl-plist-hash.txt

Duncan Houston

unread,
Nov 8, 2023, 12:19:22 AM11/8/23
to tunnelblick-discuss
And doing some more Googling, came across this:

If I go to VPN Details, turn admin mode on and in Preferences uncheck "Require administrator authorization to install all configurations", then dragging configurations from a folder in my ~/Documents folder works! If gives a note about needing to change the settings, but not needing authorisation or some such.

Tunnelblick developer

unread,
Nov 8, 2023, 11:29:41 AM11/8/23
to tunnelblick-discuss
Thank you very much, Duncan, for all that info.

One thing: please confirm that this happened when you were running 4.0.0beta11? (You wrote "I've just tried to install Tunnelblick 4.0.0beta11…" but I want to make sure you meant that you did successfully install it.)

Duncan Houston

unread,
Nov 9, 2023, 1:47:34 AM11/9/23
to tunnelblick-discuss
Yes, I am running the latest Beta. Installation went fine, it was just adding the config files where things fell apart.

marco schwarz

unread,
Nov 9, 2023, 8:21:37 PM11/9/23
to tunnelblick-discuss
i also tried to install my config file after installing beta version and the got the error:

Tunnelblick installer started 2023-11-09 21:25:06.075757; getuid() = 501; geteuid() = 0; getgid() = 20; getegid() = 20

currentDirectoryPath = '/'; 3 arguments:
     0x0001
     /Users/Marco/Library/Application Support/Tunnelblick/Configurations/Schwarz.tblk
     /private/var/folders/v2/qfr9jtr578g0w4br6gxzjddc0000gn/T/net.tunnelblick.tunnelblick-1kPcDx/Schwarz.tblk
Determined username 'Marco' from getuid(): 501
renamex_np() failed with error 22 ('Invalid argument') trying to rename /Library/Application Support/Tunnelblick/installer-temp to /Users/Marco/Library/Application Support/Tunnelblick/Configurations/Schwarz.tblk
Tunnelblick installer failed


thx

Irina Dvoretskaya

unread,
Nov 10, 2023, 10:59:27 AM11/10/23
to tunnelblick-discuss
Hi!
I also have problems with installing beta version

Tunnelblick installer started 2023-11-10 17:52:08.074273; getuid() = 502; geteuid() = 0; getgid() = 20; getegid() = 20

currentDirectoryPath = '/'; 3 arguments:
     0x0001
     /Users/irinadvoretskaya/Library/Application Support/Tunnelblick/Configurations/idvoretskaya.tblk
     /private/var/folders/87/29x_4yx10pq2848zgcgxvlq40000gp/T/net.tunnelblick.tunnelblick-y9IBI2/idvoretskaya.tblk
Determined username 'irinadvoretskaya' from getuid(): 502
renamex_np() failed with error 22 ('Invalid argument') trying to rename /Library/Application Support/Tunnelblick/installer-temp to /Users/irinadvoretskaya/Library/Application Support/Tunnelblick/Configurations/idvoretskaya.tblk
Tunnelblick installer failed

пятница, 10 ноября 2023 г. в 04:21:37 UTC+3, marco schwarz:

Philipp Junghannß (My1)

unread,
Nov 14, 2023, 1:24:06 PM11/14/23
to tunnelblick-discuss
Might it be possible to the config into Tunnelblick manually and directly through the file system without needing to worry about what the GUI thinks?

Martin Petersen

unread,
Nov 15, 2023, 8:45:45 AM11/15/23
to tunnelblick-discuss
Installation of the application works fine, the trouble starts with installing the configuration in both the stable and the Beta.

Tim Sansone

unread,
Nov 15, 2023, 10:46:56 AM11/15/23
to tunnelblick-discuss
I started having this exact same problem yesterday. I have the same issue using 3.8.8e and the 4.0.0beta11. Installation works fine, but when I attempt to add a configuration I get "The installation or repair took too long or failed. Try again?" If I click "Retry", it just brings back the same message.

Here's the output from ```tunnelblick-installer-log.txt``` after my latest attempt using 4.0.0beta11:

Tunnelblick installer started 2023-11-15 08:13:05.129498; getuid() = 503; geteuid() = 0; getgid() = 20; getegid() = 20

currentDirectoryPath = '/'; 3 arguments:
     0x0001
     /Users/tim.sansone/Library/Application Support/Tunnelblick/Configurations/tim-laptop.tblk
     /private/var/folders/cf/w1cmwdg563d12lc_3k2l4pjc0000gq/T/net.tunnelblick.tunnelblick-n7Vstn/tim-laptop.tblk
Determined username 'tim.sansone' from getuid(): 503
renamex_np() failed with error 22 ('Invalid argument') trying to rename /Library/Application Support/Tunnelblick/installer-temp to /Users/tim.sansone/Library/Application Support/Tunnelblick/Configurations/tim-laptop.tblk
Tunnelblick installer failed

Thanks for your help!
Message has been deleted

Katrin Bünten

unread,
Nov 15, 2023, 2:07:03 PM11/15/23
to tunnelblick-discuss
Hello,
I also have the same problem. I first deinstall all old versions of Tunnelblick. Then I install the beta version. When I add the configuration file (.ovpn) I get the message "The installation or repair took too long or failed. Try again?" 

Mac (Retina 5K, 27 Zoll, 2019)
macOS Big Sur Version 11.6.8 (20G730)

Thanks,
Katrin Bünten

Tunnelblick developer schrieb am Mittwoch, 15. November 2023 um 19:02:03 UTC+1:

To anyone with this problem:

Please use Tunnelblick 4.0.0beta11; I am not currently investigating this on stable versions.

I have not been able to reproduce this, so I need to find out what is different about your setups (computer, macOS version, etc.). Please

  1. Describe what you were doing (for example, installing a new configuration with a .tblk (or a .ovpn), replacing an old configuration, installing Tunnelblick, etc.). Please use as much detail as possible.
  2. Post the info copied into the Clipboard by the "Copy Diagnostics to Clipboard" button immediately after the problem occurs.

(If you'd rather not post the info publicly, email it to devel...@tunnelblick.net instead of posting here.)


Thanks.

Katrin Bünten

unread,
Nov 15, 2023, 2:13:18 PM11/15/23
to tunnelblick-discuss
and the content of Tunnelblick Installer log.txt

Tunnelblick installer started 2023-11-15 19:58:29.072026; getuid() = 501; geteuid() = 0; getgid() = 20; getegid() = 20

currentDirectoryPath = '/'; 3 arguments:
     0x0001
     /Users/katrinbunten/Library/Application Support/Tunnelblick/Configurations/AVV Aachen.tblk
     /private/var/folders/7w/3gj8bg9561316q4ygpk7cyw80000gn/T/net.tunnelblick.tunnelblick-ZI4KWH/AVV Aachen.tblk
Determined username 'katrinbunten' from getuid(): 501
renamex_np() failed with error 22 ('Invalid argument') trying to rename /Library/Application Support/Tunnelblick/installer-temp to /Users/katrinbunten/Library/Application Support/Tunnelblick/Configurations/AVV Aachen.tblk
Tunnelblick installer failed
Tunnelblick developer schrieb am Mittwoch, 15. November 2023 um 19:02:03 UTC+1:

To anyone with this problem:

Please use Tunnelblick 4.0.0beta11; I am not currently investigating this on stable versions.

I have not been able to reproduce this, so I need to find out what is different about your setups (computer, macOS version, etc.). Please

  1. Describe what you were doing (for example, installing a new configuration with a .tblk (or a .ovpn), replacing an old configuration, installing Tunnelblick, etc.). Please use as much detail as possible.
  2. Post the info copied into the Clipboard by the "Copy Diagnostics to Clipboard" button immediately after the problem occurs.

(If you'd rather not post the info publicly, email it to devel...@tunnelblick.net instead of posting here.)


Thanks.


On Wednesday, November 15, 2023 at 7:46:56 AM UTC-8 Tim Sansone wrote:

Bug Discoverer

unread,
Nov 15, 2023, 4:06:35 PM11/15/23
to tunnelblick-discuss
MacOs Catalina 10.15.7
Tunnelblick 4.0.0beta11 (build 5910)

Solved  "The installation or repair took too long or failed. Try again?" :
 Enter in admin mode (unlock the lock)  and uncheck..
Captura de pantalla 2023-11-15 a las 21.28.42.png

marco schwarz

unread,
Nov 15, 2023, 11:42:11 PM11/15/23
to tunnelblick-discuss
Bug Discoverer: Still the same problem/error :(

Nick Taylor

unread,
Nov 18, 2023, 7:25:49 PM11/18/23
to tunnelblick-discuss
@Duncan - thank you so much for suggesting this - "admin mode on ---> uncheck Require administrator authorizaiton" Once I followed your instructions I was able to drag and drop my config file without any issues.  Only took me 4 hours to find your suggestion.  Thank you!!!!!!

Tunnelblick developer

unread,
Nov 18, 2023, 10:00:36 PM11/18/23
to tunnelblick-discuss
It is not necessary to go into Admin mode to un-check the "Require administrator authorization to install all configurations" checkbox. You'll be asked for an admin's authorization if you try to change the checkbox.''

@Nick -- Were you in Admin mode when you dragged/dropped your configurations?
Message has been deleted

Tunnelblick developer

unread,
Nov 21, 2023, 3:57:47 PM11/21/23
to tunnelblick-discuss
We have released Tunnelblick 4.0.0beta13, which should fix this issue.

If you are still getting "The installation or repair took too long or failed. Try again?" when using 4.0.0beta13, please:
    • Describe what you were doing (for example, installing a new configuration with a .tblk (or a .ovpn), replacing an old configuration, installing Tunnelblick, etc.). Please use as much detail as possible.
    • Post that plus the info copied into the Clipboard by the "Copy Diagnostics to Clipboard" button immediately after the problem occurs. If you prefer, you could email to devel...@tunnelblick.net instead.

    Tunnelblick developer

    unread,
    Nov 26, 2023, 7:59:32 PM11/26/23
    to tunnelblick-discuss
    Everyone: If Tunnelblick 4.0.0beta13 fixes the problem for you, please post a reply saying that. Thanks.

    Matt P

    unread,
    Nov 29, 2023, 1:13:48 PM11/29/23
    to tunnelblick-discuss
    The beta fixes the issue.

    Matt P

    unread,
    Nov 29, 2023, 1:13:49 PM11/29/23
    to tunnelblick-discuss
    Issue occurs when trying to install a new tunnel config (drag drop ovpn file).  After entering password as prompted, the error occurs.

    Failed to execute /Applications/Tunnelblick.app/Contents/Resources/installer: (
        1,
        "/Library/Application Support/Tunnelblick/Shared/vpn-nj.tblk",
        "/private/var/folders/gf/l18d31x15l7bz8xlj124hkth0000gn/T/net.tunnelblick.tunnelblick-7VVR94/vpn-nj.tblk"
    )
    2023-11-29 16:48:04.451 Tunnelblick[57801:3904768] Installation or repair failed; Log:
    Tunnelblick installer started 2023-11-29 16:48:01.114551; getuid() = 501; geteuid() = 0; getgid() = 20; getegid() = 20
    currentDirectoryPath = '/Library/Application Support/Tunnelblick'; 3 arguments:
         0x0001
         /Library/Application Support/Tunnelblick/Shared/vpn-nj.tblk
         /private/var/folders/gf/l18d31x15l7bz8xlj124hkth0000gn/T/net.tunnelblick.tunnelblick-7VVR94/vpn-nj.tblk
    Determined username 'mattp' from getuid(): 501
    renamex_np() failed with error 22 ('Invalid argument') trying to rename /Library/Application Support/Tunnelblick/installer-temp to /Library/Application Support/Tunnelblick/Shared/vpn-nj.tblk
    Tunnelblick installer failed


    Trying the beta...yes, issue appears resolved with the beta.  Thanks.




    Tunnelblick developer

    unread,
    Nov 29, 2023, 1:14:48 PM11/29/23
    to tunnelblick-discuss
    Thanks, Matt P, for reporting that the beta fixed the problem.

    Tunnelblick developer

    unread,
    Nov 29, 2023, 8:57:48 PM11/29/23
    to tunnelblick-discuss
    Tunnelblick 3.8.8f fixes this problem (or these problems).
    Reply all
    Reply to author
    Forward
    0 new messages