- Plesk for Linux
Unable to deploy remote Git Repository from Github over SSH in Plesk GUI:
PLESK_ERROR: Argument 1 passed to PleskExt\Git\DTO\Repository::__construct() must be of the type int, null given, called in /opt/psa/admin/plib/modules/git/library/Db/Repository.php on line 583
#EXTGIT-232 "It is once again possible to add repositories via the extension."
- Git 2.1.1 06 July 2022
If update is not possible for some reason, use the following workaround:
Click on a section to expand
- Connect to the server via SSH.
- Run the following command to create a Repository:
# plesk ext git --create -domain example.com -name repo_name -remote-url firstname.lastname@example.org:github_user/example.git
Note: See details in this documentation: https://docs.plesk.com/en-US/obsidian/cli-win/using-command-line-utilities/git-git-repositories.75958/