Skip to content
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.

0006778: Update von 6.2 auf 6.3 scheitert #3437

Closed
Gloirin opened this issue Jun 9, 2018 · 5 comments
Closed

0006778: Update von 6.2 auf 6.3 scheitert #3437

Gloirin opened this issue Jun 9, 2018 · 5 comments
Assignees
Labels
Bug high priority Mantis Migrated from old Mantis bugtracker forge.tine20.org Tinebase

Comments

@Gloirin
Copy link
Contributor

Gloirin commented Jun 9, 2018

Reported by GWI on 18 Jul 2012 18:46

Version: git master

Beim Update von Tinebase von 6.2 auf 6.3 kommt ein Fehler
das die Spalte "model" schon vorhanden ist.

Das erste Update Brach mit einer Fehlermeldung ab und
ein erneutes Update brachte den Fehler das "model" schon
vorhanden ist.

@Gloirin Gloirin added this to the Joey (2012.10.1~alpha1) milestone Jun 9, 2018
@Gloirin Gloirin self-assigned this Jun 9, 2018
@Gloirin Gloirin added Bug high priority Mantis Migrated from old Mantis bugtracker forge.tine20.org Tinebase labels Jun 9, 2018
@Gloirin Gloirin closed this as completed Jun 9, 2018
@Gloirin
Copy link
Contributor Author

Gloirin commented Jun 10, 2018

Comment posted by GWI on 18 Jul 2012 18:49

INFO (6): Tinebase_Core::setExecutionLifeTime::1070 setting execution life time to: 0
INFO (6): Setup_Controller::updateApplications::314 Updating Tinebase to version 6.3
INFO (6): Setup_Controller::updateApplication::398 Executing updates for Tinebase (starting at 6.2)
INFO (6): Setup_Controller::updateApplication::422 Updating Tinebase - update_2
ERR (3): Setup_Controller::updateApplication::432 SQLSTATE[42S21]: Column already exists: 1060 Doppelter Spaltenname: 'model'
ERR (3): Setup_Controller::updateApplication::433
#0 ***/library/Zend/Db/Statement.php(284): Zend_Db_Statement_Pdo->_execute(Array)
#1 ***/library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)
#2 ***/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('ALTER TABLE ti...', Array) #3 ***/Setup/Backend/Abstract.php(207): Zend_Db_Adapter_Pdo_Abstract->query('ALTER TABLE ti...', Array)
#4 ***/Setup/Backend/Mysql.php(185): Setup_Backend_Abstract->execQueryVoid('ALTER TABLE ti...') #5 ***/Tinebase/Setup/Update/Release6.php(56): Setup_Backend_Mysql->addCol('container', Object(Setup_Backend_Schema_Field_Xml)) #6 ***/Setup/Controller.php(426): Tinebase_Setup_Update_Release6->update_2() #7 ***/Setup/Controller.php(317): Setup_Controller->updateApplication(Object(Tinebase_Model_Application), '6') #8 ***/Setup/Frontend/Json.php(118): Setup_Controller->updateApplications(Object(Tinebase_Record_RecordSet)) #9 [internal function]: Setup_Frontend_Json->updateApplications(Array) #10 ***/library/Zend/Server/Abstract.php(232): call_user_func_array(Array, Array) #11 ***/Zend/Json/Server.php(558): Zend_Server_Abstract->_dispatch(Object(Zend_Server_Method_Definition), Array) #12 ***/Zend/Json/Server.php(197): Zend_Json_Server->_handle() #13 ***/Setup/Server/Json.php(77): Zend_Json_Server->handle(Object(Zend_Json_Server_Request_Http)) #14 ***/Setup/Core.php(101): Setup_Server_Json->handle() #15 ***/setup.php(53): Setup_Core::dispatchRequest() #16 {main} NOTICE (5): Tinebase_Server_Json::_handleException::223 Zend_Db_Statement_Exception -> SQLSTATE[42S21]: Column already exists: 1060 Doppelter Spaltenname: 'model' NOTICE (5): Tinebase_Server_Json::_logExceptionTrace::290 #0 .../library/Zend/Db/Statement.php(284): Zend_Db_Statement_Pdo->_execute(Array) #1 .../library/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array) #2 .../library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('ALTER TABLE ti...', Array)
#3 .../Setup/Backend/Abstract.php(207): Zend_Db_Adapter_Pdo_Abstract->query('ALTER TABLE ti...', Array) #4 .../Setup/Backend/Mysql.php(185): Setup_Backend_Abstract->execQueryVoid('ALTER TABLE ti...')
#5 .../Tinebase/Setup/Update/Release6.php(56): Setup_Backend_Mysql->addCol('container', Object(Setup_Backend_Schema_Field_Xml))
#6 .../Setup/Controller.php(426): Tinebase_Setup_Update_Release6->update_2()
#7 .../Setup/Controller.php(317): Setup_Controller->updateApplication(Object(Tinebase_Model_Application), '6')
#8 .../Setup/Frontend/Json.php(118): Setup_Controller->updateApplications(Object(Tinebase_Record_RecordSet))
#9 [internal function]: Setup_Frontend_Json->updateApplications(Array)
#10 .../library/Zend/Server/Abstract.php(232): call_user_func_array(Array, Array)
#11 .../Zend/Json/Server.php(558): Zend_Server_Abstract->_dispatch(Object(Zend_Server_Method_Definition), Array)
#12 .../Zend/Json/Server.php(197): Zend_Json_Server->_handle()
#13 .../Setup/Server/Json.php(77): Zend_Json_Server->handle(Object(Zend_Json_Server_Request_Http))
#14 .../Setup/Core.php(101): Setup_Server_Json->handle()
#15 .../setup.php(53): Setup_Core::dispatchRequest()
#16 {main}
acbd7 -- none -- - 2012-07-18T18:43:40+00:00 INFO (6): Tinebase_Core::setupLogger::523 Logger initialized

@Gloirin
Copy link
Contributor Author

Gloirin commented Jun 10, 2018

Comment posted by AirMike on 19 Jul 2012 06:16

There is also problem with updating if some of applications that are to be updated with model are not installed.

@Gloirin
Copy link
Contributor Author

Gloirin commented Jun 10, 2018

Comment posted by pschuele on 19 Jul 2012 11:32

Integrated in tine20:1,894 ( See http://ci.tine20.org/job/tine20/1894/ ).

Revision/Changeset: 41e12c1538a27199e500be223bd3a07ed9453b82
Author: Philipp Schüle
Log:
#6778: Update von 6.2 auf 6.3 scheitert
Changed paths:
tine20/Tinebase/Setup/Update/Release6.php

@Gloirin
Copy link
Contributor Author

Gloirin commented Jun 10, 2018

Comment posted by astintzing on 19 Jul 2012 12:06

sollte soweit wieder funktionieren. bei euch auch? könnt ja mal testen.

@Gloirin
Copy link
Contributor Author

Gloirin commented Jun 10, 2018

Comment posted by GWI on 19 Jul 2012 18:14

BINGO Update Funzt und Tine rennt wieder.

Ready to Close

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug high priority Mantis Migrated from old Mantis bugtracker forge.tine20.org Tinebase
Projects
None yet
Development

No branches or pull requests

1 participant