Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

FTPError: 550 ~partytown: No such file or directory #422

Open
m1chale opened this issue Oct 16, 2023 · 5 comments
Open

FTPError: 550 ~partytown: No such file or directory #422

m1chale opened this issue Oct 16, 2023 · 5 comments

Comments

@m1chale
Copy link

m1chale commented Oct 16, 2023

Bug Description
Im not able to deploy my website code built with GatsbyJS.
I always get the error 550 with folder ~partytown.
Im not sure, maybe its because of the ~ ?

Thanks for your help!

My Action Config

     - name: 馃搨 Sync files by FTPS
        uses: SamKirkland/[email protected]
        with:
          # dangerous-clean-slate: true
          server: ${{ secrets.DEPLOY_HOST }}
          username: ${{ secrets.DEPLOY_USER }}
          password: ${{ secrets.DEPLOY_PW }}
          protocol: ftps
          port: 21
          local-dir: "./public/"
          server-dir: "./test-me/"

My Action Log

...
----------------------------------------------------------------
Making changes to 337 files/folders to sync server state
Uploading: 40.2 MB -- Deleting: 0 B -- Replacing: 0 B
----------------------------------------------------------------
creating folder "_gatsby/"
creating folder "_gatsby/slices/"
creating folder "~partytown/"

----------------------------------------------------------------
--------------  馃敟馃敟馃敟 an error occurred  馃敟馃敟馃敟  --------------
----------------------------------------------------------------

----------------------------------------------------------------
----------------------  full error below  ----------------------
----------------------------------------------------------------

FTPError: 550 ~partytown: No such file or directory
    at FTPContext._onControlSocketData (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/v4.3.4/dist/index.js:5252:39)
    at TLSSocket.<anonymous> (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/v4.3.4/dist/index.js:5096:44)
    at TLSSocket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:285:11)
    at TLSSocket.Readable.push (node:internal/streams/readable:228:10)
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:190:23) {
  code: 550
}
Error: FTPError: 550 ~partytown: No such file or directory
@im-machakata
Copy link

I doubt. I am getting one as well while uploading composer vendor files:

uploading "vendor/psr/http-message/docs/PSR7-Interfaces.md"
----------------------------------------------------------------
--------------  馃敟馃敟馃敟 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/v4.3.4/dist/index.js:5252:39)
    at Socket.<anonymous> (/home/runner/work/_actions/SamKirkland/FTP-Deploy-Action/v4.3.4/dist/index.js:5096:44)
    at Socket.emit (node:events:513:28)
    at addChunk (node:internal/streams/readable:315:12)
    at readableAddChunk (node:internal/streams/readable:285:11)
    at Socket.Readable.push (node:internal/streams/readable:228:10)
    at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
  code: 553
}

I think it would be nice if it could skip files or folders of that nature.

@adcoding
Copy link

adcoding commented Nov 6, 2023

Same here. Does anyone know how to fix that?

FTPError: 550 The system cannot find the file specified.

@im-machakata
Copy link

Same here. Does anyone know how to fix that?

FTPError: 550 The system cannot find the file specified.

Are you using it on a JS or PHP app? I made a few changes to the deployment configurations for my PHP app and it worked.

@adcoding
Copy link

adcoding commented Nov 6, 2023

Same here. Does anyone know how to fix that?
FTPError: 550 The system cannot find the file specified.

Are you using it on a JS or PHP app? I made a few changes to the deployment configurations for my PHP app and it worked.

Actually now it works.
I didn't configure local-dir and server-dir correctly

@MysticKnight
Copy link

When I deleted a directory on my local machine and then pushed changes to GitHub, it would throw the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants