Author Topic: Unable to install plugin_manager - must be doing something wrong  (Read 3306 times)

Offline tel

  • Newbie
  • *
  • Posts: 3
Unable to install plugin_manager - must be doing something wrong
« on: December 12, 2013, 11:49:35 PM »
This is a fresh install of roundcube, using the version supplied from pacman for Arch linux.  Roundcube works perfectly.

I've followed the instructions for installing plugin manager.  Briefly, I unzipped the plugin_manager file, and moved everything to the plugins directory.  I enabled 'plugins_manager' in main.inc.php and started up roundcube again.  I always get this message:

"can't load plugin.  database scripts are incomplete."

It's my understanding the the database scripts are supposed to run automatically.  I again started with a fresh database (I'm using an SQLite database), and I get this same problem.

Here's the relevant logs from roundcube:
Code: [Select]
[12-Dec-2013 20:44:17 -0800]: plugin_manager: plugins/plugin_manager/SQL/.initial.sql does not exist!plugin_manager: plugins/plugin_manager/SQL/.20131209.sql does not exist!
[12-Dec-2013 20:44:17 -0800]: --> REWARD MyRC$ 5: Create missing scripts and mail it to dev-team@myroundcube.com (include your customer ID)!
[12-Dec-2013 20:44:17 -0800]: plugin_manager: plugins/plugin_manager/SQL/.initial.sql does not exist!plugin_manager: plugins/plugin_manager/SQL/.20131209.sql does not exist!
[12-Dec-2013 20:44:17 -0800]: --> REWARD MyRC$ 5: Create missing scripts and mail it to dev-team@myroundcube.com (include your customer ID)!
[12-Dec-2013 20:45:17 -0800]: DB Error: [1] no such table: plugin_manager (SQL Query: SELECT * FROM plugin_manager WHERE "conf"='defaults_overwrite' LIMIT 1) in /usr/share/webapps/roundcubemail/program/lib/Roundcube/rcube_db.php on line 416 (GET /mail/?_task=mail&_mbox=INBOX&_folderlist=1&_list=1&_action=refresh&_remote=1&_unlock=loading1386909845262&_=1386909845270)
[12-Dec-2013 20:45:17 -0800]: DB Error: [1] no such table: plugin_manager (SQL Query: SELECT "value" FROM plugin_manager WHERE "conf"='defaults' LIMIT 1) in /usr/share/webapps/roundcubemail/program/lib/Roundcube/rcube_db.php on line 416 (GET /mail/?_task=mail&_mbox=INBOX&_folderlist=1&_list=1&_action=refresh&_remote=1&_unlock=loading1386909845262&_=1386909845270)
[12-Dec-2013 20:45:17 -0800]: DB Error: [1] no such table: plugin_manager (GET /mail/?_task=mail&_mbox=INBOX&_folderlist=1&_list=1&_action=refresh&_remote=1&_unlock=loading1386909845262&_=1386909845270)

Any pointers on where to look to get plugin_manager installed?

Thanks for any help!

Offline megadeth23

  • Jr. Member
  • **
  • Posts: 10
    • The Browne Family
Re: Unable to install plugin_manager - must be doing something wrong
« Reply #1 on: December 13, 2013, 09:24:17 PM »
ensure you take all of the following steps

*download and unzip the plugin manager.

*move the files ( codemirror_ui, db_version, http_request, plugin_manager. qtip and settings) to the plugin folder of your roundcube installation.

*ensure that your main.inc.php file (located in {roundcube folder path}/config) reads $rcmail_config['plugins'] = array("plugin_manager");

*ensure that your db.inc.php file (same loaction as above) reads : $rcmail_config ['db_dsnw'] = "mysqli://{my_user}:{my_password}@localhost/roundcubemail";

*ensure the user in db.inc.php file has the following roundcubemail database permissions SELECT INSERT UPDATE DELETE CREATE DROP INDEX ALTER

the only other issue you may run into is you may get a database connection error afterwards. if this happens, open up phpmyadmin (or whatever you use to configure your database) and navigate to roundcubemail > system. find the entry an entry: myrc_plugin_manager. Delete this entry.