New version bug/error
-
November 1, 2023 at 10:16 pm #10892[anonymous]
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.”
I checked and I don’t have that particular log file when I use the dropdown menu in the Log Viewer Tools.
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 #10909[anonymous]Hi,
Which sync method are you using?
November 15, 2023 at 4:48 pm #11029[anonymous]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.
November 15, 2023 at 6:23 pm #11032November 17, 2023 at 10:04 am #11067[anonymous]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 #11068[anonymous]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
November 18, 2023 at 10:59 am #11082[anonymous]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 #11107[anonymous]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 #11109[anonymous]Please check if you have something useful under Tools -> Log Viewer -> deployment-process/deployment-errors
Maybe it will help us to spot the problem
November 20, 2023 at 7:59 pm #11110[anonymous]Sorry 🙁
November 20, 2023 at 8:00 pm #11112[anonymous]And what about deployment-process? this file contains information about sync process
November 20, 2023 at 8:33 pm #11113[anonymous]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 #11147[anonymous]@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 #11180[anonymous]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 #11186[anonymous]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 #11187[anonymous]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 #11189[anonymous]@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
November 29, 2023 at 6:38 pm #11190[anonymous]@TaWulf – are you using FTP sync method too? Or other one?
November 29, 2023 at 7:05 pm #11191[anonymous]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 #11192[anonymous]@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 syncNovember 30, 2023 at 2:38 am #11198[anonymous]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
November 30, 2023 at 9:24 am #11203[anonymous]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 #11204[anonymous]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
November 30, 2023 at 10:13 pm #11213[anonymous]@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.
November 30, 2023 at 10:25 pm #11215[anonymous]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 #11216[anonymous]@K – do you have any useful informations under Tools -> Log Viewer -> deployment-process/deployment-errors ?
November 30, 2023 at 10:48 pm #11219[anonymous]This reply has been marked as private.November 30, 2023 at 10:50 pm #11220[anonymous]This reply has been marked as private.November 30, 2023 at 11:03 pm #11222[anonymous]@K – your problem is related to fact that it seems that your FTP is not supporting passive mode
December 1, 2023 at 9:57 am #11224[anonymous]@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 #11225[anonymous]@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 #11231[anonymous]@K – could you provide me an URL to your website?
December 1, 2023 at 8:47 pm #11235[anonymous]This reply has been marked as private.December 2, 2023 at 2:26 pm #11238[anonymous]This reply has been marked as private.December 2, 2023 at 4:47 pm #11240[anonymous]Thanks for your help, @Tomasz! My problem has vanished and I hope it stays vanished. 🙂
December 9, 2023 at 7:14 pm #11270[anonymous]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!
December 9, 2023 at 8:18 pm #11272[anonymous]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 #11273[anonymous]@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).
December 9, 2023 at 11:25 pm #11274[anonymous]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.
December 11, 2023 at 1:05 pm #11275[anonymous]Also downloaded new version, same problem persists. I have recieved an answer from my hosting provider, nothing changed on treir side, it was recommened for me to use passive mode. And yes, there are no problems uploading website manually via FTP with passive mode on. Well, can’t force Publii to use passive mode, so sticking to manual uploading for now
December 12, 2023 at 8:00 am #11282[anonymous]interesting you guys are having this problem – i’ve not had any issues uploading from my linux box (sftp with an ssl cert)
is there a common denominator here?
for those having problems, what os are you running?
is this strictly an ftp issue (not sftp)?
could an antivirus be screwing with uploads (most are garbage/malware)?
December 23, 2023 at 2:07 am #11378[anonymous]In Publii v.0.45 we will add an option to restart sync process after broken file upload. At this moment I can only recommend manual deployment if the connection with FTP is reseted.
December 23, 2023 at 11:17 am #11388[anonymous]Tomasz Dziuda wrote:In Publii v.0.45 we will add an option to restart sync process after broken file upload. At this moment I can only recommend manual deployment if the connection with FTP is reseted.
This is great, maybe it is also possible to force Publii to use passive mode, that could fix issue. For now, problem went away by itself, but I feel like it is a matter of time when it will return again
December 23, 2023 at 6:15 pm #11397[anonymous]@endingmirage – unfortunately library used in Publii for FTP does not support passive mode. I suppose that option to resume upload will solve 99% of sync issues