Skip to content

Conversation

@timmc-edx
Copy link
Contributor

This PR contains two commits:

To reproduce the error:

  1. Ensure that common/static/common/css/ in edx-platform is owned by root (use sudo chown -R root: ... if you're not already affected)
  2. Ensure that the cache will not be used (make a whitespace change to package.json in edx-platform -- or just let the second commit's change in how the hash is computed bust the cache for you!)
  3. Run make dev.destroy dev.pull.lms dev.provision in devstack.

Before this PR, the provisioning would fail after about 5 minutes. With these changes, it succeeds.

This should help avoid permissions errors for existing devstack users when
they re-provision.

Ticket: openedx-unsupported/devstack#1138
We're using `npm ci`, so the package-lock file is actually the more
important file to check for changes.
Copy link
Contributor

@rgraber rgraber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@timmc-edx timmc-edx merged commit e0cee84 into master Aug 9, 2023
@timmc-edx timmc-edx deleted the timmc/rm-root-owned branch August 9, 2023 18:12
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants