OhFarts

Registered
Dec 8, 2020
2
0
1
France
cPanel Access Level
Website Owner
Ahoy

I'm using Git Version Control since a few days. I was able to setup everything as needed and used a few times the "Deploy HEAD commit". Everything was working fine until today ...

I'm still able to pull data from Github to my cPanel "dev" folder but then I'm not able to deploy anymore. The button is disabled and the well known error message below appear

The system cannot deploy

For deployment, ensure that your repository meets the following requirements:
  1. A valid .cpanel.yml file exists. Pour en savoir plus, lisez notre documentation.
  2. No uncommitted changes exist on the checked-out branch.
Here's my .cpanel.yml
YAML:
---
deployment:
  tasks:
    - export DEPLOYPATH=/home/cpxxx/xxx.com/www/
    - /bin/cp -R /home/cpxxx/dev/cron $DEPLOYPATH
    - /bin/cp -R /home/cpxxx/dev/css $DEPLOYPATH
    - /bin/cp -R /home/cpxxx/dev/font $DEPLOYPATH
    - /bin/cp -R /home/cpxxx/dev/img $DEPLOYPATH
    - /bin/cp -R /home/cpxxx/dev/inc $DEPLOYPATH
    - /bin/cp -R /home/cpxxx/dev/js $DEPLOYPATH
    - /bin/cp -R /home/cpxxx/dev/owl-carousel $DEPLOYPATH
    - /bin/cp /home/cpxxx/dev/index.php $DEPLOYPATH
    - /bin/cp /home/cpxxx/dev/login.php $DEPLOYPATH
    - /bin/cp /home/cpxxx/dev/.htaccess $DEPLOYPATH
Nothing changed since my last deployment. I'm the only "developper" using it.

Unfortunately, the hosting company is not even able to solve all the problems I have since I moved to cPanel (can't enable DNSSEC, jetBackup not working, timeout issues when using HTTPS) ...
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
3,186
398
243
cPanel Access Level
Root Administrator
Hey there! I'm actually wondering if these are all related due to an underlying issue. Since these all deal with security, could there be an issue with the server's clock or time settings causing a problem? If the clock is off, that would cause issues with JetBackup and https connections, so that could also cause problems with Git. Can you check that?
 

OhFarts

Registered
Dec 8, 2020
2
0
1
France
cPanel Access Level
Website Owner
Thanks for your help cPRex :)

Sorry I think I didn't put enough details.

HTTPS is working but really slow (almost 30s to load a page). Issues with jetBackup are host side, I guess they have trouble setting this up :confused:
I checked the clock anyway and it's correct : Tue Dec 8 16:27:15 CET 2020
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
3,186
398
243
cPanel Access Level
Root Administrator
Well, it was a good thought!

The slow https issues could be due to SSL stapling problems on the host. You can see some more details on that here:


as that is known to cause slowness only with https pages.

I'm not sure about the Git issue, but you're always welcome to put in a ticket with our team so we can take a look.