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

Upgrading from 0.4.6 to newer version #810

Closed
stoepsl opened this issue Jul 6, 2019 · 6 comments
Closed

Upgrading from 0.4.6 to newer version #810

stoepsl opened this issue Jul 6, 2019 · 6 comments

Comments

@stoepsl
Copy link

stoepsl commented Jul 6, 2019

Hey there,

I want to upgrade from 0.4.6 to newer version but I get this Error always:

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

What can I do?

@evert
Copy link
Member

evert commented Jul 9, 2019

It's strange that so many people run into this issue. @ByteHamster do you have any clue as to what causes this for people? are the upgrade instructions just bad?

@stoepsl
Copy link
Author

stoepsl commented Jul 10, 2019

Please note that when upgrading from version 0.4.6 to a newer version, this error occurs. I tested it with version 0.5.1 as well as 0.5.3. I use MariaDB on a Sysnology NAS as my server. Does this database table have to be created during the upgrade?

@ByteHamster
Copy link
Member

The upgrade process should create the table automatically. Did you get a screen that prompts for upgrading the database?

@stoepsl
Copy link
Author

stoepsl commented Jul 10, 2019

You're right 😅, I hadn't read the documentation correctly, now I kept the whole "Specific"-folder and it worked. Now I also see the update screen. Thanks a lot!

@stoepsl stoepsl closed this as completed Jul 10, 2019
@ByteHamster
Copy link
Member

ByteHamster commented Jul 10, 2019

@evert I will create an issue template that contains checkboxes for common upgrade problems.

  • Do not modify contents of specific directory, keep the whole folder
  • Delete everything except specific directory and replace with release zip
  • Use correct release zip (error message about composer)

I will also open a PR for the website that contains common upgrade issues.

@BobWs

This comment has been minimized.

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

4 participants