Migrate from 8.3 to 8.8 fails

Hi everyone,

I’m running a 8.3 version on a local Wamp server, and I’m trying to upgrade to 8.8. following this guide.

I first end up with the following error:

In NativeSessionStorage.php line 152:
Failed to start the session because headers have already been sent by "C:\wamp64\www\suitecrm-8\vendor\symfony\http-foundation\Session\Attribute\AttributeBag.php" at line 17.

So I followed this topic and disabled lines 146 to 166 in the NativeSessionStorage.php file.

Then, I relaunch the upgrade. It goes a bit further, but I end up with the following error:

SuiteCRM Upgrade
============

Running: backup-original-modules
step: backup-original-modules | status: done
Successfully backed up files
Running: check-package
step: check-package | status: done
Package found in path
Running: extract-package
step: extract-package | status: done
Package extracted
Running: check-permissions
step: check-permissions | status: done
Permissions checked
Running: install-upgrade-package
11:52:34 CRITICAL  [console] Error thrown while running command "suitecrm:app:upgrade -t "SuiteCRM-8.8.0". Message: "Failed to create "C:\wamp64\www\suitecrm-8/vendor\smarty\smarty\changelog": mkdir(): File exists" ["exception" => Symfony\Component\Filesystem\Exception\IOException^ { …},"command" => "suitecrm:app:upgrade -t "SuiteCRM-8.8.0"","message" => "Failed to create "C:\wamp64\www\suitecrm-8/vendor\smarty\smarty\changelog": mkdir(): File exists"]

In Filesystem.php line 100:

Failed to create "C:\wamp64\www\suitecrm-8/vendor\smarty\smarty\changelog ": mkdir(): File exists

From this point, I can only finalize the upgrade, delete the whole SuiteCRM folder and restore the backup, to start again.

Has anyone any idea about this problem ?

I hope these topics will help you :face_with_peeking_eye: :ballot_box_with_check:

Hello Ben,

I’d first move away from Windows, since the support / compatibility has officially been dropped:

Overall, you’ll have way fewer issues, if you use standard LAMP environments.
I’m using the good old Virtual Box :slight_smile:

There’s a nice way to use SuiteCRM from Windows (but not in Windows) which is to run it inside WSL. I do it all the time with a Ubuntu VM, excellent experience.

Rsp, thanks for the links !
User right privileges is the first thing I looked into, as it comes up very often in all sorts of problems during install or migration. But it’s hard to do a chmod in Windows, and hard to find which user Wamp is running as. I tried multiple ones, to no avail.
I tried to give all the privileges to all the people via right click / properties, security… but same result.

As Bastian mentioned, maybe I shouldn’t try to run SuiteCRM in such an environment in the first place.

So thanks all for your feedback ! :smile:

Pgr, thanks for the suggestion.
I need to consider this as well !

Hi Bastian,

well, I was so focused on checking compatibility for php, apache, mysql… that I did’nt event notice the Windows line was missing in version 8.
So thank you for the reminder :slight_smile: .

I’m not a developer or sysadmin, and already a bit out of my depth with this Wamp setup… But I’ll definitely have a look to Virtual Box :grinning:!