pgr
19 July 2020 16:52
21
I would focus on this message if I were you
You can try applying this fix manually
salesagility:hotfix-7.10.x
â pgorod:UpgraderImap2
opened 11:59AM - 15 Apr 20 UTC
## Description
Upgrade process fails on systems coming from 7.8 or earlier into⌠any of the newer versions (if I'm not mistaken).
```
Fatal error : Uncaught Error: Class âImapHandlerFactoryâ not found in modules/UpgradeWizard/uw_utils.php:1171
Stack trace:
#0 modules/UpgradeWizard/systemCheck.php(165): checkSystemCompliance()
```
This is caused by wrapping Imap functions in an object produced with `ImapHandlerFactory`, in this commit: https://github.com/gymad/SuiteCRM/commit/b225e21c726a5db7e3404c1df1dd17f6dda6064c#diff-1942c11214cc30a35f23e79eac1a1bdc
This makes the initial require reference a class file that doesn't exist in older systems yet. This reference happens early on in the upgrade process, so the file hasn't been copied yet.
## The fix
I am basically reverting the use of the `ImapHandlerFactory` object in the upgrader code, if you follow the code it will just instantiate and construct an `ImapHandler`object, and the `isAvailable` function will run this:
https://github.com/salesagility/SuiteCRM/blob/master/include/Imap/ImapHandler.php#L262
The revert removes the dependency to those class files and just tests the `function_exists` directly.
## How To Test This
Test upgrades from systems that don't have `ImapHandlerFactory` files yet.
## Types of changes
- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
### Final checklist
- [X] My code follows the code style of this project found [here](https://docs.suitecrm.com/community/contributing-code/coding-standards/).
- [ ] My change requires a change to the documentation.
- [ ] I have read the [**How to Contribute**](https://docs.suitecrm.com/community/contributing-code/) guidelines.
although it should already be included with the package.
If you keep getting problems please state exactly which package youâre trying to apply.
luggie
14 August 2020 15:35
23
I made the changes proposed by the github post.
However now I pass the system check but then the ânextâ button is missing
the only thing I could find about this was this post:
I am trying to upgrade from SuiteCRM 7.1.2 using the upgrade wizard.
I understand that to get to 7.6.6, I first need to upgrade from 7.1.x to 7.3.2 and then two more passes âŚ
I start the upgrade Wizard, and pass the system check.
But now, there is no [b]Next[/b ]button. How do I get the upgrade to proceed to the next step?
so I set all permissions again. However I donât understand what is meant by resetting ownership to apache in this post since I donât use apache. All my files are owner by the ftp user that I have from hetzner. Itâs the same user that owns all files from the original suite installation that runs well (I obviously try to upgrade on a clone installation)
pgr
17 August 2020 10:22
24
I think your owner is probably already correct.
We know there is a bug with the missing âNextâ button in the Wizard, lots of people are getting it, but we stlll donât know hoe to reproduce it. I think we need some more technical user to get the but so he/he can diagnose it fully.
luggie
19 August 2020 15:28
25
Well my installation is doing this. How could I help doing some progress here?
Regarding my problem: Is there a way to get a fresh install of the newest version and feed it with all modules/settings/data that Iâm using now?
pgr
21 August 2020 09:28
26
Somebody (a developer) with Windows, a PHP debugger and getting this bug in a reproducible manner, needs to go through this and get to a more precise diagnosis. Other than that, I donât have many ideas⌠sorry
luggie
26 August 2020 08:24
27
alright, thanks for your help so far