Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20575

Setup wizard fails to generate yml config when using kickstart.ini

    XMLWordPrintable

Details

    Description

      Reproducing the exact same steps in the setup wizard, once without a kickstart.ini file and once with, the one with the kickstart.ini file fails (placed in ezpublish_legacy).

      The setup wizard seems to pick up the contents of the kickstart.ini file, but in the last step of the wizard (where the links to the frontend and backend are displayed) the following JS alert is given:

      ===
      An error occurred while loading the web debug toolbar (500: Internal Server Error).

      Do you want to open the profiler?
      ===

      If I try to access the front- or backend URLs I'm redirected to /ezsetup with the same JS alert and the Symfony2 Exception:

      ===
      Unable to connect to the database server 'localhost'
      Error #1045: Access denied for user 'user'@'localhost' (using password: NO)
      ===

      The contents of the kickstart.ini file is as follows (password removed for security reasons):

      ===
      [email_settings]
      Continue=true
      Type=mta

      [database_choice]
      Continue=true
      Type=mysqli

      [database_init]
      Continue=true
      Server=localhost
      Database=eirik_installezp5
      User=eirik
      Password=[REMOVED]

      [site_details]
      Database=eirik_installezp5
      DatabaseAction=remove

      [site_admin]
      Continue=true
      FirstName=Netmaking
      LastName=Admin
      Email=ezpadmin@netmaking.no
      Password=[REMOVED]

      [security]
      Continue=true

      [registration]
      Continue=true
      Send=false
      ===

      It seems to me like the database connection details (perhaps among other things) are not properly added to the SF2 settings if they come from a kickstart.ini file.

      Attachments

        Activity

          People

            Unassigned Unassigned
            support@netmaking.no support@netmaking.no
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days, 4 hours, 5 minutes
                2d 4h 5m