Hi!
>Good luck and let us know how it went.
Some news.. I'm quite impressed; it's really simple to upgrade by hand the site.
First ComfortUpdate : It was not possible to me to download a key for testing ComfortUpdate. When going to
community.limesurvey.org/comfort-update-extension/
and after a registration (I already have a free account), I click on the "Sign in free" in the "1 Month - Free" left frame. There is a redirection to my "Your account" page and there, below on the page, there is a ComfortUpdate area with a "Buy a new key" button. Clicking on it redirect me back to the offer page with the "A Month - Free" info, clicking on the "Sign in free" and tadaaa, back to "Your account" page. I've sent an email to the sales departments; no answer received yet.
So, let's try by hand.
The manual (
manual.limesurvey.org/Upgrading_from_a_p...any_later_version.29
) is explaining the we just need to remove everything except a very few files.
Since I'm playing locally, I remove folders/files like this:
```bash
(
find . -maxdepth 1 -type f -exec rm -f {} +
rm -rf admin assets docs framework installer locale modules plugins tests themes third_party tmp vendor
(cd application && rm *.* .htaccess 2>/dev/null; rm -rf commands controllers core datavalueobjects errors exceptions extensions helpers libraries logs models tests third_party views)
(cd application/config && find . -maxdepth 1 ! -name 'config.php' ! -name 'security.php' -type f -exec rm -f {} + )
)
```
(compatible for LS3 up to 6)
Then, the next step is to download the desired version of LimeSurvey, I do this like this:
```bash
(
DOCKER_LIMESURVEY_VERSION="5.6.35+230822"
DOCKER_LIMESURVEY_VERSION_SHA256_CHECKSUM="3f9e6616681e4108dc10c931e097c84109b8a5f3a69c86bd8952a34176803d4a"
curl -sSL "
github.com/LimeSurvey/LimeSurvey/archive...RVEY_VERSION}.tar.gz
" --output /tmp/limesurvey.tar.gz
echo "${DOCKER_LIMESURVEY_VERSION_SHA256_CHECKSUM} /tmp/limesurvey.tar.gz" | sha256sum -c -
tar xzvf "/tmp/limesurvey.tar.gz" --strip-components=1 -C ${PWD}
rm -f "/tmp/limesurvey.tar.gz"
)
```
Or, directly jumping to LS 6:
```bash
(
DOCKER_LIMESURVEY_VERSION="6.2.4+230825"
DOCKER_LIMESURVEY_VERSION_SHA256_CHECKSUM="6752d7cb272698b582b97b0374c9e394feb5a75f42e3d2d93e762b49cb30e278"
curl -sSL "
github.com/LimeSurvey/LimeSurvey/archive...RVEY_VERSION}.tar.gz
" --output /tmp/limesurvey.tar.gz
echo "${DOCKER_LIMESURVEY_VERSION_SHA256_CHECKSUM} /tmp/limesurvey.tar.gz" | sha256sum -c -
tar xzvf "/tmp/limesurvey.tar.gz" --strip-components=1 -C ${PWD}
rm -f "/tmp/limesurvey.tar.gz"
)
```
And it works... This is impressive i.e.
* step 1 I remove files/folders,
* step 2 I install LS 6 and
* step 3 I just need to start my admin interface, the system is asking for a database upgrade (in my case from version 359 to 612) and it's done.
Now, ok, the database upgrade is going to cause me problems because I've developed years ago a web service in PHP that interacts with the LS APIs (v3.22.6 at that time) but also directly with the database and, among other things, the structure of the 'questions' table has changed; I'm going to have to rework part of my web service.