1

I am trying to update a site from Craft 2 to Craft 3. I first set up a new server, installed Craft 3, copied over config settings from the original site, and moved over a copy the original database. I have done this successfully on quite a few Craft 2 to 3 updates with no problem.

After pointing my browser to mysite/admin I got the prompt to finish up / update the database as expected, but the process timed out. The sql file I moved over is about 8mb, not especially large. In any case, is there any way I can run the database update process from the console in order to avoid the timeout issue?

1

The console command you are looking for is:

./craft migrate/all
| improve this answer | |
1

Here is the answer, thanks to @Brandon Kelly: ./craft migrate/up --track=craft

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.