Sign in

Gitlab syncing problem

  • This topic has 3 replies, 2 voices, and was last updated 3 months, 4 weeks ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9111
    Avatar photoalfredo

    Hi,

    I have been using publii last time about 6-9 months ago. Now I have the version 0.41.1 (build 15919) and cannot synchronise my website with gitlab even though I have not changed any settings. I followed the gitlab configuration procedure, but I get an error message during synchronisation:

    An error occured while connecting to the server: Response code 400 (Bad Request)

    Server->Test connection->I get this error message:

    Error! Application was able to connect with your server but was unable to store files. Please check file permission on your server: Selected repository does not exist.

    Is it a bug? Has something changed on the gitlab side and is the documentation out of date?

    Thank you

    Tools->Log viewer->log files.

    Deployment-errors.log is empty

    Deployment-process.log:

    [Mon, 16 Jan 2023 07:15:33 GMT] (!) CLIENT CREATED
    Founded 177 operations to do
    [Mon, 16 Jan 2023 07:15:40 GMT] (!) FILES TO REMOVE DETECTED
    [Mon, 16 Jan 2023 07:15:40 GMT] (!) REMOTE FILE DOWNLOADED
    [Mon, 16 Jan 2023 07:15:40 GMT] (!) COMMIT ERROR: {"name":"HTTPError","timings":{"start":1673853340306,"socket":1673853340307,"lookup":1673853340308,"connect":1673853340326,"secureConnect":1673853340347,"upload":1673853340348,"response":1673853340691,"end":1673853340692,"phases":{"wait":1,"dns":1,"tcp":18,"tls":21,"request":1,"firstByte":343,"download":1,"total":386}},"description":"A file with this name doesn't exist"}
    #9165
    Avatar photoTomasz Dziuda

    Hi,

    It looks like you have removed some file from gitlab and Publii tries to remove it but cannot as it not exists. Maybe restoring this file (even empty one on gitlab repository) will help. In fact you shouldn’t touch te repository used in sync with Publii, because it can lead to such issues.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #9249
    Avatar photoalfredo

    Hi,

    It looks like you have removed some file from gitlab and Publii tries to remove it but cannot as it not exists. Maybe restoring this file (even empty one on gitlab repository) will help. In fact you shouldn’t touch te repository used in sync with Publii, because it can lead to such issues.

    Thank you for your reply. I deleted publii folder and main file from the repository and the syncronization process started to work again. However, I still get this error form Server->Test connection

    Error! Application was able to connect with your server but was unable to store files. Please check file permission on your server: Selected repository does not exist.

    #9251
    Avatar photoTomasz Dziuda

    Ok, I will review the Gitlab integration and check if I can reproduce this issue – if yes, I will try to fix it.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.