Git-Auto-Deploy icon indicating copy to clipboard operation
Git-Auto-Deploy copied to clipboard

The path '/home/username/myproject' is not writable. Make sure that GAD has write access to that path

Open srinivasyl opened this issue 5 years ago • 3 comments

GitLab Webhook executed successfully with HTTP status Code: 200 but commits are not updated in the remote repository Error Log Contains: The path '/home/username/myproject' is not writable. Make sure that GAD has write access to that path

How to overcome this Error?

srinivasyl avatar May 27 '19 11:05 srinivasyl

put user you run GAD to the group that has that directory and put a writeable permission for groups to that directory.

Letme avatar May 27 '19 12:05 Letme

Thank-you it solved my issue But, I've configured my gitlab credentials globally on server but i end up with below error. Should I configure the gitlab credential anywhere else??

2019-05-28 12:07:04,296 [INFO ]  fatal: could not read Username for 'https://gitlab.com': No such device or address
2019-05-28 12:07:04,296 [ERROR]  Command 'git fetch origin' failed with exit code 128

srinivasyl avatar May 29 '19 06:05 srinivasyl

Do tell more how you set gitlab credentials for server. Does GAD user have access to them? I never tried with username and password (i rather work with ssh keys, as i do not like a hashed or even ascii password to be anywhere on disk.

Letme avatar May 29 '19 06:05 Letme