Upgrade (really) old Kirby website to latest version

I have a website that I think is built with Kirby CMS v1, possibly v2. I am not sure how to tell what version it is (the panel is not installed) but the site was built in 2014.

Is there an easy way to find out the version I have running?

The server it’s on is PHP 8.1.

Do I attempt to follow the instructions at Update to Kirby 3 | Kirby CMS and hope for the best, then once that’s done move to v4?

I was looking at Kirby 2 · GitHub as the place to possibly start.

Thanks in advance for your advice!

Geof

Is there a composer.json in the /kirby folder? Maybe the file tells you in the description what version it is.

Since it’s so long ago and there have been so many versions in between, I’d probably just install v4 and fix any issues that come up. That should work well if you are familiar dealing with PHP error messages.

The guide to migrate from v2 to v3 will still be helpful in the process, because many of the things mentioned there will be helpful for v4 as well. But since you have no Panel, that also means you can ignore any changes regarding the Panel, and the upgrade should be more or less straightforward.

Does the old site use any plugins?

Hi @texnixe thanks for your response.

Yes, there’s a composer.json file. It appears to be v2, and never updated.

No plugins were installed.

I’ll proceed with upgrading and see what happens!

Thanks for the recommendations. The site is now up-to-date.

2 Likes