Snapin unable to deploy
-
Problem manually solved.
I also had a generated password with a “/”. When I tried to deploy a snapin, it failed with the same error @Hanz described.
A login with an an ftp-client redirected me into the users home directory. I changed “/” into a different character (passwd and GUI) and the ftp-client redirected me into /opt/fog/snapins.
Snapins now work without an error! -
@mp12 so we should not allow passwords with slashes?
-
@Wayne-Workman maybe someone can reproduce the error, by creating a password with a “/” to eliminate individual mistakes from my site?
-
@mp12 Do you think it could be possible that the password was simply set incorrectly somewhere and you resetting it fixed it? I think this is the most plausible reason why it was fixed.
-
@Wayne-Workman maybe. I’ll check this on monday.
-
@Wayne-Workman just replicated the error.
Reconfigured the password in GUI and passwd with a “/”.
–> “Failed to find snapin file”
Reconfigured the password in GUI and passwd without a “/”.
–> Works like a charm!
I tried with installed FogClient and with the FogClient Debugger.
-
@mp12 Thanks for testing, now we know. @Developers thoughts?
-
“/” are a curse! Who uses “/” in passwords!
-
@Wolfbane8653 They get auto-generated by the installer.
-
@Wolfbane8653 Apparently my scripts add them sometimes as it’s a randomly generated cryptographically secure script.
-
I’ve updated the code base to urlencode the passwords and decode them once in the FTP class. I don’t know if it will fix the issue at hand, but it’s worth a shot.