Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-5059

Installer: Allow 1st staff user to be created via CLI

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.9.0
    • Fix Version/s: 5.10.0-b1
    • Component/s: Staff Interface
    • Labels:
      None

      Description

      Ok to bump to 5.11 if necessary.

      Right now Blesta can be installed via CLI:

      php ./index.php install -dbhost DATABASE_HOST -dbport DATABASE_PORT -dbname DATABASE_NAME -dbuser DATABASE_USER -dbpass DATABASE_PASS -hostname WEBSITE_HOSTNAME -docroot DOCUMENT_ROOT_PATH

      But creating the first staff account is a manual process. The user must visit the installation and fill out the following details:

      • License Key: Enter Key or select to start a free trial
      • First Name
      • Last Name
      • Email
      • Username
      • Password
      • Confirm Password

      If we add parameters for these fields, the installer could complete the entire installation and the user can simply log in. A few notes:

      • license_key (If not provided, fetch a free trial. If provided, use that key)
      • first
      • last
      • email
      • username (if not provided, default to admin)
      • password (only need to ask for this once)

      If there is a license issue, that should be suppressed until the user tries to login and shouldn't prevent the creation of the staff account.

        Activity

        admin Paul Phillips created issue -
        admin Paul Phillips made changes -
        Field Original Value New Value
        Rank Ranked higher
        admin Paul Phillips made changes -
        Rank Ranked lower
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        jonathan Jonathan Reissmueller made changes -
        Sprint 5.10.0 Sprint 5 [ 192 ]
        jonathan Jonathan Reissmueller made changes -
        Rank Ranked higher
        abdy Abdy Franco made changes -
        Rank Ranked lower
        abdy Abdy Franco made changes -
        Assignee Abdy Franco [ abdy ]
        abdy Abdy Franco made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        abdy Abdy Franco made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 53 minutes [ 3180 ]
        Worklog Id 16812 [ 16812 ]
        abdy Abdy Franco made changes -
        Time Spent 53 minutes [ 3180 ] 7 hours, 57 minutes [ 28620 ]
        Worklog Id 16813 [ 16813 ]
        abdy Abdy Franco made changes -
        Status In Progress [ 3 ] In Review [ 5 ]
        Resolution Fixed [ 1 ]
        abdy Abdy Franco made changes -
        Time Spent 7 hours, 57 minutes [ 28620 ] 1 day, 2 hours, 14 minutes [ 36840 ]
        Worklog Id 16824 [ 16824 ]
        abdy Abdy Franco made changes -
        Time Spent 1 day, 2 hours, 14 minutes [ 36840 ] 1 day, 4 hours, 54 minutes [ 46440 ]
        Worklog Id 16827 [ 16827 ]
        jonathan Jonathan Reissmueller made changes -
        Status In Review [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            admin Paul Phillips
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              5/Apr/24

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 day, 4 hours, 54 minutes
              1d 4h 54m

                Agile