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 baikal-0.3.5 to baikal-0.5.3 #802

Closed
mtthff opened this issue May 15, 2019 · 4 comments
Closed

Upgrade baikal-0.3.5 to baikal-0.5.3 #802

mtthff opened this issue May 15, 2019 · 4 comments

Comments

@mtthff
Copy link

mtthff commented May 15, 2019

Hi,
I want to upgrade my very old baikal-0.3.5 to the latest. I've allready baikal-0.5.3 installed, but now I want to migrate my data, perhaps only mysql-Data.

Is that possible?

Kind regards
Matthias

@ByteHamster
Copy link
Member

ByteHamster commented May 15, 2019

Yes that is totally possible.

  • Create a backup of the Specific folder and your MySQL database
  • Download the new Baikal version
  • Place your old Specific folder in the new installation
  • Open the admin interface (it will upgrade your database automatically)

Feel free to comment here if anything goes wrong. For more details, see http://sabre.io/baikal/upgrade/

@mtthff
Copy link
Author

mtthff commented May 15, 2019

Hi ByteHamster,

thank you for the support, bit I got problems:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ju_baikal.calendarinstances' doesn't exist in /var/www/virtual/ju/html/baikal-0.5.3/Core/Frameworks/Flake/Core/Database.php:180
Stack trace:
#0 /var/www/virtual/ju/html/baikal-0.5.3/Core/Frameworks/Flake/Core/Database.php(180): PDO->query('SELECT count()...')
#1 /var/www/virtual/ju/html/baikal-0.5.3/Core/Frameworks/Flake/Core/Requester/Sql.php(202): Flake\Core\Database->query('SELECT count(
)...')
#2 /var/www/virtual/ju/html/baikal-0.5.3/Core/Frameworks/BaikalAdmin/Controller/Dashboard.php(48): Flake\Core\Requester\Sql->count()
#3 /var/www/virtual/ju/html/baikal-0.5.3/Core/Frameworks/Flake/Core/Render/Container.php(69): BaikalAdmin\Controller\Dashboard->render()
#4 /var/www/virtual/ju/html/baikal-0.5.3/Core/Frameworks/Flake/Controller/Page.php(85): Flake\Core\Render\Container->renderBlocks()
#5 /var/www/virtual/ju/html/baikal-0.5.3/html/admin/index.php(92): Flake\Controller\Page->render()
#6 {main}

What about this table: calendarinstances?

Kind regards
Matthias

@ByteHamster
Copy link
Member

Was the upgrade executed? Directly after copying the Specific folder, the admin interface should ask if you want to upgrade the database. When you accept that question, it should create the table automatically. What is your BAIKAL_CONFIGURED_VERSION in Specific/config.system.php?

@mtthff
Copy link
Author

mtthff commented May 16, 2019

Oh no, my fault.
I've changed "BAIKAL_CONFIGURED_VERSION" by hand. So the system can't recognize, that's an old version. Sorry!
Now it works fine.

Kind regards

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

2 participants