Applicable to:
- Plesk for Linux
Symptoms
-
The script
enable-ip-anonimization.sh
was fetched from How to anonymize IP address in log files on Plesk? -
The first pull from local git repository works:
# git pull origin
Already up to date.
- Second git pull fails:
# git pull origin
fatal: unable to access 'https://gituser@example.tld/plesk-git/example.git/': The requested URL returned error: 500
- Check Git password on Plesk fails:
# file /var/www/vhosts/system/example.tld/pd/d..git@plesk-git
/var/www/vhosts/system/example.tld/pd/d..git@plesk-git: cannot open (No such file or directory)
Cause
Git Manager extension bug with ID EXTGIT-90, which will be fixed in future updates.
Resolution
As a workaround:
-
Connect to the server via SSH
-
Run the following single command to Download and apply the custom fix:
# wget https://support.plesk.com/hc/en-us/article_attachments/360036325474/EventListener.php.tar.gz && tar -xzvf EventListener.php.tar.gz && mv /usr/local/psa/admin/plib/modules/git/library/EventListener.php{,.bak} && mv EventListener.php /usr/local/psa/admin/plib/modules/git/library/
Comments
3 comments
I applied this but nothing changed.
And more: I have three systems running on my Plesk Obsidian w. Ubuntu 18.04, two WordPress and one Moodle. But only the moodle one shows this behaviour.
Are there any other possibilities how I can come to that message?
Hello Dr. Michael Gellner
Currently, that's the only cause we know.
Hi,
Any patch for windows server? We are facing the same issue for Git Pull. But, we have this setup with windows server 2016.
When we are trying to run PULL request, it gives the following error:
fatal: unable to access 'http://<FTP-User>@<Domain.com>/plesk-git/domain.git/': The requested URL returned error: 403
Please advise earliest possible.
Please sign in to leave a comment.