View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
15069 | Bug reports | Installation | public | 2019-07-23 14:02 | 2019-08-26 17:51 |
Reporter | cmrudolph | Assigned To | DenisChenu | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.17.x | ||||
Fixed in Version | 3.17.x | ||||
Summary | 15069: setting admin password with CLI database installation fails | ||||
Description | When using the CLI installation script | ||||
Steps To Reproduce | Configure limesurvey manually (configure webserver, extract directory, create database user, adjust application/config/config.php) and run Look into the database table users. | ||||
Additional Information | The bug is located in file limesurvey/application/commands/InstallFromConfigCommand.php on line 101: This line should be | ||||
Tags | No tags attached. | ||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 3.17.8 190722 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | postgresql 11 | ||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | 7.3 | ||||
It's not clear if this ticket is for LS3 or LS4. |
|
I'm not really sure - I downloaded and installed "limesurvey3.17.8+190722.tar.gz" but the installation claims to be 4.0.0-RC1 build 190722. Maybe a packaging issue? |
|
Issue in 3.17 : https://github.com/LimeSurvey/LimeSurvey/blob/71de5ce107acd4a02ad8376cc704aaf83e607b86/application/commands/InstallFromConfigCommand.php#L101 (But : in my opinion, must always use model to create user) |
|
Download the package again, please. We had an error in our release before. |
|
Downloaded the package again - the problem still exists. Affected version is 3.17.8 build 190722. I don't see any option to change this information in the ticket. |
|
Models should not be used during installation, due to problems with database cache. |
|
However, it's obvious that the script doesn't run in a valid application context which has its own complexity. This makes it hard to implement a robust installation script and might be the reason, why this approach has been chosen. |
|
@cmrudolph : can you check with |
|
Done. See my pull request at https://github.com/LimeSurvey/LimeSurvey/pull/1309 Installation from config works now as expected. |
|
An additional question, before merge. Could it be, that the observed behavior is intended to prevent the cleartext passwords from being inside the configuration file? This should be documented if it is the case. |
|
I don't think : default password are |
|
https://github.com/LimeSurvey/LimeSurvey/commit/8bacdc9cb0c75a6b4639642e51cd7df83271635f |
|
Fixed in Release 4.0.0-RC3+190807 |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2019-07-23 14:02 | cmrudolph | New Issue | |
2019-07-23 14:13 | cmrudolph | Issue Monitored: cmrudolph | |
2019-07-23 14:44 | ollehar | Note Added: 52960 | |
2019-07-23 14:44 | ollehar | Assigned To | => ollehar |
2019-07-23 14:44 | ollehar | Status | new => feedback |
2019-07-23 14:44 | ollehar | Assigned To | ollehar => |
2019-07-24 06:29 | cmrudolph | Note Added: 52970 | |
2019-07-24 06:29 | cmrudolph | Status | feedback => new |
2019-07-24 10:43 | DenisChenu | Note Added: 52975 | |
2019-07-24 10:52 | ollehar | Note Added: 52977 | |
2019-07-24 13:32 | cmrudolph | Note Added: 52983 | |
2019-07-24 13:34 | ollehar | Note Added: 52984 | |
2019-07-24 14:26 | cmrudolph | Note Added: 52985 | |
2019-07-24 14:55 | DenisChenu | Complete LimeSurvey version number (& build) | 4.0.0-RC1 (build 190722) => 3.17.8 190722 |
2019-07-24 14:56 | DenisChenu | Note Added: 52986 | |
2019-07-25 07:33 | cmrudolph | Note Added: 52993 | |
2019-07-25 07:36 | cmrudolph | Note Added: 52994 | |
2019-07-25 08:56 | DenisChenu | Note Added: 52995 | |
2019-07-28 10:36 | DenisChenu | Assigned To | => DenisChenu |
2019-07-28 10:36 | DenisChenu | Status | new => resolved |
2019-07-28 10:36 | DenisChenu | Resolution | open => fixed |
2019-07-28 10:36 | DenisChenu | Fixed in Version | => 3.17.x |
2019-07-28 10:36 | DenisChenu | Note Added: 53029 | |
2019-08-26 17:51 | lime_release_bot | Note Added: 53273 | |
2019-08-26 17:51 | lime_release_bot | Status | resolved => closed |
2021-08-03 12:51 | guest | Bug heat | 8 => 10 |