Recently i’ve updated my private custom plugin successfully.
Today i made a customization to that plugin so i updated github repo and taged the plugin with a new version:
git tag 1.3.4
git push --tags
Then i runed
ansible-playbook deploy.yml -e "site=domain.com env=production"
to deploy the website.
Since today i get an error and i can’t deploy anymore.
Installing dependencies from lock file Verifying lock file contents can be
installed on current platform. Package operations: 19 installs, 3 updates, 0
removals - Syncing ghuser/menu-to-pdf (1.3.5) into cache - Downloading
ghuser/ab-xy (1.0.11) - Downloading ghuser/woocommerce-
tipping (1.2) Failed to download ghuser/woocommerce-tipping from dist: The
"https://api.github.com/repos/ghuser/woocommerce-
tipping/zipball/4d365443837dc7f2x61fea52458923d6ed57da61" file could not be
downloaded (HTTP/2 404 ): {"message":"Not Found","documentation_url":"https:/
/docs.github.com/rest/reference/repos#download-a-repository-archive"} Now
trying to download from source - Syncing ghuser/woocommerce-tipping (1.2)
into cache Failed to download ghuser/ab-xy from dist: The
"https://api.github.com/repos/ghuser/ab-
xy/zipball/5d54bdca103aa3441b92413ecd4ebe3ec951f29c" file could not be
downloaded (HTTP/2 404 ): {"message":"Not Found","documentation_url":"https:/
/docs.github.com/rest/reference/repos#download-a-repository-archive"} Now
trying to download from source - Syncing ghuser/ab-xy
(1.0.11) into cache - Upgrading symfony/polyfill-ctype (v1.24.0 => v1.25.0):
Extracting archive - Installing advanced-custom-fields/advanced-custom-
fields-pro (5.9.4): Extracting archive - Upgrading myclabs/deep-copy (1.10.2
=> 1.11.0): Extracting archive - Upgrading ghuser/menu-to-pdf (1.3.3 =>
1.3.5): Update of ghuser/menu-to-pdf failed - Installing ghuser/saferpay-
gateway-xy (1.0.11): Cloning 5d54bdca10 from cache - Installing ghuser
/woocommerce-tipping (1.2): Cloning 4d36544383 from cache - Installing
roots/wordpress (5.9.1): Extracting archive - Installing wpackagist-plugin
/acf-extended (0.8.8.7): Extracting archive - Installing wpackagist-plugin
/acf-quickedit-fields (3.1.11): Extracting archive - Installing wpackagist-
plugin/akismet (4.2.2): Extracting archive - Installing wpackagist-plugin
/contact-form-7 (5.5.6): Extracting archive - Installing wpackagist-plugin
/contact-form-7-honeypot (2.1): Extracting archive - Installing wpackagist-
plugin/filebird (4.9.8): Extracting archive - Installing wpackagist-plugin
/invisible-recaptcha (1.2.3): Extracting archive - Installing wpackagist-
plugin/log-deprecated-notices (0.4.1): Extracting archive - Installing
wpackagist-plugin/login-ip-country-restriction (6.2.2): Extracting archive -
Installing wpackagist-plugin/mailpoet (3.83.0): Extracting archive -
Installing wpackagist-plugin/scheduled-post-trigger (3.0): Extracting archive
- Installing wpackagist-plugin/simple-custom-post-order (2.5.6): Extracting
archive - Installing wpackagist-plugin/theme-translation-for-polylang
(3.2.12): Extracting archive - Installing wpackagist-plugin/woocommerce
(5.9.0): Extracting archive - Installing wpackagist-plugin/wordpress-seo
(16.9): Extracting archive [RuntimeException] The .git directory is missing
from /srv/www/xy.ch/releases/20220307193742/vendor/ghuser/menu-to-pdf,
see https://getcomposer.org/commit-deps for more information install
[--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-
run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress]
[--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a
|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix
APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ]
[--ignore-platform-reqs] [--] [<packages>]...
fatal: [ip-address]: FAILED! => {"changed": false, "stdout": "Installing dependencies from lock file\nVerifying lock file contents can be installed on current platform.\nPackage operations: 19 installs, 3 updates, 0 removals\n - Syncing ghuser/menu-to-pdf (1.3.5) into cache\n - Downloading ghuser/ab-xy (1.0.11)\n - Downloading ghuser/woocommerce-tipping (1.2)\n Failed to download ghuser/woocommerce-tipping from dist: The \"https://api.github.com/repos/ghuser/woocommerce-tipping/zipball/4d365443837dc7f2x61fea52458923d6ed57da61\" file could not be downloaded (HTTP/2 404 ):\n{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#download-a-repository-archive\"}\n Now trying to download from source\n - Syncing ghuser/woocommerce-tipping (1.2) into cache\n Failed to download ghuser/ab-xy from dist: The \"https://api.github.com/repos/ghuser/ab-xy/zipball/5d54bdca103aa3441b92413ecd4ebe3ec951f29c\" file could not be downloaded (HTTP/2 404 ):\n{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#download-a-repository-archive\"}\n Now trying to download from source\n - Syncing ghuser/ab-xy (1.0.11) into cache\n - Upgrading symfony/polyfill-ctype (v1.24.0 => v1.25.0): Extracting archive\n - Installing advanced-custom-fields/advanced-custom-fields-pro (5.9.4): Extracting archive\n - Upgrading myclabs/deep-copy (1.10.2 => 1.11.0): Extracting archive\n - Upgrading ghuser/menu-to-pdf (1.3.3 => 1.3.5): Update of ghuser/menu-to-pdf failed\n - Installing ghuser/ab-xy (1.0.11): Cloning 5d54bdca10 from cache\n - Installing ghuser/woocommerce-tipping (1.2): Cloning 4d36544383 from cache\n - Installing roots/wordpress (5.9.1): Extracting archive\n - Installing wpackagist-plugin/acf-extended (0.8.8.7): Extracting archive\n - Installing wpackagist-plugin/acf-quickedit-fields (3.1.11): Extracting archive\n - Installing wpackagist-plugin/akismet (4.2.2): Extracting archive\n - Installing wpackagist-plugin/contact-form-7 (5.5.6): Extracting archive\n - Installing wpackagist-plugin/contact-form-7-honeypot (2.1): Extracting archive\n - Installing wpackagist-plugin/filebird (4.9.8): Extracting archive\n - Installing wpackagist-plugin/invisible-recaptcha (1.2.3): Extracting archive\n - Installing wpackagist-plugin/log-deprecated-notices (0.4.1): Extracting archive\n - Installing wpackagist-plugin/login-ip-country-restriction (6.2.2): Extracting archive\n - Installing wpackagist-plugin/mailpoet (3.83.0): Extracting archive\n - Installing wpackagist-plugin/scheduled-post-trigger (3.0): Extracting archive\n - Installing wpackagist-plugin/simple-custom-post-order (2.5.6): Extracting archive\n - Installing wpackagist-plugin/theme-translation-for-polylang (3.2.12): Extracting archive\n - Installing wpackagist-plugin/woocommerce (5.9.0): Extracting archive\n - Installing wpackagist-plugin/wordpress-seo (16.9): Extracting archive\n\n \n [RuntimeException] \n The .git directory is missing from /srv/www/xy.ch/releases/20220307193742/vendor/ghuser/menu-to-pdf, see https://getcomposer.org/commit-deps for more information \n \n\ninstall [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>]...\n\n", "stdout_lines": ["Installing dependencies from lock file", "Verifying lock file contents can be installed on current platform.", "Package operations: 19 installs, 3 updates, 0 removals", " - Syncing ghuser/menu-to-pdf (1.3.5) into cache", " - Downloading ghuser/ab-xy (1.0.11)", " - Downloading ghuser/woocommerce-tipping (1.2)", " Failed to download ghuser/woocommerce-tipping from dist: The \"https://api.github.com/repos/ghuser/woocommerce-tipping/zipball/4d365443837dc7f2x61fea52458923d6ed57da61\" file could not be downloaded (HTTP/2 404 ):", "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#download-a-repository-archive\"}", " Now trying to download from source", " - Syncing ghuser/woocommerce-tipping (1.2) into cache", " Failed to download ghuser/ab-xy from dist: The \"https://api.github.com/repos/ghuser/ab-xy/zipball/5d54bdca103aa3441b92413ecd4ebe3ec951f29c\" file could not be downloaded (HTTP/2 404 ):", "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/repos#download-a-repository-archive\"}", " Now trying to download from source", " - Syncing ghuser/ab-xy (1.0.11) into cache", " - Upgrading symfony/polyfill-ctype (v1.24.0 => v1.25.0): Extracting archive", " - Installing advanced-custom-fields/advanced-custom-fields-pro (5.9.4): Extracting archive", " - Upgrading myclabs/deep-copy (1.10.2 => 1.11.0): Extracting archive", " - Upgrading ghuser/menu-to-pdf (1.3.3 => 1.3.5): Update of ghuser/menu-to-pdf failed", " - Installing ghuser/ab-xy (1.0.11): Cloning 5d54bdca10 from cache", " - Installing ghuser/woocommerce-tipping (1.2): Cloning 4d36544383 from cache", " - Installing roots/wordpress (5.9.1): Extracting archive", " - Installing wpackagist-plugin/acf-extended (0.8.8.7): Extracting archive", " - Installing wpackagist-plugin/acf-quickedit-fields (3.1.11): Extracting archive", " - Installing wpackagist-plugin/akismet (4.2.2): Extracting archive", " - Installing wpackagist-plugin/contact-form-7 (5.5.6): Extracting archive", " - Installing wpackagist-plugin/contact-form-7-honeypot (2.1): Extracting archive", " - Installing wpackagist-plugin/filebird (4.9.8): Extracting archive", " - Installing wpackagist-plugin/invisible-recaptcha (1.2.3): Extracting archive", " - Installing wpackagist-plugin/log-deprecated-notices (0.4.1): Extracting archive", " - Installing wpackagist-plugin/login-ip-country-restriction (6.2.2): Extracting archive", " - Installing wpackagist-plugin/mailpoet (3.83.0): Extracting archive", " - Installing wpackagist-plugin/scheduled-post-trigger (3.0): Extracting archive", " - Installing wpackagist-plugin/simple-custom-post-order (2.5.6): Extracting archive", " - Installing wpackagist-plugin/theme-translation-for-polylang (3.2.12): Extracting archive", " - Installing wpackagist-plugin/woocommerce (5.9.0): Extracting archive", " - Installing wpackagist-plugin/wordpress-seo (16.9): Extracting archive", "", " ", " [RuntimeException] ", " The .git directory is missing from /srv/www/xy.ch/releases/20220307193742/vendor/ghuser/menu-to-pdf, see https://getcomposer.org/commit-deps for more information ", " ", "", "install [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-suggest] [--no-dev] [--no-autoloader] [--no-progress] [--no-install] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--] [<packages>]...", ""]}
The error occurs when composer tries to install dependencies:
TASK [deploy : Install Composer dependencies]
If i remove the plugin, deployment runs successfully.
So what is happening here?
How can i find out more?