Skip to content
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

Not works within linux #350

Closed
tomasr1981 opened this issue Jul 11, 2018 · 3 comments
Closed

Not works within linux #350

tomasr1981 opened this issue Jul 11, 2018 · 3 comments

Comments

@tomasr1981
Copy link

Hi, is it great tool, but it works just in windows (win7) form me. On Linux mint it (write phploy to terminal and launch) do not nothing without no errors.

@banago
Copy link
Owner

banago commented Jul 11, 2018

You need to install it first.

@tomasr1981
Copy link
Author

tomasr1981 commented Jul 11, 2018

I had it, but I reinstall composer and phploy and I move up. I thing that manual is little bit confusing. When I install globally by composer global require "banago/phploy" and calling phploy from terminal do not works, because phploy is installed on /home/username/.composer, but command extract error that phploy is not in path /usr/local/vendor.

So I tried out phar version and it is little bit better. I moved vendor to /usr/local/ and looks like much better, is there still some errors with ssh.
PHP Fatal error: Uncaught Error: Call to undefined function phpseclib\Crypt\xml_parser_create() in /usr/local/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA.php:1330
Stack trace:
#0 /usr/local/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA.php(1569): phpseclib\Crypt\RSA->_parseKey('PuTTY-User-Key-...', 2)
#1 /usr/local/vendor/league/flysystem-sftp/src/SftpAdapter.php(272): phpseclib\Crypt\RSA->loadKey('PuTTY-User-Key-...')
#2 /usr/local/vendor/league/flysystem-sftp/src/SftpAdapter.php(249): League\Flysystem\Sftp\SftpAdapter->getPrivateKey()
#3 /usr/local/vendor/league/flysystem-sftp/src/SftpAdapter.php(197): League\Flysystem\Sftp\SftpAdapter->getAuthentication()
#4 /usr/local/vendor/league/flysystem-sftp/src/SftpAdapter.php(178): League\Flysystem\Sftp\SftpAdapter->login()
#5 /usr/local/vendor/league/flysystem/src/Adapter/AbstractFtpAdapter.php(578): League\Flysystem\Sftp\SftpAdapter->connect()
#6 /usr/local/vendor/league/flysystem-sftp/src/SftpAdapter.php(497): League\Flysystem\Adapter\AbstractFtpAdapter->getConnection()
#7 / in /usr/local/vendor/phpseclib/phpseclib/phpseclib/Crypt/RSA.php on line 1330

I can't it manage. I do not know if I just do not understand to manual or it is for older version of linux.
Please could you take care on it?
Camposer version not works and phar version could works better, but it is not instalation. I'll be very grateful if you find some tutorial how to install it on a new debian.

Send greetings to Albania:)

@banago
Copy link
Owner

banago commented Jan 31, 2019

Send greetings to Albania :)

Thanks, @tomasr1981

Please pull the latest version. This should be fixed now.

@banago banago closed this as completed Jan 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants