I am trying to migrate from v4 to v5. I have gone through the help files on the site and followed all of the checks at the bottom of the migration page. I am on v5.1.48-C46 and v4.5.38.
I can successfully get through the page where i put in my username and password. When I click continue, I immediately get “Whoops, looks like something went wrong.”
The apps are on 2 different servers hosted in Azure, both Ubuntu. The only thing I see in the log is this:
[2021-04-21 13:08:05] production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError [0] : /var/www/html/ninja/app/Http/Controllers/Migration/StepsController.php [Line 267] => Class ‘ZipArchive’ not found {“context”:“PHP”,“user_id”:1,“account_id”:1,“user_name”:“Chris Hawver”,“method”:“POST”,“user_agent”:“Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.72 Safari/537.36”,“locale”:“en”,“ip”:"*****",“count”:5,“is_console”:“no”,“is_api”:“no”,“db_server”:“mysql”,“url”:“migration/companies”} []
I am not a coder so I was trying to figure out this error. I see that it can’t find the Zip archive, probably because it wasn’t created when I went through the migration wizard. I have checked permissions on the html folder as well and they are all owned by www-data.
I am on 7.4 on my version 5 server and Ubuntu 20.04.2. So do I need to upgrade my version 4 server to 7.3 and try to upgrade again? They are separate servers.
That helped. What I found was that I was missing the php zip extension which makes sense as to why it couldn’t create the file. Working on the migration now. Will follow up. Thank you!