Skip to content

Instantly share code, notes, and snippets.

@bmxp
Created January 12, 2018 09:17
Show Gist options
  • Save bmxp/5d0046ced5dc92ab25dfba174632c045 to your computer and use it in GitHub Desktop.
Save bmxp/5d0046ced5dc92ab25dfba174632c045 to your computer and use it in GitHub Desktop.
How to update a Pydio Installation one by one (starting with 6.2.2)

How to update a Pydio Installation one by one

Pydio has an internal updater. I was however unlucky to find out that the upgrade from 6.2.2 to the latest version failed between 7.0.1. and 7.0.2. But I was lucky to have a backup so I did not have to repair but could just restore the whole machine.

So I decided, there must be a _more_ manual way to update just some steps. So here are my findings if anyone else got the same trouble.

If one enters the Settings and below the basic setting the plugin setting then the menu item action is found. Upon edit one can specify the update server. So entering an invalid server url here brings a string containing somewhat like https://update.pydio.com/pub/?channel=stable&version=6.2.2&package=pydio-core

The result was in my case

{
     "packages": ["https://update.pydio.com/pub/stable/pydio-core-upgrade-6.2.2-6.4.0.zip",
     "https://update.pydio.com/pub/stable/pydio-core-upgrade-6.4.0-6.4.1.zip",
     "https://update.pydio.com/pub/stable/pydio-core-upgrade-6.4.1-6.4.2.zip",
     "https://update.pydio.com/pub/stable/pydio-core-upgrade-6.4.2-7.0.1.zip",
     "https://update.pydio.com/pub/stable/pydio-core-upgrade-7.0.1-7.0.2.zip",
     "https://update.pydio.com/pub/stable/pydio-core-upgrade-7.0.2-7.0.3.zip",
     "https://update.pydio.com/pub/stable/pydio-core-upgrade-7.0.3-7.0.4.zip",
     "https://update.pydio.com/pub/stable/pydio-core-upgrade-7.0.4-8.0.0.zip",
     "https://update.pydio.com/pub/stable/pydio-core-upgrade-8.0.0-8.0.1.zip",
     "https://update.pydio.com/pub/stable/pydio-core-upgrade-8.0.1-8.0.2.zip"],
     "hashes": ["c62de0f702a4abcfbdfd52e9614efca1",
     "fbd7570ed03a7926c6d9e8d6a60f1b3e",
     "439f6ebabe74e3d33054861dd4bd560c",
     "3d9182b448ed9597af8f8d2f4e7b746a",
     "86ea927a8154de3213ea83b1240981cd",
     "c3991b11a5451b4b74c56db10ae38176",
     "e70770670f8d28690414e49de6ea2c93",
     "43ee2a94037a1d9784bac8ebbd77b79e",
     "3c90f2c2e189b7115ae471b3bf0be394",
     "b7191692dd0a070f4da53ae5ce9e07e1"],
     "hash_method": "md5",
     "latest_note": "https://update.pydio.com/pub/stable/pydio-core-upgrade-8.0.1-8.0.2.html"

}

What we can do here is to fake an own server and let it give just a part of the above response. I changed the response to the following:

{
     "packages": ["https://update.pydio.com/pub/stable/pydio-core-upgrade-6.2.2-6.4.0.zip",
     "https://update.pydio.com/pub/stable/pydio-core-upgrade-6.4.0-6.4.1.zip",
     "https://update.pydio.com/pub/stable/pydio-core-upgrade-6.4.1-6.4.2.zip"],
     "hashes": ["c62de0f702a4abcfbdfd52e9614efca1",
     "fbd7570ed03a7926c6d9e8d6a60f1b3e",
     "439f6ebabe74e3d33054861dd4bd560c"],
     "hash_method": "md5",
     "latest_note": "https://update.pydio.com/pub/stable/pydio-core-upgrade-8.0.1-8.0.2.html"
}

So I were presented only the three upgrades. Running the update was successful. After finishing I first checked if everything was still working.

Now the move to 7.0.1 with

{
"packages": ["https://update.pydio.com/pub/stable/pydio-core-upgrade-6.4.2-7.0.1.zip"], "hashes": ["3d9182b448ed9597af8f8d2f4e7b746a"], "hash_method": "md5", "latest_note": "https://update.pydio.com/pub/stable/pydio-core-upgrade-8.0.1-8.0.2.html"

}

The next steps are accordingly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment