New version bug/error
- This topic has 38 replies, 6 voices, and was last updated 6 hours, 33 minutes ago by .
November 1, 2023 at 10:16 pm #10892K
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.
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.November 3, 2023 at 6:47 pm #10909Tomasz Dziuda
Which sync method are you using?November 15, 2023 at 4:48 pm #11029K
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 220.127.116.11 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.November 15, 2023 at 6:23 pm #11032November 17, 2023 at 10:04 am #11067K
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.)November 17, 2023 at 10:17 am #11068Tomasz Dziuda
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 filesNovember 18, 2023 at 10:59 am #11082K
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.November 20, 2023 at 7:38 pm #11107Hame
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:November 20, 2023 at 7:56 pm #11109Tomasz Dziuda
Please check if you have something useful under Tools -> Log Viewer -> deployment-process/deployment-errors
Maybe it will help us to spot the problemNovember 20, 2023 at 7:59 pm #11110Hame
Sorry 🙁November 20, 2023 at 8:00 pm #11112Tomasz Dziuda
And what about deployment-process? this file contains information about sync processNovember 20, 2023 at 8:33 pm #11113Hame
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#qiS0VqwIwHc5X9IHvR8YNbnHR28L4DWNdCXHGxwkeB4November 27, 2023 at 9:56 pm #11147Tomasz 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.November 29, 2023 at 2:33 pm #11180K
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.November 29, 2023 at 5:15 pm #11186TaWulf
Same here. Filezilla can upload fine and Publii also did as late as August. Now it seems broken.November 29, 2023 at 5:39 pm #11187K
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.November 29, 2023 at 6:37 pm #11189Tomasz 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 usersNovember 29, 2023 at 6:38 pm #11190Tomasz DziudaNovember 29, 2023 at 7:05 pm #11191TaWulf
I’m using straight FTP, no SSL/TLS, all settings unchanged. Target is on http://ftp.strato.com.November 29, 2023 at 11:01 pm #11192Tomasz Dziuda
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
– 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 syncNovember 30, 2023 at 2:38 am #11198TaWulf
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.
tNovember 30, 2023 at 9:24 am #11203K
Same here, I’m afraid. Synch hangs (Intel Mac) and the FTP connection tests still fails and asks to check permissions.November 30, 2023 at 10:23 am #11204TaWulf
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 2November 30, 2023 at 10:13 pm #11213Tomasz DziudaNovember 30, 2023 at 10:25 pm #11215K
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.November 30, 2023 at 10:38 pm #11216Tomasz DziudaNovember 30, 2023 at 10:48 pm #11219KThis reply has been marked as private.November 30, 2023 at 10:50 pm #11220KThis reply has been marked as private.November 30, 2023 at 11:03 pm #11222Tomasz DziudaDecember 1, 2023 at 9:57 am #11224K
@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.December 1, 2023 at 1:31 pm #11225K
@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?December 1, 2023 at 5:48 pm #11231Tomasz DziudaDecember 1, 2023 at 8:47 pm #11235KThis reply has been marked as private.December 2, 2023 at 2:26 pm #11238Tomasz DziudaThis reply has been marked as private.December 2, 2023 at 4:47 pm #11240K
Thanks for your help, @Tomasz! My problem has vanished and I hope it stays vanished. 🙂December 9, 2023 at 7:14 pm #11270endingmirage
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)
Should I just wait for a new version or is there something I can do? Thanks!December 9, 2023 at 8:18 pm #11272Hame
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.December 9, 2023 at 10:32 pm #11273itips3727
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).December 9, 2023 at 11:25 pm #11274Hame
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.
- You must be logged in to reply to this topic.