The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

ftp deploy to root dir does not work

Benny Franz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 2, 2024

When using / as REMOTE_PATH I am seeing this error:

 

lftp -u user,pw -e 'set ssl:verify-certificate false; mirror --delete-first -vvv -R /opt/atlassian/pipelines/agent/build/dist/ /;quit' server_name mirror: Access failed: 550 Directory Not Found (/)

Whats also confusing is that the deployment will be shown up as successfull even though the upload clearly failed!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Saxea _Flowie_
Atlassian Partner
July 3, 2024

HI @Benny Franz ,

Does the command work from your local machine?

With regards to not failing the build, it depends on the exit code of lftp. My guess is that it is returning 0 because of quit being successful, which was the last command.

Benny Franz
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 4, 2024

Looks like it does work with . instead of / wich is very wired behaviour

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events