-
Notifications
You must be signed in to change notification settings - Fork 293
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
Baikal does not migrate mysql details on upgrade #946
Comments
Solved... First upgrading to 0.7.0 and then to 0.7.1 worked. |
... closing the issue was not the best idea, as it would be great if the upgrade directly to 0.7.1 were working... |
I had exactly the same problem and the same error-messages like kovarto when I tried to update from 0.6.1 to 0.7.1. |
I would like to echo what @gruenie wrote. If you want to upgrade from 0.6.1 to 0.7.1 you have to first upgrade to 0.7.0. Else, I received an error pertaining to the database hostname. |
I experience the same issue. Unfortunately, updating to 0.7.0 first is not an option as I am using baikal on my NAS where I can not select another intermediate version. Manually fixing config file worked as a fix for me. |
same problem here - upgraded the ports on my FreeBSD server, which jumped directly to Baikal 0.7.1, and hit the very same issue. |
Lol, all the investigation and just now I recognise the PR that contains the fix already 😄: https://github.com/sabre-io/Baikal/pull/979/files#diff-4363d89c829cff197338e61e600822c7L49-L54 Obsolete investigation, already solved aboveWe experience the same issue: MichaIng/DietPi#3789 (comment) If Did someone try I try to derive what is done when accessing the web UI after upgrade:
|
Hello, To update Baikal from 0.6.1 to 0.7.1, a fix of the Baikal update procedure is necessary. Best regards, and thanks. |
Or updating in two stages 0.6.1 => 0.7.0 => 0.7.1 as described 😉. |
Sorry; |
Above? Read this issue from the beginning 😉. But probably you mean a step-by-step instruction. You need to download and place each version manually from here: https://github.com/sabre-io/Baikal/releases |
Had the same issue. baikal.yaml was not updated correctly so I edited manually and it worked. |
Should be fixed in #979 |
Baikal version: 0.6.1-> 0.7.1
Specific
andconfig
folders to the new installationProblem:
The upgrade throws a php exception -
Error: Call to a member function getPDO() on null in /var/www/html/baikal/Core/Frameworks/BaikalAdmin/Controller/Install/VersionUpgrade.php:98
Stack trace:
#0 /var/www/html/baikal/Core/Frameworks/BaikalAdmin/Controller/Install/VersionUpgrade.php(68): BaikalAdmin\Controller\Install\VersionUpgrade->upgrade('0.6.1', '0.7.1')
#1 /var/www/html/baikal/Core/Frameworks/Flake/Core/Render/Container.php(69): BaikalAdmin\Controller\Install\VersionUpgrade->render()
#2 /var/www/html/baikal/Core/Frameworks/Flake/Controller/Page.php(90): Flake\Core\Render\Container->renderBlocks()
#3 /var/www/html/baikal/html/admin/install/index.php(100): Flake\Controller\Page->render()
#4 {main}
The text was updated successfully, but these errors were encountered: