VanDyke Software Forums

VanDyke Software Forums (https://forums.vandyke.com/index.php)
-   SecureCRT on the Mac (https://forums.vandyke.com/forumdisplay.php?f=24)
-   -   MacOS Catalina Upgrade - Need Help with SecureCRT Clean Install (https://forums.vandyke.com/showthread.php?t=13926)

focaccio 10-08-2019 09:50 PM

MacOS Catalina Upgrade - Need Help with SecureCRT Clean Install
 
1 Attachment(s)
Hi All,

Upgraded to MacOS Catalina 10.15

Catalina changes how the root directory aka "/" gets used or not used.

I had created a directory for SecureCRT in root - see attached - but since I can't use that now (with Catalina) I wanted to do a CLEAN install of SecureCRT.

I removed SecureCRT.app from Applications and even tried to rm -rf the VanDyke directory here:
20:47greg@FNXC.local ~/Library/Application Support ? ls -la | grep Van
drwxr-xr-x 4 greg staff 128 Oct 8 20:07 VanDyke
20:47greg@FNXC.local ~/Library/Application Support ?

Nothing seems to work for trying to get a clean install.

Ideas?

Thanks,
Greg

ashiosee 10-09-2019 03:40 PM

SecureCRT Clean Install
 
Quote:

Originally Posted by focaccio (Post 52412)
I wanted to do a CLEAN install of SecureCRT.

There is an article describing how to completely remove all traces of SecureCRT.

As a note, if you want to keep all of your existing session information but just tell SecureCRT where to find the new config location, I would recommend you follow the last step in this process:
defaults delete com.vandyke.SecureCRT
Once you've removed SecureCRT's defaults, when you launch SecureCRT you'll be asked to specify the "Config" location. Important: If you want to restore saved sessions in an existing configuration folder, make sure you point SecureCRT to the "Config" folder, NOT the "Sessions" folder. If you have chosen a custom-named "Config" folder, point to your custom folder name (in other words, point to the parent folder in which "Sessions" lives, but do not point to "Sessions").

focaccio 10-13-2019 07:18 AM

MacOS Catalina - Help with Clean Install
 
The directions from previous closed thread do not seem to be working -
Previous thread:
https://forums.vandyke.com/showthread.php?t=13926

After following the instructions we see this - so everything does seem to be gone?:
FNXC:Security root# open "`defaults read com.vandyke.SecureCRT \"Config Path\"`/../"
2019-10-13 06:02:19.412 defaults[1950:75922]
The domain/default pair of (com.vandyke.SecureCRT, Config Path) does not exist
LSOpenURLsWithRole() failed with error -600 for the file /...
FNXC:Security root# open "`defaults read com.vandyke.SecureCRT \"Personal Data Path\"`/../"
2019-10-13 06:02:52.430 defaults[1952:76163]
The domain/default pair of (com.vandyke.SecureCRT, Personal Data Path) does not exist
LSOpenURLsWithRole() failed with error -600 for the file /...
FNXC:Security root#
FNXC:Security root#
FNXC:Security root# defaults delete com.vandyke.SecureCRT
2019-10-13 06:03:07.388 defaults[1954:76260]
Domain (com.vandyke.SecureCRT) not found.
Defaults have not been changed.
FNXC:Security root#
FNXC:Security root#
FNXC:Security root# open "`defaults read com.vandyke.SecureCRT \"Config Path\"`/../"
2019-10-13 06:03:18.051 defaults[1955:76296]
The domain/default pair of (com.vandyke.SecureCRT, Config Path) does not exist
LSOpenURLsWithRole() failed with error -600 for the file /...
FNXC:Security root#
FNXC:Security root#
FNXC:Security root#




This is what still happens (even after machine restart) after entering the license data:
The license file could not be created. Please verify that you have write permissions to:
/dropbox/Dropbox/securecrt_SESSIONS_manualmirror/SecureCRT.lic

focaccio 10-14-2019 05:29 AM

Use .plist for clean install
 
Here are the additional steps I needed to take to be able to perform a clean install and it requires a restart.

new clean install approach:
03:59greg@FNXC.local ~/Library/Preferences ? pwd
/Users/greg/Library/Preferences
03:59greg@FNXC.local ~/Library/Preferences ? ls -la | grep CRT
-rw-------@ 1 greg staff 889 Oct 13 05:58 com.vandyke.SecureCRT.plist
03:59greg@FNXC.local ~/Library/Preferences ? defaults read com.vandyke.SecureCRT
{
"Config Path" = "/dropbox/Dropbox/securecrt_SESSIONS_manualmirror";
"Do Personal Data Merge" = 0;
"Do Personal Data Migration" = 0;
LastCrashCheck = "2019-10-13 12:58:51 +0000";
NSColorPanelMode = 6;
NSNavLastRootDirectory = "~/.ssh";
NSNavPanelExpandedSizeForOpenMode = "{1015, 631}";
NSNavPanelExpandedSizeForSaveMode = "{712, 480}";
"NSSplitView Subview Frames NSColorPanelSplitView" = (
"0.000000, 0.000000, 228.000000, 258.000000, NO, NO",
"0.000000, 259.000000, 228.000000, 48.000000, NO, NO"
);
"NSToolbar Configuration Main Toolbar v1" = {
"TB Display Mode" = 1;
"TB Icon Size Mode" = 1;
"TB Is Shown" = 0;
"TB Size Mode" = 1;
};
"NSToolbar Configuration com.apple.NSColorPanel" = {
"TB Is Shown" = 1;
};
"NSWindow Frame NSColorPanel" = "0 83 228 314 0 0 1440 877 ";
"Personal Data Path" = "/local_securecrt";
"Store Personal Data Separately" = 1;
}
03:59greg@FNXC.local ~/Library/Preferences ? su -
Password:
FNXC:~ root# cd /Users/greg/Library/Preferences/
FNXC:Preferences root# ls -la | grep CRT
-rw-------@ 1 greg staff 889 Oct 13 05:58 com.vandyke.SecureCRT.plist
FNXC:Preferences root# mv com.vandyke.SecureCRT.plist com.vandyke.SecureCRT.mask.plist
FNXC:Preferences root# ls -la | grep CRT
-rw-------@ 1 greg staff 889 Oct 13 05:58 com.vandyke.SecureCRT.mask.plist
FNXC:Preferences root#

ashiosee 10-14-2019 11:45 AM

Glad you figured out how to do the clean install on macOS Catalina.

Thanks for sharing your solution.


All times are GMT -6. The time now is 07:37 AM.