Author Topic: Update 0.3.1 to 0.4.1  (Read 5566 times)

Offline bosse

  • Jr. Member
  • **
  • Posts: 23
Update 0.3.1 to 0.4.1
« on: October 02, 2010, 05:58:14 AM »
I ran the update to 0.4.1 just a few minutes ago. I did it like described in the upgrade readme. After running all the sql i still get an error when trying to access the adressbook.

it says

SERVICE CURRENTLY NOT AVAILABLE!

Error No. [500]

anybody else with the same problem? Does anybody know a solution?

cheers.
bosse

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Update 0.3.1 to 0.4.1
« Reply #1 on: October 02, 2010, 12:04:59 PM »
Whats in your error log?

Offline bosse

  • Jr. Member
  • **
  • Posts: 23
Update 0.3.1 to 0.4.1
« Reply #2 on: October 03, 2010, 09:15:30 AM »
[05-Dec-2009 14:26:19] MDB2 Error: connect failed (-24): _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
[Native code: 1045]
[Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]

[05-Dec-2009 14:26:19 +0100]: DB Error: _doConnect: [Error message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
[Native code: 1045]
[Native message: Access denied for user 'roundcube'@'localhost' (using password: YES)]
 ** mysql(mysql)://roundcube:xxx@localhost/roundcube in /var/www/virtual/webpage.de/htdocs/roundcube/program/include/rcube_mdb2.php on line 100 (GET /roundcube/)

Thats all!
Because of the Date i think it has nothing to do with my problem.

Thanks for any kind of help

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Update 0.3.1 to 0.4.1
« Reply #3 on: October 03, 2010, 12:56:07 PM »
Those are errors aren't the related to problem, but there should be new log entries for the problem. Check to make sure permissions on the log directory are correct. If you can't get the error log working then try changing the $rcmail_config['debug_level'] to 4 in /config/main.inc.php and post what errors show up when you go to the address book.

Offline bosse

  • Jr. Member
  • **
  • Posts: 23
Update 0.3.1 to 0.4.1
« Reply #4 on: October 03, 2010, 01:44:24 PM »
[03-Oct-2010 19:43:05 +0200]: DB Error: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_3f07edafca1224141cd310f4b337c427378a10c0a FROM 'SELECT * FROM contactgroups WHERE del<>1 AND user_id=? ORDER BY name']
[Native code: 1146]
[Native message: Table 'roundcube.contactgroups' doesn't exist]
 in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_mdb2.php on line 264 (GET /?_task=addressbook)
[03-Oct-2010 19:45:02 +0200]: PHP Error: Deprecated hook name. user_preferences -> preferences_list in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=login)
[03-Oct-2010 19:45:02 +0200]: PHP Error: Deprecated hook name. save_preferences -> preferences_save in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=login)
[03-Oct-2010 19:45:02 +0200]: PHP Error: Failed to load plugin file /var/www/ispcp/gui/tools/roundcube/plugins/massage_highlight/massage_highlight.php in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 138 (GET /?_task=login)
[03-Oct-2010 19:45:04 +0200]: PHP Error: Deprecated hook name. user_preferences -> preferences_list in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=mail&_remote=1&_action=list&_mbox=INBOX&_refresh=1&_=1286127907602&_unlock=1)
[03-Oct-2010 19:45:04 +0200]: PHP Error: Deprecated hook name. save_preferences -> preferences_save in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=mail&_remote=1&_action=list&_mbox=INBOX&_refresh=1&_=1286127907602&_unlock=1)
[03-Oct-2010 19:45:04 +0200]: PHP Error: Failed to load plugin file /var/www/ispcp/gui/tools/roundcube/plugins/massage_highlight/massage_highlight.php in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 138 (GET /?_task=mail&_remote=1&_action=list&_mbox=INBOX&_refresh=1&_=1286127907602&_unlock=1)
[03-Oct-2010 19:45:05 +0200]: PHP Error: Deprecated hook name. user_preferences -> preferences_list in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=mail&_remote=1&_action=getunread&_=1286127907605&_unlock=0)
[03-Oct-2010 19:45:05 +0200]: PHP Error: Deprecated hook name. save_preferences -> preferences_save in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=mail&_remote=1&_action=getunread&_=1286127907605&_unlock=0)
[03-Oct-2010 19:45:05 +0200]: PHP Error: Failed to load plugin file /var/www/ispcp/gui/tools/roundcube/plugins/massage_highlight/massage_highlight.php in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 138 (GET /?_task=mail&_remote=1&_action=getunread&_=1286127907605&_unlock=0)
[03-Oct-2010 19:45:09 +0200]: PHP Error: Deprecated hook name. user_preferences -> preferences_list in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=addressbook)
[03-Oct-2010 19:45:09 +0200]: PHP Error: Deprecated hook name. save_preferences -> preferences_save in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=addressbook)
[03-Oct-2010 19:45:09 +0200]: PHP Error: Failed to load plugin file /var/www/ispcp/gui/tools/roundcube/plugins/massage_highlight/massage_highlight.php in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_plugin_api.php on line 138 (GET /?_task=addressbook)
[03-Okt-2010 19:45:09] MDB2 Error: no such table (-18): _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_34ff923b107abffb676fb4b74448df2ce60589ca9 FROM 'SELECT * FROM contactgroups WHERE del<>1 AND user_id=? ORDER BY name']
[Native code: 1146]
[Native message: Table 'roundcube.contactgroups' doesn't exist]

[03-Oct-2010 19:45:09 +0200]: DB Error: _doQuery: [Error message: Could not execute statement]
[Last executed query: PREPARE mdb2_statement_mysql_34ff923b107abffb676fb4b74448df2ce60589ca9 FROM 'SELECT * FROM contactgroups WHERE del<>1 AND user_id=? ORDER BY name']
[Native code: 1146]
[Native message: Table 'roundcube.contactgroups' doesn't exist]
 in /var/www/ispcp/gui/tools/roundcube/program/include/rcube_mdb2.php on line 264 (GET /?_task=addressbook)


had no write rights on logfile.
Now i got these errors.
« Last Edit: October 03, 2010, 01:47:21 PM by bosse »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Update 0.3.1 to 0.4.1
« Reply #5 on: October 03, 2010, 03:08:47 PM »
The mysql update didn't get done correctly try executing the code in the /SQL/mysql.update.sql manually.

Offline zeta67

  • Newbie
  • *
  • Posts: 3
show preview pane
« Reply #6 on: October 03, 2010, 03:21:56 PM »
show preview pane changes: Server Error! (Not Found)

log:

[03-Oct-2010 21:20:11 +0200]: PHP Error: Deprecated hook name. user_preferences -> preferences_list in /var/www/htdocs/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=mail&_remote=1&_action=check-recent&_t=1286133605414&_mbox=INBOX&_=1286133605424&_unlock=1)
[03-Oct-2010 21:20:11 +0200]: PHP Error: Deprecated hook name. save_preferences -> preferences_save in /var/www/htdocs/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=mail&_remote=1&_action=check-recent&_t=1286133605414&_mbox=INBOX&_=1286133605424&_unlock=1)
[03-Oct-2010 21:20:11 +0200]: PHP Error: Deprecated hook name. user_preferences -> preferences_list in /var/www/htdocs/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=mail&_remote=1&_action=check-recent&_t=1286133605414&_mbox=INBOX&_=1286133605424&_unlock=1)
[03-Oct-2010 21:20:11 +0200]: PHP Error: Deprecated hook name. save_preferences -> preferences_save in /var/www/htdocs/roundcube/program/include/rcube_plugin_api.php on line 200 (GET /?_task=mail&_remote=1&_action=check-recent&_t=1286133605414&_mbox=INBOX&_=1286133605424&_unlock=1)

Offline bosse

  • Jr. Member
  • **
  • Posts: 23
Update 0.3.1 to 0.4.1
« Reply #7 on: October 04, 2010, 07:28:56 AM »
Quote from: skaero;30502
The mysql update didn't get done correctly try executing the code in the /SQL/mysql.update.sql manually.



By running the sql manually i get the following error

Error

SQL query:

ALTER TABLE `contacts` ALTER `name` SET DEFAULT '';

MySQL said: Documentation
#1101 - BLOB/TEXT column 'name' can't have a default value

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Update 0.3.1 to 0.4.1
« Reply #8 on: October 04, 2010, 07:41:16 AM »
Hmm, the contacts name field should be varchar(128) not text or blob. Try changing to varchar(128) and see if that makes it work.

Offline bosse

  • Jr. Member
  • **
  • Posts: 23
Update 0.3.1 to 0.4.1
« Reply #9 on: October 04, 2010, 08:49:41 AM »
Awesome help!

It finally works again!

Should 'email' also be varchar(128)
I set 'firstname', 'surname' and 'name' to varchar(128) and then i ran the sql and the adressbook works again.

Thank you very much

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Update 0.3.1 to 0.4.1
« Reply #10 on: October 04, 2010, 08:55:37 AM »
Yes email should also be varchar(128).