Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Failing from 0.4.6 to 0.7.1 #969

Closed
3 tasks done
lama7 opened this issue Aug 14, 2020 · 2 comments
Closed
3 tasks done

Upgrade Failing from 0.4.6 to 0.7.1 #969

lama7 opened this issue Aug 14, 2020 · 2 comments

Comments

@lama7
Copy link

lama7 commented Aug 14, 2020

Baikal version: 0.x

  • I have searched open and closed issues for duplicates
  • I have installed the release zip, not the source code zip
  • I have moved the whole, untouched Specific and config folders to the new installation

Problem:

I'm trying to upgrade to 0.7.1 from 0.4.6, I get the following error page:

Error: Call to a member function getPDO() on null in /home3/lamafamo/public_html/calendar/Core/Frameworks/BaikalAdmin/Controller/Install/VersionUpgrade.php:98
Stack trace:
#0 /home3/lamafamo/public_html/calendar/Core/Frameworks/BaikalAdmin/Controller/Install/VersionUpgrade.php(68): BaikalAdmin\Controller\Install\VersionUpgrade->upgrade('0.4.6', '0.7.1')
#1 /home3/lamafamo/public_html/calendar/Core/Frameworks/Flake/Core/Render/Container.php(69): BaikalAdmin\Controller\Install\VersionUpgrade->render()
#2 /home3/lamafamo/public_html/calendar/Core/Frameworks/Flake/Controller/Page.php(90): Flake\Core\Render\Container->renderBlocks()
#3 /home3/lamafamo/public_html/calendar/html/admin/install/index.php(100): Flake\Controller\Page->render()
#4 {main}

Not sure if this is a server config error, or if the upgrade code is choking because of the large difference in versions. Any advice on how to proceed is appreciated.

Regards-
Gerry

@lama7
Copy link
Author

lama7 commented Aug 14, 2020

I should add that, per the upgrade instructions, I did not touch the Specific directory.

I DID upload a copy of the config directory since 0.4.6 did not have this directory.

@lama7
Copy link
Author

lama7 commented Aug 14, 2020

Alright, I'm attempting to do an intermediate upgrade to 0.6.1 since I just saw the note that it is not possible to upgrade to current from version below 0.6.1

UPDATE- 0.6.1 upgrade was successful
UPDATE 2- 0.7.1 upgrade didn't work but 0.7.0 upgrade successful
FINAL UPDATE- upgrade from 0.7.0 to 0.7.1 worked

@lama7 lama7 closed this as completed Aug 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant