FTPError: 553 Can't open that file: No such file or directory
See original GitHub issueBug Description I’m getting error 553 when updating the repository.
In the first synchronization the action worked perfectly, but when updating any file the second action returns the error.
My Action Config
on:
push:
branches:
- main
name: 🚀 Deploy website on push
jobs:
web-deploy:
name: 🎉 Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: 🚚 Install Composer Dependencies SITE
working-directory: ./
run: composer install --prefer-dist
- name: 🚚 Install Composer Dependencies ADM
working-directory: ./public/adm
run: composer install --prefer-dist
- name: 📂 Sync files
uses: SamKirkland/FTP-Deploy-Action@4.2.0
with:
server: ${{ secrets.ftp_host}}
username: ${{ secrets.ftp_user }}
password: ${{ secrets.ftp_password }}
exclude: |
.git/**
.git**
.git*/**
**/.git*
**/.git*/**
**/node_modules/**
fileToExclude.txt
My Action Log
Making changes to 2346 files/folders to sync server state
Uploading: 0 B -- Deleting: 16.2 MB -- Replacing: 434 kB
----------------------------------------------------------------
replacing "app/Config/App.php"
replacing "app/Config/Constants.php"
replacing "app/Views/client/templates/mdb/components/navbar.html"
replacing "app/Views/client/templates/mdb/components/post.html"
replacing "public/adm/composer.lock"
replacing "public/adm/vendor/autoload.php"
----------------------------------------------------------------
-------------- 🔥🔥🔥 an error occurred 🔥🔥🔥 --------------
----------------------------------------------------------------
----------------------------------------------------------------
---------------------- full error below ----------------------
----------------------------------------------------------------
FTPError: 553 Can't open that file: No such file or directory
at FTPContext._onControlSocketData (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.2.0/dist/index.js:4744:39)
at Socket.<anonymous> (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/4.2.0/dist/index.js:4585:44)
at Socket.emit (events.js:210:5)
at addChunk (_stream_readable.js:309:12)
at readableAddChunk (_stream_readable.js:286:13)
at Socket.Readable.push (_stream_readable.js:224:10)
at TCP.onStreamRead (internal/stream_base_commons.js:182:23) {
name: 'FTPError',
code: 553
}
Error: FTPError: 553 Can't open that file: No such file or directory
Issue Analytics
- State:
- Created 2 years ago
- Comments:13
Top Results From Across the Web
"553 Can't open that file: No such file or directory" when ...
You are trying to save the file on the remote server using a local path. Note how you use the same path with...
Read more >553-Can't open that file: No such file or directory
I have been using Filezilla recently but every now and again when I'm trying to upload a file I get "553-Can't open that...
Read more >553 Can't open that file: Permission denied! [SOLVED]
Hi all, I successfully setup a LEMP server and I thought I had everything figured out until I tried to upload files using...
Read more >FTP – 553-Can't open that file: Invalid argument (in htdocs)
only. There are no write permissions. ... FrontPage Extensions cannot be broken by using FTP. ... allow full file and directory access through...
Read more >error_perm: 553 Can't open that file: Permission denied
From the error message that is coming from the remote FTP server telling you that your connection doesn't have permission to create the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same issue, my not-so-ideal solution was to delete the
.ftp-deploy-sync-state.json
off the FTP server. The downside is uploading everything fresh again.that seems to be the problem.
If you remove a directory on the host or file this error occurs.
I deleted the entire directory and the new puhs worked fine.