View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
17218 | Bug reports | Plugins | public | 2021-03-31 14:21 | 2021-09-06 09:33 |
Reporter | mlnorth | Assigned To | c_schmitz | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | unable to reproduce | ||
Product Version | 4.4.15 | ||||
Summary | 17218: Path to plugins directory maybe wrong? | ||||
Description | I had to to do a symbolic link to /limesurvey/application/core/plugins/* in /limesurvey/plugins so that plugins could be found. | ||||
Tags | No tags attached. | ||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 4.4.15+210329 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | google-chrome | ||||
Database type & version | 10.3.25-MariaDB-0ubuntu0.20.04.1 | ||||
Server OS (if known) | Ubuntu 20.04 | ||||
Webserver software & version (if known) | nginx/1.18.0 | ||||
PHP Version | 7.4.16 | ||||
Please : don't explain what you do ,to fix issue, You try to activate AuditLog ? I check : it seems to work on last master, no need symbolic link. |
|
It was all the plugins in /limesurvey/application/core/plugins/. I debugged myself and in application/models/Plugin.php I saw the path to the configuration files for plugins was pointing to /limesurvey/plugins/... So I did this adhoc solution with symbolic link and it started to work. |
|
After a manually upgrade of Limesurvey, according to these instructions https://manual.limesurvey.org/upgrading_from_a_previous_version, I wanted to change settings in a plugin AuthLdap, therefore I went to Global Settings -> Plugin Manager and encountered immediately error message "Missing configuration for plugin AuditLog". As I understand AuditLog is on top of the plugin list. |
|
OK :) Upgrade from what version ? |
|
I don't quite remember now. But it was around 4.3 I think. I upgraded because I encountered a similiar problem when I was going to change settings for AuthLdap. I went to Global Settings->Plugin Manager and got the plugin list accordingly. But as soon as I pressed AuthLdap plugin the error message was "Missing configuration for plugin AuthLdap". Then I thought maybe I should upgrade to see if it works better and on that road it was. |
|
For information : update steps are https://github.com/LimeSurvey/LimeSurvey/blob/ebcbc490f570ca58748eae73145e06269511e73b/application/helpers/update/updatedb_helper.php#L2830 AuthDB and AuditLog must be «core» |
|
In mysql database the table lime_plugins shows type "core" for AuthDB and AuditLog and "user" for AuthLdap. But when I debugged the directory for all these plugins was pointed to /limesurvey/plugins. |
|
I checked the upgrade from the last 4.3 to latest 4.x version and I could not reproduce the problem. |
|
Maybe related to a specific directory configuration ? |
|
It must be core |
|
In Plugin.php in function getDir() the following happens: The version before was something 4.3 as I remember I upgraded limesurvey last year in June. |
|
I can also see when I list the plugins in https://www.irf.se/limesurvey/index.php?r=admin/pluginmanager/sa/index that AuditLog and AuthLdap is marked with correct plugin_type core. But despite of that in Plugin.php plugin_type is "user" fro all plugins. |
|
In my case, this reported error was caused by duplicate entries in the plugin table after upgrading from v4.3.19 to v5.1.2 using the instructions at https://manual.limesurvey.org/upgrading_from_a_previous_version. id | name | active | version | load_error | load_error_message | plugin_type | priority 11 | AuthLDAP | 0 | 1.0.0 | 0 | | core | 0 |
|
Hello, |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-03-31 14:21 | mlnorth | New Issue | |
2021-03-31 14:37 | DenisChenu | Note Added: 63744 | |
2021-03-31 15:19 | mlnorth | Note Added: 63751 | |
2021-03-31 15:36 | mlnorth | Note Added: 63752 | |
2021-03-31 15:37 | DenisChenu | Note Added: 63753 | |
2021-03-31 15:37 | DenisChenu | Issue Monitored: ollehar | |
2021-03-31 15:43 | mlnorth | Note Added: 63754 | |
2021-03-31 16:25 | DenisChenu | Note Added: 63760 | |
2021-03-31 17:00 | mlnorth | Note Added: 63762 | |
2021-04-01 07:59 | c_schmitz | Note Added: 63769 | |
2021-04-01 07:59 | c_schmitz | Assigned To | => c_schmitz |
2021-04-01 07:59 | c_schmitz | Status | new => feedback |
2021-04-01 08:24 | DenisChenu | Note Added: 63772 | |
2021-04-01 08:25 | DenisChenu | Note Added: 63773 | |
2021-04-01 08:38 | mlnorth | Note Added: 63774 | |
2021-04-01 08:38 | mlnorth | Status | feedback => assigned |
2021-04-01 08:43 | mlnorth | Note Added: 63775 | |
2021-08-16 21:40 | mkofahl | Note Added: 66017 | |
2021-08-16 21:40 | mkofahl | Bug heat | 8 => 10 |
2021-08-17 08:48 | c_schmitz | Relationship added | related to 17516 |
2021-09-06 09:33 | c_schmitz | Status | assigned => resolved |
2021-09-06 09:33 | c_schmitz | Resolution | open => unable to reproduce |
2021-09-06 09:33 | c_schmitz | Note Added: 66332 | |
2021-09-06 09:33 | c_schmitz | Status | resolved => closed |