GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.35k stars 419 forks source link

Problem when Syncing using 0.46.1 (build 16918) #1672

Open AKickIndieNutz opened 2 months ago

AKickIndieNutz commented 2 months ago

Discussed in https://github.com/GetPublii/Publii/discussions/1645

Originally posted by **AKickIndieNutz** August 29, 2024 Hi, I am not sure if anyone else has experienced the same error or has any suggestions as to a workaround, but help would be greatly appreciated... I was using the previous Publii version 0.45.2 (build 16609) and using Simple Theme v 2.8.3.0. I decided to 'keep in step' with the cool new features and installed the latest version 0.46.1,as usual install worked fine. I then attempted to Sync my site, it seemed to run through as usual but halfway through pushing changes to Github I got an error Critical Error: Error Request Timed Out. I checked the logs and I am unable to see any problems except the error message. I re-ran and this time it seemed to suggest that the push to Github was successful, but when I check my Github Repo can see no new Commits,equally in Cloudflare no delpoyment has occured, so I am guessing it is not even getting as far as that. In frustration after many failed attempts I uninstalled and 're-wound' back to v 0.45.2, I repeated the Sync process and all seems to work fine it pushes up to Github and triggers to Cloudflare. Not sure if anyone has experienced or has any ideas how to resolve otherwise looks as though I will be stuck on an old version? Many thanks in advance ![2024-08-24_21h18_31](https://github.com/user-attachments/assets/1807a7ce-0157-4e13-b4cf-94f65d5af257) ![2024-08-24_21h19_32](https://github.com/user-attachments/assets/9866e32c-8b3e-4984-b96b-8bf32d1a5aeb)

Update Retried again today and I still hit the same problem after installing latest version and attempting sync it stalls halfway through the push to Github. I noticed from the release notes that there should be a files.publii.json file somewhere. I can't see this file in my output directory? Should there be one? Maybe this is causing the problem?

dziudek commented 2 months ago

Hi,

Could you try to use sync via Github Pages - it uses API instead of raw Git - maybe it will help in your case

mvidelatraduc commented 2 months ago

I'm experiencing the same issue. Changing to the GitHub Pages API as suggested above works for now on v0.46.1.

AKickIndieNutz commented 1 month ago

Ok, so I am a little reticent to try changing over. I have tried again with Github Pages with no success. Here is the thing you previously announced the depreciation of GitHub Pages and Git Lab into just Git Repository TM. I moved to the new which worked very successfully in the previous release. In the latest release I have discovered these are no longer in depreciation state? If I take what I have now after moving over to accommodate I have to do a big bunch of 'un-hooking' from Cloudflare as well as Github to get the new version to play ball, it doesn't feel a satisfactory resolution to a problem, surely this whole 'Git' solution should work seamlessly from one version to another rather than the 'customer'/'client' having to reconfigure a load of stuff. Sorry for bit of a rant just my software testing head getting the better of me. I am happy with the previous release, my pushes to git/github work. They now don't on installing the latest version. Is there a solution?

SquierSquier commented 1 month ago

Same issue. Tried pushing to both github and gitlab (via "Git Repository" server type), getting "Request timed out" constantly. Noticed that this is especially true for larger files, eg large jpegs. Is there a way to adjust timeout value for git requests?

This is a blocker that stops me from publishing my new website. If I can't resolve I will have to migrate back to Cargo (after investing several weeks into migrating content to Publii).

Thanks.