-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Database is sometimes not initilialised correctly after a fresh install #4989
Comments
Attachment: error |
Attachment: example error on my website |
Hi aranud87, I tried to reproduce this issue without success. Tried a manual update by copying the files as well as an automatic update using the UI. Can you tell me the steps you did when updating to the new version? Have you changed anything in the config file after installing Piwik in the first place? Maybe I can reproduce it then. In addition, can you execute the following command within the Piwik directory and post the output?
|
Hi, I have done install the beta18 as the step on the website. i can't (or i don't where) write the command. but i first time (beta18) all reports are empty. ALTER IGNORE TABLE log_visit ADD (it is not on my phpmyadmin too!, i haven't installed with prefix) So after add that, my website run but with this errors |
Hi, I make re-install 2.2.0 with Adblock+ disable and now it is run fine. |
So i add : ALTER IGNORE TABLE piwik_log_visit ADD Now, it is not empty but i have still errors : WARN VisitsSummary14:17:04 [Failed to get data from API: SQLSTATE42S22: Column not found: 1054 Unknown column 'log_link_visit_action.custom_var_v5' in 'field list'#0 /homez.640/mageiade/www/piwik/libs/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->execute(Array)#1 /homez.640/mageiade/www/piwik/libs/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)#2 /homez.640/mageiade/www/piwik/libs/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('????SELECT?????...', Array)#3 /homez.640/mageiade/www/piwik/core/Db/Adapter/Pdo/Mysql.php(229): Zend_Db_Adapter_Pdo_Abstract->query('????SELECT?????...', Array)#4 /homez.640/mageiade/www/piwik/plugins/Actions/Archiver.php(273): Piwik\Db\Adapter\Pdo\Mysql->query('????SELECT?????...', Array)#5 /homez.640/mageiade/www/piwik/plugins/Actions/Archiver.php(247): Piwik\Plugins\Actions\Archiver->archiveDayQueryProcess('log_action.name...', Array, 'log_link_visit...', ' SQLSTATE[42S22]: Column not found: 1054 Unknown column 'log_link_visit_action.custom_var_v5' in 'field list' |
@aranud87 when you first installed Piwik, did you first install 2.2.0-b18 or did you upgrade from a previous older version? asking because of a report in IRC
|
Hi, I try : Always bug. I see another post : Same problem : Or a new post too : Thank you |
aranud87 could you please email thomas@piwik the details to access your server & how to reproduce the issue, as we would like to solve the issue (I've seen it reported in the forums several times). There is another (likely un-related) ticket to problems during the installation #4990 |
@Aranud please try the proposal in http://forum.piwik.org/read.php?8,114216,page=1#msg-114449 and maybe it will help? thanks for reporting! |
@mattab, how i apply the patch ? Because i edit 2 files and it is not work yet Core/Plugin/Manager.php tests/PHPUnit/UI -> PhpUnit not exist Thank you WARN VisitsSummary11:01:52 [Failed to get data from API: SQLSTATE42S22: Column not found: 1054 Unknown column 'log_link_visit_action.custom_var_v5' in 'field list'#0 /homez.640/mageiade/www/piwik/libs/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->execute(Array)#1 /homez.640/mageiade/www/piwik/libs/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)#2 /homez.640/mageiade/www/piwik/libs/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('????SELECT?????...', Array)#3 /homez.640/mageiade/www/piwik/core/Db/Adapter/Pdo/Mysql.php(229): Zend_Db_Adapter_Pdo_Abstract->query('????SELECT?????...', Array)#4 /homez.640/mageiade/www/piwik/plugins/Actions/Archiver.php(273): Piwik\Db\Adapter\Pdo\Mysql->query('????SELECT?????...', Array)#5 /homez.640/mageiade/www/piwik/plugins/Actions/Archiver.php(247): Piwik\Plugins\Actions\Archiver->archiveDayQueryProcess('log_action.name...', Array, 'log_link_visit...', ' SQLSTATE[42S22]: Column not found: 1054 Unknown column 'log_link_visit_action.custom_var_v5' in 'field list' |
I do new install with github zip (very difficult with cookies yet) but it is not run : [[Image(http://issues.piwik.org/attachments/4989/piwik.2.png)]] |
Attachment: with patch |
Hi !
I am new user and i am french(sorry for my bad english)
I have remove google-analistic for open source Piwik (my website is about Mageia Linux ahah)
I begin install 2.2.0-b18 and today, I upload the 2.2.0-RC2, i have this bug yet.
many errors.
about " Column not found: 1054 Unknown column 'log_link_visit_action.custom_var_v5' in 'field list'"
It is very long text, so i put in the file.
Thank you
Arnaud.
Keywords: SQLSTATE
The text was updated successfully, but these errors were encountered: