Download
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.

Website sync always copy all files

  • #10139
    Avatar photo[anonymous]

    Hello,

    on one of my sites the sync always copy every file (2187 operations). Also if I do not change anything. Any ideas?

    Sebastian

    #10140
    Avatar photo[anonymous]

    @BuzzDee

    Of course, that shouldn’t happen with a normal Publii installation: after the first upload, only the changed files should upload.

    If you can provide some more details, that might help.

    Also, check your Publii error log: it may show some clues as to the cause.

    Are you using a different web hosting solution for the site that uploads every file?

    #10141
    Avatar photo[anonymous]

    Hello,

    I’m using Publii 0.42.1. I have 5 or 6 sites in Publii. All sites are hosted on the same server. All sites uploaded by ftp (with tls). The only differents are the theme and the size. The problem site is the biggest one (about 60 posts and 500+ pictures) and using Simple (2.6.0.0) theme. All error logs are empty. Upload works fine and finished after some minutes but syncs always the whole site.

    #10142
    Avatar photo[anonymous]

    @BuzzDee

    Clearly, there is something different about the site you’re having problems syncing.

    While the Simple theme is now on version 2.6.2.0 ( https://marketplace.getpublii.com/themes/simple/ ), a glance at the changelog might suggest it seems having the latest version installed may not fix your problem. Even so, makes sense to keep everything up to date if you can.

    Do you have any theme overrides, or is your Simple theme a default Publii Simple theme install?

    Maybe someone else on the forum could help further.

    #10227
    Avatar photo[anonymous]

    Hi,

    BuzzDee – please check if you have for this website file publii-files.json on the server – this file is used for checking if locally you have last sync data. Maybe there is an issue in your case

    #10273
    Avatar photo[anonymous]

    Yes, the file is on the server. It has the same content then the files.publii.json in the output directory.

    #10366
    Avatar photo[anonymous]

    Which deployment method are you using?

    #10448
    Avatar photo[anonymous]

    Hallo zusammen,
    ich habe seit 4 Tagen das gleiche Problem. Publii läd immer alle Dateien hoch. Das sind bei mir etwas über 72000 und dauert mehr als 10 Stunden. Ich habe heute das Programm aktualisiert und hoffe, dass sich damit das Problem löst.
    Die Datei “files.publii.json” ist bei mir vorhanden.
    Das erste Hochladen betrifft wieder über 72.000 Dateien. Werde über Nacht hochladen und es dann morgen noch einmal versuchen.
    Viele Grüße