Re: [tunnelblick-discuss] Upgrade to 3.3beta48 fails

106 views
Skip to first unread message

Jonathan K. Bullard

unread,
May 10, 2013, 3:31:41 PM5/10/13
to tunnelbli...@googlegroups.com, j...@rephunter.net
Thank you for your report. I'm sorry about the problem.

Because you supplied the log info, I can see that you do not seem to be having the conversion problem that was described in https://groups.google.com/d/msg/tunnelblick-discuss/hs-B7Xcr7Ro/kVn1L8PHaxgJ. It is possible that I'm misreading it, but I have another idea about what the problem may be.

I have several versions of config files stored in various directories, and it looks like it is trying to access these other versions which it should not be.

I am not sure I understand what you mean by that. If you mean you have versions that will not connect (because, for example, you moved or copied a configuration file into a directory without also moving or copying the key and certificate files that it references or modifying the path references to those files in the configuration file), then that would definitely cause the conversion to fail.

Try moving all configurations (except those that work) out of the /Configurations folder -- don't put them in a subfolder of that folder, put them somewhere else (the Desktop, for example). Then try Tunnelblick 3.3beta48 again.

If that doesn't work, you may be able to figure out the problem yourself (or ask for more help). The relevant part of the Console log is this, near the end of the log:

As used on imac1/jas-osx.ovpn line 1: Unable to copy file at '/Users/jas/Library/Application Support/Tunnelblick/Configurations/jasosx.crt' to '/Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources/jasosx.crt'
 
Unable to convert /Users/jas/Library/Application Support/Tunnelblick/Configurations/As used on imac1/jas-osx.ovpn to a Tunnelblick private Configuration

Your configuration file
/Users/jas/Library/Application Support/Tunnelblick/Configurations/As used on imac1/jas-osx.ovpn
refers to the following file
/Users/jas/Library/Application Support/Tunnelblick/Configurations/jasosx.crt
and Tunnelblick is trying to copy that .crt file into the new Tunnelblick VPN Configuration.

I suspect that at some point you had the jas-osx.ovpn file in Configurations (not in the "As used on imac1" subfolder of Configurations) and that it contains a reference to "jasosx.crt" (probably a line like "ca jasosx.crt" or "cert jasosx.crt"). You copied or moved the .ovpn file into a subfolder, which means that the reference to "jasosx.crt" will be interpreted (by OpenVPN and by the configuration converter) as an invalid reference, because the "jasosx.crt" file is still in Configurations (that is, it wasn't moved with the .ovpn file).

This seems like a problem very specific to you; if you would rather discuss this in a private email exchange, feel free to reply to me directly, rather than through the Discussion Group.

On Fri, May 10, 2013 at 2:56 PM, <j...@rephunter.net> wrote:
Today I tried to upgrade to 3.3beta48. The upgrade failed with a message about "some components could not be converted" or something like that.

After it failed, I reinstalled the previous version 3.3beta21, which continues to work normally. Below is the relevant portion of the Console Log. I have several versions of config files stored in various directories, and it looks like it is trying to access these other versions which it should not be. But maybe that is not what is happening.

5/10/13 10:26:13.520 AM Tunnelblick[849]: /Applications/Tunnelblick.app not owned by root:wheel
5/10/13 10:26:13.522 AM Tunnelblick[849]: Tunnelblick needs to:
  • Change ownership and permissions of the program to secure it
  • Convert OpenVPN configurations
5/10/13 10:26:23.892 AM Tunnelblick[849]: Beginning installation or repair
5/10/13 10:26:23.893 AM coreservicesd[32]: Application App:"Finder" [ 0x0/0x11011]  @ 0x0x7fb699b33460 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0x101101:) ), so denying.
5/10/13 10:26:23.893 AM WindowServer[120]: [cps/setfront] Failed setting the front application to Finder, psn 0x0-0x11011, securitySessionID=0x186a6, err=-13066
5/10/13 10:26:23.901 AM authexec[860]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:23.954 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
    37
)
5/10/13 10:26:24.955 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:24.959 AM authexec[862]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:25.011 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
    36
)
5/10/13 10:26:27.012 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:27.017 AM authexec[863]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:27.069 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
    36
)
5/10/13 10:26:30.070 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:30.075 AM authexec[864]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:30.127 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
    36
)
5/10/13 10:26:34.127 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:34.132 AM authexec[865]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:34.184 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
    36
)
5/10/13 10:26:34.189 AM Tunnelblick[849]: Installation or repair failed; Log:
Tunnelblick installer started 2013-05-10 10:26:23. 1 arguments: 0x0025

Beginning conversion of .ovpn and .conf configurations to .tblk configurations...
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations with owner 0:80 and permissions 750
Changed ownership of /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations to 501:80
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1 with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources with owner 0:80 and permissions 750
Changed ownership of /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources to 501:80
As used on imac1/jas-osx.ovpn line 1: Copied ca.crt
Changed permissions from 755 to 640 on /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources/ca.crt
As used on imac1/jas-osx.ovpn line 1: Unable to copy file at '/Users/jas/Library/Application Support/Tunnelblick/Configurations/jasosx.crt' to '/Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources/jasosx.crt'
Unable to convert /Users/jas/Library/Application Support/Tunnelblick/Configurations/As used on imac1/jas-osx.ovpn to a Tunnelblick private Configuration
Conversion of .ovpn and .conf configurations to .tblk configurations failed
Tunnelblick installer started 2013-05-10 10:26:24. 1 arguments: 0x0024

Beginning conversion of .ovpn and .conf configurations to .tblk configurations...
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations with owner 0:80 and permissions 750
Changed ownership of /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations to 501:80
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1 with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources with owner 0:80 and permissions 750
Changed ownership of /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources to 501:80
As used on imac1/jas-osx.ovpn line 1: Copied ca.crt
Changed permissions from 755 to 640 on /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources/ca.crt
As used on imac1/jas-osx.ovpn line 1: Unable to copy file at '/Users/jas/Library/Application Support/Tunnelblick/Configurations/jasosx.crt' to '/Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources/jasosx.crt'
Unable to convert /Users/jas/Library/Application Support/Tunnelblick/Configurations/As used on imac1/jas-osx.ovpn to a Tunnelblick private Configuration
Conversion of .ovpn and .conf configurations to .tblk configurations failed
Tunnelblick installer started 2013-05-10 10:26:27. 1 arguments: 0x0024

Beginning conversion of .ovpn and .conf configurations to .tblk configurations...
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations with owner 0:80 and permissions 750
Changed ownership of /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations to 501:80
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1 with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources with owner 0:80 and permissions 750
Changed ownership of /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources to 501:80
As used on imac1/jas-osx.ovpn line 1: Copied ca.crt
Changed permissions from 755 to 640 on /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources/ca.crt
As used on imac1/jas-osx.ovpn line 1: Unable to copy file at '/Users/jas/Library/Application Support/Tunnelblick/Configurations/jasosx.crt' to '/Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources/jasosx.crt'
Unable to convert /Users/jas/Library/Application Support/Tunnelblick/Configurations/As used on imac1/jas-osx.ovpn to a Tunnelblick private Configuration
Conversion of .ovpn and .conf configurations to .tblk configurations failed
Tunnelblick installer started 2013-05-10 10:26:30. 1 arguments: 0x0024

Beginning conversion of .ovpn and .conf configurations to .tblk configurations...
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations with owner 0:80 and permissions 750
Changed ownership of /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations to 501:80
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1 with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources with owner 0:80 and permissions 750
Changed ownership of /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources to 501:80
As used on imac1/jas-osx.ovpn line 1: Copied ca.crt
Changed permissions from 755 to 640 on /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources/ca.crt
As used on imac1/jas-osx.ovpn line 1: Unable to copy file at '/Users/jas/Library/Application Support/Tunnelblick/Configurations/jasosx.crt' to '/Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources/jasosx.crt'
Unable to convert /Users/jas/Library/Application Support/Tunnelblick/Configurations/As used on imac1/jas-osx.ovpn to a Tunnelblick private Configuration
Conversion of .ovpn and .conf configurations to .tblk configurations failed
Tunnelblick installer started 2013-05-10 10:26:34. 1 arguments: 0x0024

Beginning conversion of .ovpn and .conf configurations to .tblk configurations...
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations with owner 0:80 and permissions 750
Changed ownership of /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations to 501:80
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1 with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents with owner 0:80 and permissions 750
Created directory /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources with owner 0:80 and permissions 750
Changed ownership of /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources to 501:80
As used on imac1/jas-osx.ovpn line 1: Copied ca.crt
Changed permissions from 755 to 640 on /Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources/ca.crt
As used on imac1/jas-osx.ovpn line 1: Unable to copy file at '/Users/jas/Library/Application Support/Tunnelblick/Configurations/jasosx.crt' to '/Users/jas/Library/Application Support/Tunnelblick/NewConfigurations/As used on imac1/jas-osx.tblk/Contents/Resources/jasosx.crt'
Unable to convert /Users/jas/Library/Application Support/Tunnelblick/Configurations/As used on imac1/jas-osx.ovpn to a Tunnelblick private Configuration
Conversion of .ovpn and .conf configurations to .tblk configurations failed
5/10/13 10:26:48.809 AM Tunnelblick[849]: applicationShouldTerminate: termination because of an error; delayed until 'shutdownTunnelblick' finishes
5/10/13 10:26:48.823 AM Tunnelblick[849]: DEBUG: shutDownTunnelblick: started.
5/10/13 10:26:48.823 AM Tunnelblick[849]: DEBUG: shutDownTunnelblick: Starting cleanup.
5/10/13 10:26:48.823 AM Tunnelblick[849]: DEBUG: Cleanup: Entering cleanup
5/10/13 10:26:48.823 AM Tunnelblick[849]: DEBUG: Cleanup: Setting callDelegateOnNetworkChange: NO
5/10/13 10:26:48.824 AM Tunnelblick[849]: DEBUG: Cleanup: Will killAllConnectionsIncludingDaemons: NO
5/10/13 10:26:48.824 AM Tunnelblick[849]: DEBUG: killAllConnectionsIncludingDaemons: has checked for active daemons
5/10/13 10:26:48.824 AM Tunnelblick[849]: DEBUG: includeDaemons = 0; noUnknownOpenVPNsRunning = 0; noActiveDaemons = 1 
5/10/13 10:26:48.824 AM Tunnelblick[849]: DEBUG: killAllConnectionsIncludingDaemons: will kill individually
5/10/13 10:26:48.824 AM Tunnelblick[849]: DEBUG: Cleanup: Unloading kexts
5/10/13 10:26:48.959 AM Tunnelblick[849]: DEBUG: Cleanup: Deleting logs
5/10/13 10:26:48.960 AM Tunnelblick[849]: DEBUG: shutDownTunnelblick: Cleanup finished.
5/10/13 10:26:48.960 AM Tunnelblick[849]: Finished shutting down Tunnelblick; allowing termination
5/10/13 10:26:48.960 AM Tunnelblick[849]: DEBUG: applicationWillTerminate: invoked

--
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.
Visit this group at http://groups.google.com/group/tunnelblick-discuss?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

David Miller

unread,
May 10, 2013, 6:35:08 PM5/10/13
to tunnelbli...@googlegroups.com
Mine's also failing.� Relevant log from mine:

��� Mozilla-MTV1-Tunnel.ovpn line 1: Copied Openvpn-dns-config.sh
��� Changed permissions from 775 to 740 on /Users/dave/Library/Application Support/Tunnelblick/NewConfigurations/Mozilla-MTV1-Tunnel.tblk/Contents/Resources/Openvpn-dns-config.sh
��� Mozilla-MTV1-Tunnel.ovpn line 1: Copied 'Token {3609,2}:� 'up''
��� Mozilla-MTV1-Tunnel.ovpn line 1: Unable to copy file at '/Users/dave/Library/Application Support/Tunnelblick/Configurations/Openvpn-dns-config.sh' to '/Users/dave/Library/Application Support/Tunnelblick/NewConfigurations/Mozilla-MTV1-Tunnel.tblk/Contents/Resources/Openvpn-dns-config.sh'
��� Unable to convert /Users/dave/Library/Application Support/Tunnelblick/Configurations/Mozilla-MTV1-Tunnel.ovpn to a Tunnelblick private Configuration

Note that it appears to be failing to copy the same file that it already copied successfully in the previous log entry.� Perhaps what's going on here is the second copy is failing because the file already exists in the destination?� (both the "up" and "down" scripts call the same file, just with different command line options).

May 10, 2013 2:56 PM
Today I tried to upgrade to 3.3beta48. The upgrade failed with a message about "some components could not be converted" or something like that.

After it failed, I reinstalled the previous version 3.3beta21, which continues to work normally. Below is the relevant portion of the Console Log. I have several versions of config files stored in various directories, and it looks like it is trying to access these other versions which it should not be. But maybe that is not what is happening.

5/10/13 10:26:13.520 AM Tunnelblick[849]: /Applications/Tunnelblick.app not owned by root:wheel
5/10/13 10:26:13.522 AM Tunnelblick[849]: Tunnelblick needs to:
� � Change ownership and permissions of the program to secure it
� � Convert OpenVPN configurations
5/10/13 10:26:23.892 AM Tunnelblick[849]: Beginning installation or repair
5/10/13 10:26:23.893 AM coreservicesd[32]: Application App:"Finder" [ 0x0/0x11011] �@ 0x0x7fb699b33460 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0x101101:) ), so denying.
5/10/13 10:26:23.893 AM WindowServer[120]: [cps/setfront] Failed setting the front application to Finder, psn 0x0-0x11011, securitySessionID=0x186a6, err=-13066
5/10/13 10:26:23.901 AM authexec[860]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:23.954 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
� � 37
)
5/10/13 10:26:24.955 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:24.959 AM authexec[862]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:25.011 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
� � 36
)
5/10/13 10:26:27.012 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:27.017 AM authexec[863]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:27.069 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
� � 36
)
5/10/13 10:26:30.070 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:30.075 AM authexec[864]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:30.127 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
� � 36
)
5/10/13 10:26:34.127 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:34.132 AM authexec[865]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:34.184 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
� � 36
5/10/13 10:26:48.824 AM Tunnelblick[849]: DEBUG: includeDaemons = 0; noUnknownOpenVPNsRunning = 0; noActiveDaemons = 1�
5/10/13 10:26:48.824 AM Tunnelblick[849]: DEBUG: killAllConnectionsIncludingDaemons: will kill individually
5/10/13 10:26:48.824 AM Tunnelblick[849]: DEBUG: Cleanup: Unloading kexts
5/10/13 10:26:48.959 AM Tunnelblick[849]: DEBUG: Cleanup: Deleting logs
5/10/13 10:26:48.960 AM Tunnelblick[849]: DEBUG: shutDownTunnelblick: Cleanup finished.
5/10/13 10:26:48.960 AM Tunnelblick[849]: Finished shutting down Tunnelblick; allowing termination
5/10/13 10:26:48.960 AM Tunnelblick[849]: DEBUG: applicationWillTerminate: invoked

--
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.
Visit this group at http://groups.google.com/group/tunnelblick-discuss?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
�
�

Jonathan K. Bullard

unread,
May 10, 2013, 7:04:02 PM5/10/13
to tunnelbli...@googlegroups.com, bugzil...@gmail.com
Note that it appears to be failing to copy the same file that it already copied successfully in the previous log entry.  Perhaps what's going on here is the second copy is failing because the file already exists in the destination?  (both the "up" and "down" scripts call the same file, just with different command line options).

I would guess that is what is happening. I'll look into it.

Thanks for reporting this.

On Fri, May 10, 2013 at 6:35 PM, David Miller <bugzil...@gmail.com> wrote:
Mine's also failing.  Relevant log from mine:


    Mozilla-MTV1-Tunnel.ovpn line 1: Copied Openvpn-dns-config.sh
    Changed permissions from 775 to 740 on /Users/dave/Library/Application Support/Tunnelblick/NewConfigurations/Mozilla-MTV1-Tunnel.tblk/Contents/Resources/Openvpn-dns-config.sh
    Mozilla-MTV1-Tunnel.ovpn line 1: Copied 'Token {3609,2}:  'up''

    Mozilla-MTV1-Tunnel.ovpn line 1: Unable to copy file at '/Users/dave/Library/Application Support/Tunnelblick/Configurations/Openvpn-dns-config.sh' to '/Users/dave/Library/Application Support/Tunnelblick/NewConfigurations/Mozilla-MTV1-Tunnel.tblk/Contents/Resources/Openvpn-dns-config.sh'
    Unable to convert /Users/dave/Library/Application Support/Tunnelblick/Configurations/Mozilla-MTV1-Tunnel.ovpn to a Tunnelblick private Configuration

Note that it appears to be failing to copy the same file that it already copied successfully in the previous log entry.  Perhaps what's going on here is the second copy is failing because the file already exists in the destination?  (both the "up" and "down" scripts call the same file, just with different command line options).

May 10, 2013 2:56 PM
Today I tried to upgrade to 3.3beta48. The upgrade failed with a message about "some components could not be converted" or something like that.

After it failed, I reinstalled the previous version 3.3beta21, which continues to work normally. Below is the relevant portion of the Console Log. I have several versions of config files stored in various directories, and it looks like it is trying to access these other versions which it should not be. But maybe that is not what is happening.

5/10/13 10:26:13.520 AM Tunnelblick[849]: /Applications/Tunnelblick.app not owned by root:wheel
5/10/13 10:26:13.522 AM Tunnelblick[849]: Tunnelblick needs to:
  • Change ownership and permissions of the program to secure it
  • Convert OpenVPN configurations
5/10/13 10:26:23.892 AM Tunnelblick[849]: Beginning installation or repair
5/10/13 10:26:23.893 AM coreservicesd[32]: Application App:"Finder" [ 0x0/0x11011]  @ 0x0x7fb699b33460 tried to be brought forward, but isn't in fPermittedFrontASNs ( ( ASN:0x0-0x101101:) ), so denying.
5/10/13 10:26:23.893 AM WindowServer[120]: [cps/setfront] Failed setting the front application to Finder, psn 0x0-0x11011, securitySessionID=0x186a6, err=-13066
5/10/13 10:26:23.901 AM authexec[860]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:23.954 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
    37
)
5/10/13 10:26:24.955 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:24.959 AM authexec[862]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:25.011 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
    36
)
5/10/13 10:26:27.012 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:27.017 AM authexec[863]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:27.069 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
    36
)
5/10/13 10:26:30.070 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:30.075 AM authexec[864]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:30.127 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
    36
)
5/10/13 10:26:34.127 AM Tunnelblick[849]: Retrying execution of installer
5/10/13 10:26:34.132 AM authexec[865]: executing /Applications/Tunnelblick.app/Contents/Resources/installer
5/10/13 10:26:34.184 AM Tunnelblick[849]: installer reported failure: /Applications/Tunnelblick.app/Contents/Resources/installer: (
5/10/13 10:26:48.824 AM Tunnelblick[849]: DEBUG: killAllConnectionsIncludingDaemons: will kill individually
5/10/13 10:26:48.824 AM Tunnelblick[849]: DEBUG: Cleanup: Unloading kexts
5/10/13 10:26:48.959 AM Tunnelblick[849]: DEBUG: Cleanup: Deleting logs
5/10/13 10:26:48.960 AM Tunnelblick[849]: DEBUG: shutDownTunnelblick: Cleanup finished.
5/10/13 10:26:48.960 AM Tunnelblick[849]: Finished shutting down Tunnelblick; allowing termination
5/10/13 10:26:48.960 AM Tunnelblick[849]: DEBUG: applicationWillTerminate: invoked

--
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.
Visit this group at http://groups.google.com/group/tunnelblick-discuss?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
compose-unknown-contact.jpg

David Miller

unread,
May 10, 2013, 10:21:58 PM5/10/13
to Jonathan K. Bullard, tunnelbli...@googlegroups.com
I just ran a perl -pi -e s/// script on my ovpn files to add a '2' on the end of the up script (but not the down script), and made a copy of the script at the other filename, and that successfully allowed it to upgrade, so that probably was the issue.

May 10, 2013 7:04 PM

I would guess that is what is happening. I'll look into it.

Thanks for reporting this.

May 10, 2013 6:35 PM

Jonathan K. Bullard

unread,
May 11, 2013, 7:07:34 AM5/11/13
to David Miller, tunnelbli...@googlegroups.com
I have just committed r2300, which fixes David Miller's problem, as well as two other problems:
  1. The converter's failure to add a '.sh' extension to script files if they don't already have one (so they will be secured properly), and
  2. A problem that caused line numbers in the OpenVPN configuration file to be reported incorrectly.
This will be in the next release.

(Please note that r2298 fixed the problem reported in the first post of this thread.)
postbox-contact.jpg
compose-unknown-contact.jpg

Jonathan K. Bullard

unread,
May 11, 2013, 7:12:53 PM5/11/13
to David Miller, tunnelbli...@googlegroups.com
Tunnelblick 3.3beta50 is available for download.

It fixes several problems relating to converting OpenVPN configurations to Tunnelblick VPN Configurations.
compose-unknown-contact.jpg
postbox-contact.jpg

Jonathan K. Bullard

unread,
May 13, 2013, 2:58:37 PM5/13/13
to tunnelbli...@googlegroups.com, j...@rephunter.net
Tunnelblick 3.3beta50 does not solve the problem the original poster -- jas -- had. As of now, I don't plan to change Tunnelblick to solve that problem.

The problem he had is that he had "invalid" configurations in the folder that Tunnelblick uses to store configurations. (They were in subfolders, but that is irrelevant to the problem.) By "invalid", I mean that they were configurations that OpenVPN would refuse to use -- they contained references to files that did not exist.

Please note that I'm not criticizing him for the "invalid" configurations. They are configurations that he keeps for reference -- archival versions of configurations that are used on other systems. It is his "library" of configurations. That's fine. It's just that they shouldn't be stored where Tunnelblick keeps its configurations.

The solution is to move the offending configurations outside of the folder(s) that Tunnelblick uses to store configurations.

I think this is a very uncommon problem, but if it affects you, please reply to this thread or email me privately. If enough people have a problem with this, I will consider doing something about it. But as it stands, with 13,000+ downloads of 3.3beta50, only one person has had the problem, so I consider the solution described above sufficient.

Reply all
Reply to author
Forward
0 new messages