Sign in

New version bug/error

  • This topic has 38 replies, 6 voices, and was last updated 6 hours, 33 minutes ago by .
Viewing 39 posts - 1 through 39 (of 39 total)
  • Author
    Posts
  • #10892
    Avatar photoK

    I updated to the latest version today. It did not go well. Firstly, my website sync took forever and apparently all 1000+ files were synchronized/uploaded/overwritten, instead of just uploading the new files.

    Then I got this error message: “Some files were not synced properly. Please check the hard-upload-errors-log.txt file using the Tools -> Log viewer tool.” Bildschirmfoto-2023-11-01-um-21.49.29

    I checked and I don’t have that particular log file when I use the dropdown menu in the Log Viewer Tools. Bildschirmfoto-2023-11-01-um-21.49.53

    Sure enough, what wasn’t synced was my latest post, which I wrote earlier today. Nothing special about it, it’s sweet and short and has one featured image, not too large a file

    either. I have no idea what seems to be the problem here.

    I thought I might have an outdated theme, and yes, I needed to upgrade that, too (Mercury). But upon the second try, the sync again took forever and didn’t sync my latest post.

    So I reverted to the previous version of Publii and while it re-uploaded every single file again, it took a mere minute, unlike previously with the newer version. And lo and behold, today’s post was synced as well.

    #10909
    Avatar photoTomasz Dziuda

    Hi,

    Which sync method are you using?

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11029
    Avatar photoK

    Hi, and sorry for the delayed response, I only just saw it today, got no notification mail.

    I am using FTP for Sync.

    I just  upgraded to Publii 0.4.4 and Mercury 2.6.0.0 and again it took forever to upload ALL the files (1149 operations!) instead of only the update ones and in the end it didn’t even finish the sync, it just quit at 770 files.

    It’s more or less the same problem it was with 0.4.3. I don’t get it, everything worked fine in earlier versions.

    #11032
    Avatar photoK

    Bildschirmfoto-2023-11-15-um-18.21.25

    That’s new, though.

    #11067
    Avatar photoK

    Just casually bumping this up because I can‘t publish any new articles right now due to this and haven’t been able to do so for weeks, and this poses actually quite a problem. So I‘d be REALLY happy for any help you could throw my way  thank you.

    (Honestly, and I thought WordPress was a RPITA and technical nightmare.)

    #11068
    Avatar photoTomasz Dziuda

    Hi,

    The issue can be related to slow internet connection or slow server connection. The fastest solution will be using manual deployment – upload generated files to the FTP server manually and the try to resync via Publii to check if it still tries to upload files

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11082
    Avatar photoK

    Thanks for the quick reply. I manually ftp’d the latest blog entry per your suggestion and at least that’s live now. My internet and server connection are both superfast, so that can’t be it.

    I updated to the latest version again and tried synching again. It still wouldn’t work, while now it doesn’t take ages, it just stops at file 246 of 1149 and the progression bar simulates everything being 9% done (see screenshot).

    I think there must be some file corrupted somewhere. This whole scenario doesn’t make any sense at all.

    Bildschirmfoto-2023-11-18-um-10.48.24

    #11107
    Avatar photoHame

    I’m having the same issue: Fast connection, nothing else has any problems, but for several weeks Publii has been hanging partway through uploading files to my site.

    I can upload manually, but it’s a nuisance, and the next time I try to upload, Publii wants to re-post every file from the blog’s history.

    Eventually, I have to cancel the upload, because it’s hung somewhere around 241 out of 1600 files. Then I see this message:

    Screenshot-2023-11-20-143742

    #11109
    Avatar photoTomasz Dziuda

    Please check if you have something useful under Tools -> Log Viewer -> deployment-process/deployment-errors

    Maybe it will help us to spot the problem

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11110
    Avatar photoHame

    Sorry 🙁

     

    #11112
    Avatar photoTomasz Dziuda

    And what about deployment-process? this file contains information about sync process

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11113
    Avatar photoHame

    Sure. There’s lots in there; hopefully it’s helpful.

    It’s quite long, so here’s a link:
    https://new.space/s/-sSVStCTdISL8DL2HG36Pw/items/EBA2qxHC9daVPAf25I8D4w#qiS0VqwIwHc5X9IHvR8YNbnHR28L4DWNdCXHGxwkeB4

    #11147
    Avatar photoTomasz Dziuda

    @Hame – I think that your problem is caused by your server connection. In next Publii release (v.0.45) we will add a lot of improvements to the deployment process, what should solve also your issue.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11180
    Avatar photoK

    I’ve just deleted my site from the server and tried to upload from scratch and do a fresh installation, but the issues remain. The app takes forever to upload and quits at uploading about a third of the files.  I then have to manually ftp all files with an external FTP software (Cyberduck). I’m using Publii v. 0.44.1 for Intel Mac OS with FTP set as synchronisation method.

    I don’t know when, what or why it has changed, but since two or three updates ago Publii’s synchronisation is not only buggy but de facto nonexistent. Since there are at least five or six threads about synchronisation issues on the first page of the discussion forum alone, and with every possible form of hosting/synch method, it’s apparently a universal problem. I’ve also checked the file permissions on the server, but they look okay to me. In any event, I didn’t change them from previous versions, when everything worked just fine.

    #11186
    Avatar photoTaWulf

    Same here. Filezilla can upload fine and Publii also did as late as August. Now it seems broken.

    #11187
    Avatar photoK

    Just double checked: The last blog entry I didn‘t have to upload manually was published on 29 Sept. I don‘t know what happened in October, I didn’t write anything that month, but by November 1st the wheels had come off.

    #11189
    Avatar photoTomasz Dziuda

    @K – we are working on these issues and we will add few improvements in v.0.45. To be honest – we don’t touch the sync methods in last releases excepting Git, so it is weird that the problem appeared now. Also I cannot reproduce it on my instances, so it is not a global problem, but definitely affects parts of the users

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11190
    Avatar photoTomasz Dziuda

    @TaWulf – are you using FTP sync method too? Or other one?

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11191
    Avatar photoTaWulf

    I’m using straight FTP, no SSL/TLS, all settings unchanged. Target is on http://ftp.strato.com.

    #11192
    Avatar photoTomasz Dziuda

    @K @TaWulf @Hame – I have analysed this issue deeper:

    It seems that it is some problem with MD5 sum calculation/comparision which leads to desync local files list. I have prepared prerelease version of Publii v.0.44.2 which changes a way how sync is detected – instead of MD5 sum it uses UUID generated for every deployment. It should be more elastic solution.

    Can I ask you to do the following test with these installation files: https://drive.google.com/drive/folders/103oaWGBJFJkHHMXNF64ndg9wndipGs8G?usp=sharing

    Please:
    – use manual deploy to generate files
    – upload these files using FTP software
    – then please try to sync website from Publii – you should get only 1-2 files to sync, instead of the whole website
    – you can also make small modification and check if only necessary files are uploaded during sync

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11198
    Avatar photoTaWulf

    Thanks for the update but..

    Nope, sorry to say that this didn’t change anything here. On my win 10 machine the synch still hangs and the server connection test still never succeeds.

    Imo the latter could be the pointer to the issue, not the file hashes.

    t

    #11203
    Avatar photoK

    Same here, I’m afraid. Synch hangs (Intel Mac) and the FTP connection tests still fails and asks to check permissions.

    #11204
    Avatar photoTaWulf

    Well that is a tiny difference: Connection test doesn’t ask for anything, just never completes.

     

    And the upload never starts with any files. (img 1)

    And when I cancel it it shows img 2

    #11213
    Avatar photoTomasz Dziuda

    @K @TaWulf – did you uploaded files manually before testing the sync? Because this fix won’t solve the sync issue without uploading files before manually.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11215
    Avatar photoK

    I did, yes. It works, of course, but doesn’t make a difference in the end. Once I revert back to FTP as the synch method, Publii still wants to upload ALL files and takes forever and gives the Java Script Error and says the file permissions are off.

    #11216
    Avatar photoTomasz Dziuda

    @K – do you have any useful informations under Tools -> Log Viewer -> deployment-process/deployment-errors ?

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11219
    Avatar photoK
    This reply has been marked as private.
    #11220
    Avatar photoK
    This reply has been marked as private.
    #11222
    Avatar photoTomasz Dziuda

    @K – your problem is related to fact that it seems that your FTP is not supporting passive mode

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11224
    Avatar photoK

    @Tomasz, that’s odd, I didn’t change anything in my settings, but maybe the Domainfactory (my hosting company) has made changes to their servers. I will take it up with their support.

    #11225
    Avatar photoK

    @Tomasz – I’ve spoken with their support and they state that on their end nothing is wrong and they haven’t changed anything. They say since I can upload manually without any errors or issues via my ftp-client Cyberduck it must be a Publii error. Now what?

    #11231
    Avatar photoTomasz Dziuda

    @K – could you provide me an URL to your website?

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #11235
    Avatar photoK
    This reply has been marked as private.
    #11238
    Avatar photoTomasz Dziuda
    This reply has been marked as private.
    #11240
    Avatar photoK

    Thanks for your help, @Tomasz! My problem has vanished and I hope it stays vanished. 🙂

    #11270
    Avatar photoendingmirage

    Hi, I have some similar issue

    Publii never finishes uploading, hangs randomly in the process. I am able to upload manually through FTP client with passive mode enabled though. Cancelling process sometimes throws an error I have attached.

    Deployments error log is empty, deployment-process.log contains this:

    [Sat, 09 Dec 2023 17:57:51 GMT] FTP ERROR: Error: read ECONNRESET
    [Sat, 09 Dec 2023 17:57:51 GMT] FTP CONNECTION CLOSED: true

    Also, Publii always wants to sync everything, in my case it is like 4k items. I have tried replacing files.publii.json file on the server with local version, and it was able to sync around 67 files successfuly once. Then problem appears again. Contacted my hosting provider, but there are no response yet.

    Version: 0.44.0 (build 16485)

    Windows 10

    Should I just wait for a new version or is there something I can do? Thanks!

    #11272
    Avatar photoHame

    Same, with it wanting to replace everything. And this same setup in my instance of Publii worked before — no changes to my settings or server.

    I really like Publii, but after a few months of this, I regret that there’s no way to migrate my content to another system (e.g. back to WordPress).

    I believe this is a known issue at this point, so my fingers are crossed that a fix is in the works.

    #11273
    Avatar photoitips3727

    @endingmirage

    Latest version of Publii is v0.44.1 (build 16519). Maybe try that.

    No such problems with Publii on MacOS Intel via standard third-party web hosting provider (not Git, Netlify, etc).

    #11274
    Avatar photoHame

    Just downloaded the version that’s live as of today, via the link above. Uploading hung.

     

    Windows, iBrave hosting, could (had to) upload the files via FileZilla.

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