Revolution: Cannot re-run setup after install in MODX3

Created on 28 Jun 2019  路  3Comments  路  Source: modxcms/revolution

Bug report

Summary

Cannot re-run setup after install in MODX3. This problem occurred after the big refactor PR has been merged, so my guess would be that it is related to that.

Screenshot 2019-06-28 at 16 00 41

If I dump $install->runner->getResults();these are the results:

array(3) {
  [0]=>
  array(2) {
    ["class"]=>
    string(7) "success"
    ["msg"]=>
    string(51) "
Config file successfully written.

"
  }
  [1]=>
  array(2) {
    ["class"]=>
    string(7) "success"
    ["msg"]=>
    string(63) "
Config file permissions successfully updated.

"
  }
  [2]=>
  array(2) {
    ["class"]=>
    string(6) "failed"
    ["msg"]=>
    string(21) "
"
  }
}

Step to reproduce

  • Clean install MODX 3 and run setup
  • After succesfully running the setup, rerun the setup and choose "Upgrade Existing Install" and complete setup

Observed behavior

After rerunning the installer I see the message: "Errors were encountered during core installation. Please review the installation results below, correct the problems and proceed as directed."

Expected behavior

I expect the setup to finish succesfully.

Environment

MODX 3

bug

Most helpful comment

I fixed it already in https://github.com/modxcms/revolution/pull/14507
Only need to merge

All 3 comments

I fixed it already in https://github.com/modxcms/revolution/pull/14507
Only need to merge

I can reproduce this bug. Thanks

I'm closing this issue since re-running setup is possible thanks to PR #14507 being merged.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ruslan-Aleev picture Ruslan-Aleev  路  3Comments

alexsoin picture alexsoin  路  3Comments

Ruslan-Aleev picture Ruslan-Aleev  路  3Comments

sdrenth picture sdrenth  路  3Comments

freelancewebdev picture freelancewebdev  路  3Comments