1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Upgrade includes old file

Discussion in 'General XenForo Discussion and Feedback' started by Mr Lucky, Jan 7, 2014.

  1. Mr Lucky

    Mr Lucky Well-Known Member

    Please correct me if I'm wrong, but I understood that if I upgrade, e. from 1.2.3 to 1.2.4 and I download the 1.2.4 upgrade package as opposed to the full install, it should only contain files that are new.

    However after uploading the upgrade and installing 1.2.4 I found that the node-sprite.png (which I had edited) was overwritten with the same file in the 1.2.4 upgrade.

    As far as I can tell, the default node-sprite.png file in 1.2.4 is identical, so why is it necessary to include in the upgrade? Of course I had a back up of my edited file so this is not a disaster, but it would be useful if the upgrade package only included updated files for the new version.

    Or a I missing something obvious?
  2. whynot

    whynot Well-Known Member

    No one knows that from which version do you want to upgrade.
    Is it 1.1.1 or is it 1.2.1? Maybe 1.2.2?
    Would need many combinations of downloadable files.
  3. Brogan

    Brogan XenForo Moderator Staff Member

    Exactly as whynot stated.

    Packaging releases in this way means you can upload from any version to any version.
    Otherwise you would need to pick a much more specific version and if you got the wrong one...

    You should be using a custom style directory.
  4. Mr Lucky

    Mr Lucky Well-Known Member

    OK, well that sort of makes sense, but in that case what is the difference between the full install and the upgrade? Why not make it simpler and just only have the full install files/folders?

    I understand that if an upgrade only includes new files, it has to be defined what it is upgrading from, but I imagine there are many customers who just like to stay up to date, so i think it will always be worth having an upgrade from the previous to the latest, e.g. 1.2.3. to 1.2.4 and then 1.2.4 to 1.2.5 and so on which only contains the new files.
  5. Jeremy

    Jeremy Well-Known Member

    The upgrade doesn't include the internal_data or data directories, which contain the user uploaded content. Thus, allowing much smaller amount of possible data corruption.
  6. Brogan

    Brogan XenForo Moderator Staff Member

  7. Mr Lucky

    Mr Lucky Well-Known Member

Share This Page