Answers.Body: <p>You can run it locally or in another dev environment and then all you need to do is upload the files in web/libraries/civicrm to web/libraries/civicrm on the real server.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-01-16T22:59:34.750Z
Answers.Text: Unfortunately the /web directory is read only on pantheon live servers.  It can only be modified by composer.
Answers.UserDisplayName: Bud Stewart
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-01-17T00:50:54.007Z
Answers.Text: How did the files in web get there in the first place? Whatever user account did that should have write access?
Answers.UserDisplayName: Demerit
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-01-17T11:51:03.077Z
Answers.Text: Via composer.  On pantheon, when moving code changes from dev->test->live, composer runs as a part of the automation to update any changes.  It's not a user account that runs those updates.
Answers.UserDisplayName: Bud Stewart
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-01-16T20:18:57.330Z
Answers.LastActivityDate: 2024-01-16T20:18:57.330Z
Answers.UserDisplayName: Demerit
Body: <p>Is there a way to run civicrm:publish manually and not via CLI?  I updated to 5.69.2 but have the error in status:</p>
  <p>Wrong version of assets in public web directory: expected 5.69.2 but found 5.69.1.  Use the command composer civicrm:publish to resolve.</p>
  <p>However, I'm on Pantheon and you can't run the command as it errors out due to permission issues.  I've tried terminus drush/composer commands to no avail.</p>
  
Tags: <composer><pantheon>
Title: civicrm:publish on pantheon
ThreadText: # civicrm:publish on pantheon
  
  (Asked by: username_0 on 2024-01-16)
  
  Is there a way to run civicrm:publish manually and not via CLI? I updated to 5.69.2 but have the error in status:
  
  Wrong version of assets in public web directory: expected 5.69.2 but found 5.69.1. Use the command composer civicrm:publish to resolve.
  
  However, I'm on Pantheon and you can't run the command as it errors out due to permission issues. I've tried terminus drush/composer commands to no avail.
  
  **Tags:** composer, pantheon
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2024-01-16. Score: 0
  
  You can run it locally or in another dev environment and then all you need to do is upload the files in web/libraries/civicrm to web/libraries/civicrm on the real server.
  
  > **Comments:**
  > **username_0**: Unfortunately the /web directory is read only on pantheon live servers.  It can only be modified by composer.  
  > **username_1**: How did the files in web get there in the first place? Whatever user account did that should have write access?  
  > **username_0**: Via composer.  On pantheon, when moving code changes from dev->test->live, composer runs as a part of the automation to update any changes.  It's not a user account that runs those updates.  
  
  ---
  
  