V4.5.38 to v5.3.0 "Whoops, looks like something went wrong."

I’m currently trying to get my org migrated to v5, but I’m really not having much luck. I attempt the data migration through the gui, but receive the error “Whoops, looks like something went wrong.” I’ve check out the laravel logs and the most recent entry is from March. Permissions on the app are all 755. I’ve set APP_DEBUG=true. I’ve searched discourse for similar issues. My v4 install is on php7.3. v5 is on another host on php7.4.


Are there any details in the logs in storage/logs/

Logs haven’t been written since March 2020. stacktrace and not-found longer. permissions look correct to me though…

-rwxr-xr-x 1 nginx nginx  73313 Mar 30  2020 laravel-error.log
-rwxr-xr-x 1 nginx nginx  21407 May  1  2020 not-found.log
-rwxr-xr-x 1 nginx nginx 255553 Jun 18  2018 stacktrace.log

Last few lines of all of these logs:

I was super looking at the wrong directory. ffs.

[2021-08-22 22:21:49] production.ERROR: ***Symfony\Component\Debug\Exception\FatalThrowableError*** [0] : /var/www/ninja/app/Http/Controllers/Migration/StepsController.php [Line 267] => Class 'ZipArchive' not found {"context":"PHP","user_id":1,"account_id":1,"user_name":"Justin Engwer","method":"POST","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0","locale":"en","ip":"","count":1,"is_console":"no","is_api":"no","db_server":"mysql","url":"migration/companies"} []

php zip not installed. looks like I missed it when updating php.

Installed php-zip extension. Looks like it’s working. 2 things I’ve learned:

  1. Working with the “remi” php packages on Centos 7 sucks.
  2. This process needs to have a fallback if zips are impossible. I’m moving a database totaling 4 MB. I really don’t feel it needs a zip.