Answers.Body: <p>Unfortunately it's not implemented yet:</p>
  <p>See <a href="https://github.com/civicrm/cv/blob/cf4f644da6d007a32f1c583d68e6b0ae4fe6c45b/src/CmsBootstrap.php#L306" rel="nofollow noreferrer">https://github.com/civicrm/cv/blob/cf4f644da6d007a32f1c583d68e6b0ae4fe6c45b/src/CmsBootstrap.php#L306</a></p>
  <pre><code>// TODO public function bootJoomla($cmsRootPath, $cmsUser) { }
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-30T16:17:39.777Z
Answers.Text: Ah, thank you. Would be nice to mention that in the docu, but perhaps I missed it.
Answers.UserDisplayName: MtnPavlas
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-30T20:01:36.597Z
Answers.Text: Are you saying that you just need a CLI funtion to boot joomla for a user who can install?
Answers.UserDisplayName: Elin
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-30T20:09:40.863Z
Answers.Text: It doesn't even need a user for install (but would for the more general use), but it needs appropriate php code to do a joomla bootstrap. For example in wordpress it's just a `require ...` statement (look a little farther down the code). For drupal8 it's a little fancier. If you know what it is for joomla then if you can make a PR great, if not then maybe file an issue at https://github.com/civicrm/cv with some suggested code.
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2022-10-29T23:06:31.797Z
Answers.LastActivityDate: 2022-10-29T23:06:31.797Z
Answers.UserDisplayName: Demerit
Body: <p>Learning to use cv, and when trying to upgrade CiviCRM with the following command, I get a &quot;Failed to locate boot function (bootJoomla)&quot; error. Any thoughts where I should start digging as to what's wrong?</p>
  <p>cv core:install --cms-base-url=&quot;[website/CMS_root]&quot; --lang=&quot;en_US&quot; --db=&quot;mysql://[db_user]:[db_user_pwd]@localhost:3306/[db_name]&quot;</p>
  
Tags: <upgrade><joomla><installation><cv>
Title: "Failed to locate boot function (bootJoomla)" error when installing with cv
ThreadText: # "Failed to locate boot function (bootJoomla)" error when installing with cv
  
  (Asked by: username_0 on 2022-10-29)
  
  Learning to use cv, and when trying to upgrade CiviCRM with the following command, I get a "Failed to locate boot function (bootJoomla)" error. Any thoughts where I should start digging as to what's wrong?
  
  cv core:install --cms-base-url="[website/CMS\_root]" --lang="en\_US" --db="mysql://[db\_user]:[db\_user\_pwd]@localhost:3306/[db\_name]"
  
  **Tags:** upgrade, joomla, installation, cv
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2022-10-29. Score: 1 | Accepted answer
  
  Unfortunately it's not implemented yet:
  
  See <https://github.com/civicrm/cv/blob/cf4f644da6d007a32f1c583d68e6b0ae4fe6c45b/src/CmsBootstrap.php#L306>
  
  ```
  // TODO public function bootJoomla($cmsRootPath, $cmsUser) { }
  
  ```
  
  > **Comments:**
  > **username_0**: Ah, thank you. Would be nice to mention that in the docu, but perhaps I missed it.  
  > **username_2**: Are you saying that you just need a CLI funtion to boot joomla for a user who can install?  
  > **username_1**: It doesn't even need a user for install (but would for the more general use), but it needs appropriate php code to do a joomla bootstrap. For example in wordpress it's just a `require ...` statement (look a little farther down the code). For drupal8 it's a little fancier. If you know what it is for joomla then if you can make a PR great, if not then maybe file an issue at https://github.com/civicrm/cv with some suggested code.  
  
  ---
  
  