Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

FTP server connection not working – Publii able to connect but more store files

  • This topic has 18 replies, 3 voices, and was last updated 2 months ago by .
Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #11255
    Avatar photo[anonymous]

    I have just upgraded from Publii 0.42.1 to 0.44.1. Since upgrading, when testing the FTP connection with my server I get the error:

    <span style=”color: #0000ff;”>”Error: Application was able to connect with your server but was unable to store files. Please check file permission on your server.”</span>

    I have gone back to version 0.42.1, and everything works as it should – no error message. The two versions are running on the same machine (one at a time) and with the same website project open and therefore the same FTP settings.

    This seems to strongly point to a problem that has been introduced since version 0.42.1.

    I am running on Mac OS 14.1.2 Sonoma.

    For now I will work with the older version, but this clearly is not a long term solution, so a fix would be appreciated. Please let me know if you need any further information.

     

    Thanks –

    Nick.

    #11256
    Avatar photo[anonymous]

    Hi,

    Could you check if on v.0.43.1 the same problem occurs?

    You can download version for M1/M2 processors here: https://getpublii.com/download/Publii-0.43.1-apple-silicon.dmg
    And Intel version for macOS here: https://getpublii.com/download/Publii-0.43.1-intel.dmg

    #11257
    Avatar photo[anonymous]

    Thanks for getting back to me so quickly.

    I also get the error message with 0.43.1.

    (I am running on an M1 processor, if that makes any difference).

     

    Nick.

    #11277
    Avatar photo[anonymous]

    Hello,

    Is there an update on this please? I am unable to continue with my project as the current version of the theme I am using requires 0.43. I can’t see any way to revert themes. The project won’t build with the current theme.

    Thanks –

    Nick

    #11278
    Avatar photo[anonymous]

    Hi,

    Sorry, I was unavailable in the last days – I will look at this issue tonight. Please remember that as a fallback, you can use temporary manual deployment and upload generated files manually via any FTP software.

    #11279
    Avatar photo[anonymous]

    Please remember that as a fallback, you can use temporary manual deployment and upload generated files manually via any FTP software.

     

    Good point – I’ll try that. And thanks for your help –

    Nick.

    #11379
    Avatar photo[anonymous]

    Unfortunately I am still unable to reproduce this issue – it is really weird, because between v.0.42.1 and v.0.43/v.0.44 we did not changed anything related to FTP :/ Last changes was in v.0.40.2

    When you try to sync – do you have any useful messages in the deployment-errors.log or deployment-process.log files under Tools -> Log viewer?

    #11386
    Avatar photo[anonymous]

    Thanks for looking at this. I am away from home at the moment and will do some further tests and check the logs when I get back, after the 26th December.

    In the meantime, have a good Christmas!

    Nick.

    #11434
    Avatar photo[anonymous]

    I have tried running this again. Oddly, instead of getting the error I had before (”Error: Application was able to connect with your server but was unable to store files. Please check file permission on your server.”) I now get:

    “Some files were not synced properly. Please check the hard-upload-errors-log.txt file using the Tools > Log Viewer Tool.”

    There is no log called “hard upload errors”. The deployment-errors log is empty, while the deployment process log has a lot of content. There are some errors there, including:

    [Thu, 28 Dec 2023 21:40:07 GMT] (!) ERROR WHILE DOWNLOADING files-remote.json
    [Thu, 28 Dec 2023 21:40:07 GMT] Error: PASV: Operation not permitted

    And lots of errors of the form:

    [Thu, 28 Dec 2023 21:40:09 GMT] ERROR UPLOAD FILE: [a file path]

    [Thu, 28 Dec 2023 21:40:09 GMT] Error: PASV: Operation not permitted

    Then at the end:

    [Thu, 28 Dec 2023 21:41:29 GMT] UPL HARD ERR /Users/nick/Documents/Publii/sites/luft-product-design/output/404 -> /www/luftproductdesign/404
    [Thu, 28 Dec 2023 21:41:29 GMT] [connection] > ‘PASV’
    [Thu, 28 Dec 2023 21:41:29 GMT] [connection] < ‘501 PASV: Operation not permitted\r\n’
    [Thu, 28 Dec 2023 21:41:29 GMT] [parser] < ‘501 PASV: Operation not permitted\r\n’
    [Thu, 28 Dec 2023 21:41:29 GMT] [parser] Response: code=501, buffer=’PASV: Operation not permitted’
    [Thu, 28 Dec 2023 21:41:29 GMT] -> files.publii.json
    [Thu, 28 Dec 2023 21:41:29 GMT] Error: PASV: Operation not permitted
    [Thu, 28 Dec 2023 21:41:29 GMT] [connection] > ‘QUIT’
    [Thu, 28 Dec 2023 21:41:29 GMT] [connection] < ‘221 Goodbye.\r\n’
    [Thu, 28 Dec 2023 21:41:29 GMT] [parser] < ‘221 Goodbye.\r\n’
    [Thu, 28 Dec 2023 21:41:29 GMT] [parser] Response: code=221, buffer=’Goodbye.’
    [Thu, 28 Dec 2023 21:41:29 GMT] FTP CONNECTION CLOSED: false

     

    I hope that helps –

    Nick.

    #11439
    Avatar photo[anonymous]

    Hi,

    I’m having exactly the same problem on my Macbook air M1, I think it’s been there since I switched to the Sonoma version of the OS.

    I tested with version 0.43.1 and version 0.44.2.

    I don’t dare go back to older versions for fear of causing problems for all my sites.

    If I test the FTP connection then no worries, it’s only when synchronizing the site that it blocks completely.

     

    #11440
    Avatar photo[anonymous]

    @magmouse – “Error: PASV: Operation not permitted” suggest that there is an issue with your connectivity with server or with passive mode for FTP connection.

    Do you have any issues while using other FTP software?

     

    @Mediacom87 – on v.0.43.1 do you have the same issue? Do you have the same error PASV: Operation not permitted in your deployment logs?

    #11441
    Avatar photo[anonymous]

    Thanks for the reply, Tomasz.

    Cyberduck connects OK with the same settings. Version 0.42.1 of Publii also works fine – I just checked it again.

    I have also checked the latest release, 0.44.2, and it has the same problem as 0.44.1 and 0.43.1. Something changed between 0.42.1 and 0.43.1.

     

    Regards –

    Nick.

    #11443
    Avatar photo[anonymous]

    @magmouse – I suppose that there can be an issue with some servers, newer Electron versions and currently used FTP library. I have found alternative one – I will try to implement it as an alternative solution and then I will prepare a Publii version for you to check – please give me few days. As I understand – you are using Publii for Apple silicon processors as me, so I will be able to prepare further builds with other fixes quite fast

    #11445
    Avatar photo[anonymous]

    I imagine this is in the Logs directory of the Publii installation, but unfortunately these files are empty.

    #11446
    Avatar photo[anonymous]

    Thanks, Tomasz. Yes, I am on Apple silicon processors.

    Nick.

    #11460
    Avatar photo[anonymous]

    Some news, I can’t export a zip file or anything else.

    It’s very strange, and all trouble came with the last Sonoma OS version.

    Probably, we need to upgrade or put something in this OS directly with a terminal session to correct the trouble.

    #11461
    Avatar photo[anonymous]

    Ok, I just corrected my problem.

    To do this, I installed Homebrew :

    In the terminal, simply issue this command and enter the computer’s session password.

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

    When the installation is complete, I run Python :

    brew install python3

    and in the end, after restarting Publii, I was able to upload my site without any problem.

    So there must be a problem when moving to Sonoma on the interpretation of Python.

    #11473
    Avatar photo[anonymous]

    Oddly, everything is now working. The only thing I have done is a manual upload over FTP using Cyberduck, and now Publii version 0.44.1 is also able to upload using FTP.

    I am away from home at the moment so this is tested on my laptop – I will check on my desktop computer when I get home tonight to make sure that is also working.

    Perhaps there was some kind of permissions or security issue which has been ‘fixed’ with a Cyberduck upload? That still doesn’t explain why older versions of Publii worked and newer ones didn’t.

    Anyway, I will confirm it all now works from my desktop Mac later, but please don’t spend any more time on this at the moment.

    Thanks-

    Nick.

    #11479
    Avatar photo[anonymous]

    I spoke too soon. Now I am back home, it no longer works – exactly the same problem as before. Not sure why it worked when in a hotel in Sheffield, but not on my home wifi. I have tried using my mobile phone as a hotspot, and that doesn’t work either, so I am not sure if it is the internet connection that is making a difference or not.

    Nick.

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