Skip to main content

FAILURE: Syck parser (line 2, column 9): syntax error at /usr/local/cpanel/Cpanel/YAML.pm line 71.

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! Sorry to hear about the Git issues you've run into. Do you see anything obviously wrong with the "config" file in the repo's .git directory, or have the timestamps on any of those files changed? There could also be an issue with the $file path on the account, so that is something to check as well.
    0
  • FourthFloor
    The config file seems to be fine, although admittedly I'm not certain what it should look like: [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [receive] denyCurrentBranch = updateInstead [gc] auto = 0
    The file path to the YAML.pm file seems to be right, if that's the file path you're referring to. If it's the one given in the .cpanel.yml file, it appears to be working fine. This is my code, which is working elsewhere with a slightly different file path of course. I have verified that that file path does exist (domain name and username have been removed from the example below). [CODE=yaml]deployment: tasks: - export DEPLOYPATH=/home/*****/subdomains/staging.****.com - /bin/cp -R * $DEPLOYPATH
    I will say that it seems like an older Git installation on my server is working properly (it was installed a few months ago), while all new Git installations that I've created in the past month or few weeks are having this issue. This particular installation has recently been installed (yesterday) and has never worked. I've compared
    0
  • cPRex Jurassic Moderator
    Thanks for the additional details. For these types of issues it is usually best if we get hands-on through a ticket so we can see all the configurations interacting on the system. If you can open a ticket and then post the number here I'll be sure to follow along so I can include the resolution.
    0

Please sign in to leave a comment.