New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duck cli broken after update to 7.1.2 (31675) #10866
Comments
Never mind - my bad ... was using incorrect CLI syntax |
I’m getting this error with MacOS high Sierra, even with a simple ‘duck -version’. |
UPDATE: I was wrong - the problem was not due to using incorrect CLI syntax. The problem I had occurred because I did not have a Cyberduck profile for the wasabi-west-1 region. I copied the profile to the profiles folder of the CLI installation folder (in my case that is C:\Program Files\Cyberduck CLI\profiles). After that, everything worked as expected. I think this happened because the now that the CLI is a 64-bit program, Windows MSI installs the CLI in C:\Program Files\Cyberduck CLI. I previously had the 32-bit CLI, which was installed in C:\Program Files (x86)\Cyberduck CLI, so the new installation did not have the profile. |
UPDATE: I was wrong - the problem was not due to using incorrect CLI syntax. The problem I had occurred because I did not have a Cyberduck profile for the wasabi-west-1 region. I copied the profile to the profiles folder of the CLI installation folder (in my case that is C:\Program Files\Cyberduck CLI\profiles). After that, everything worked as expected. I think this happened because now that the CLI is a 64-bit program, Windows MSI installs the CLI in C:\Program Files\Cyberduck CLI. I previously had the 32-bit CLI, which was installed in C:\Program Files (x86)\Cyberduck CLI, so the new installation did not have the profile. |
Did you manually install the profile to How did you upgrade from an older version to the new one?
|
I manually copied the profiles to %ProgramFiles%\Cyberduck CLI\Profiles [not %ProgramFiles(x86)%], and the CLI does see and use them. I also experimented a bit by creating the Profiles folder in *%AppData%\Roaming\Cyberduck*, and moving the 2 Wasabi profiles (east-1 and west-1) from %ProgramFiles%\Cyberduck CLI\Profiles folder to the %AppData%\Roaming\Cyberduck\Profiles folder. That also works, so the CLI apparently will look in both of these folders for profiles. I ran the MSI installer to upgrade. It apparently installed 17 profiles to the %ProgramFiles%\Cyberduck CLI\Profiles folder (but not the Wasabi profiles, which is what caused my issue). Also note that the 64-bit MSI installer removed all files under the %ProgramFiles(86)%\Cyberduck CLI folder, except for the two Wasabi profiles in the Profiles subfolder, which I had manually copied there when I first installed the 32-bit CLI some 10 months ago. It also did not even create the %AppData%\Roaming\Cyberduck\Profiles folder. That's why I moved the Wasabi profiles from the %ProgramFiles(86)% folder to the %ProgramFiles% folder, even though I read in the docs that the %APPDATA% location should be used. I figured "if that's where the installer puts profiles, I should use that folder too". And it did work ... :-) So, should I move all of the profiles from the %ProgramFiles% folder to the %APPDATA% folder? |
I'm confused by this: the problem occurs on my Mac even when I simply use the cli to get version info. That seems unrelated to some Windows profile location issue. |
Hi eponymous, Sorry for any confusion ... I agree that you are not having the same problem as I had. I could get the version, but I could not get the CLI to access the Wasabi cloud service. I started this ticket, and I discovered the problem and its solution, so I posted what I found. Sorry it does not help you! |
I don't think we do agree. I'll open a new ticket though. |
I use CyberDuck GUI and Duck CLI on 2 machines: Windows 8.1 and Windows 10. This morning I upgraded both GUI and CLI to 7.1.2 (31675) on both machines. The GUI seems to work on both machines, but CLI does not work on the Win 8.1 machine. The Duck CLI --version command works on both machines (Win 8.1 shown below):
But a simple list command works only on Win 10. The following command (access key changed to "xxxxxxxxxxxxxxxxxxxx") displays a listing on win 10, but on win 8.1, I get:
Again, the exact same list command (copied and pasted) works on Win 10 but yields an "Unknown protocol" error on win 8.1.
What am I missing?
The text was updated successfully, but these errors were encountered: