We have an old project using Meteor 0.7.0.1 and we’d like to update it to 1.5.
On the first attempt trying to run
meteor update fails with the following error:
This project says that it uses Meteor 0.7.0.1, but you don’t have that version of Meteor installed and the Meteor
update servers don’t have it either. Please edit the .meteor/release file in the project and change it to a valid
Is there an official update process for updating old meteor projects?
I’m not too sure about a process which will work from a release that far back - other than incremental updates, but this still gives you a problem if you don’t have that version installed and the update servers don’t have it.
However, you can still get Meteor 0.7.0.1 for installation. The zip is at https://api.github.com/repos/meteor/meteor/zipball/release/0.7.0.1
and the tar.gz is at https://api.github.com/repos/meteor/meteor/tarball/release/0.7.0.1
You could try this SO post for some hints. Alternatively, you could edit the meteor install script with the 0.7.0.1 tarball address and try running that.
If you’re feeling adventurous you could try altering
.meteor/release to a more recent version and see what happens. Make sure everything’s backed up first! My feeling is that so many core packages have been added, renamed or removed (not least Spark -> Blaze), that this may not be easy - although small version increments may work eventually.
You could also create a new, empty project and copy your source files over. That may be easiest in the long run.
History.md to get an idea of what you’re in for - and keep us posted. This is a really interesting challenge - good luck
I’d bet this would be the best option.
And Meteor 0.7.0.1, whoa!
As someone who has done a Meteor 0.7.1 to 1.4 update of a large meteor project I would suggest creating an empty project and migrating over each individual functional piece.
The way I actually did it was created a new branch and moved the existing application code into a a directory called old. Then I generated a new Meteor 1.4 (at the time) with the --full flag in the directory and I started moving code into imports. Depending on your applications size it can be a lot of work.