Skip to content

Issue with devcontainer not completely build/rebuilding environment from a fresh codespace #54

Description

@shaundrong

I'm currently review the logs on my current codespace. From what I can tell it appears it's not finding the drush deploy command when refreshing the data (This is what happens when running the "Refresh Data" vs task). This seems to happen when invoking the db-rebuild.sh script (This might be a pathing/directory issue).

Running drush:deploy to update DB with latest configs and baseline migrations.
/usr/local/bin/db-rebuild.sh: line 160: drush: command not found

in the container creation log we get this odd behavior where it seem to be pulling config from from some other environment(QA perhaps?) not the environment it is building.

2026-06-22 08:07:53.054Z: 2026-06-22 08:07:53 UTC[+0000] [notice] Logging in via machine token.
2026-06-22 08:07:53.838Z: 2026-06-22 08:07:53 UTC[+0000] [notice] Found a machine token for myeap2-devops@uceap.universityofcalifornia.edu.
2026-06-22 08:07:54.236Z: 2026-06-22 08:07:54 UTC[+0000] [notice] Logged in via machine token.
2026-06-22 08:07:58.012Z: 2026-06-22 08:07:58 UTC[+0000] [notice] Downloading myeap2_dev_2026-06-22T06-00-00_UTC_files.tar.gz to files.tar.gz
2026-06-22 08:08:00.362Z:  [notice] Database updates start.
2026-06-22 08:08:02.505Z: >  [success] No pending updates.
2026-06-22 08:08:06.895Z:  [success] Config import start.
2026-06-22 08:08:15.965Z: +------------+------------------------------------------------------------------------------------+-----------+
| Collection | Config                                                                             | Operation |
+------------+------------------------------------------------------------------------------------+-----------+
|            | field.storage.taxonomy_term.field_abbreviation                                     | Create    |
|            | field.field.taxonomy_term.subject_areas.field_abbreviation                         | Create    |
|            | core.extension                                                                     | Update    |
|            | core.entity_form_display.taxonomy_term.subject_areas.default                       | Update    |
|            | core.entity_view_display.taxonomy_term.subject_areas.default                       | Update    |
|            | views.view.new_study_lists                                                         | Update    |2026-06-22 08:08:15.966Z: 
|            | views.view.new_grade_lists                                                         | Update    |
|            | gdpr_fields.gdpr_fields_config.taxonomy_term                                       | Update    |
|            | seckit.settings                                                                    | Update    |
|            | ultimate_cron.job.ultimate_cron_queue_myeap_application_package_participation_sync | Delete    |
+------------+------------------------------------------------------------------------------------+-----------+
2026-06-22 08:08:22.943Z: >  [notice] Synchronized extensions: install config_entity_cloner.
2026-06-22 08:08:27.102Z: >  [notice] Synchronized extensions: install myeap_twilio_test.
2026-06-22 08:08:31.858Z: >  [notice] Synchronized extensions: install upgrade_status.
2026-06-22 08:08:36.425Z: >  [notice] Synchronized extensions: install devel_php.
2026-06-22 08:08:37.552Z: >  [notice] Synchronized configuration: delete ultimate_cron.job.ultimate_cron_queue_myeap_application_package_participation_sync.
2026-06-22 08:08:38.525Z: >  [notice] Synchronized configuration: create field.storage.taxonomy_term.field_abbreviation.
2026-06-22 08:08:38.716Z: >  [notice] Synchronized configuration: create field.field.taxonomy_term.subject_areas.field_abbreviation.
2026-06-22 08:08:38.826Z: >  [notice] Synchronized configuration: update core.entity_form_display.taxonomy_term.subject_areas.default.
2026-06-22 08:08:38.846Z: >  [notice] Synchronized configuration: update core.entity_view_display.taxonomy_term.subject_areas.default.
2026-06-22 08:08:38.987Z: >  [notice] Synchronized configuration: update views.view.new_study_lists.
2026-06-22 08:08:40.500Z: >  [notice] Synchronized configuration: update views.view.new_grade_lists.
2026-06-22 08:08:40.523Z: >  [notice] Synchronized configuration: update gdpr_fields.gdpr_fields_config.taxonomy_term.
2026-06-22 08:08:40.541Z: >  [notice] Synchronized configuration: update seckit.settings.
2026-06-22 08:08:42.997Z: >  [notice] Finalizing configuration synchronization.
2026-06-22 08:08:42.999Z: >  [success] The configuration was imported successfully.
2026-06-22 08:08:46.263Z:  [success] Cache rebuild start.
2026-06-22 08:08:53.486Z: >  [success] Cache rebuild complete.
2026-06-22 08:08:53.502Z:  [success] Deploy hook start.
2026-06-22 08:08:53.945Z: >  [success] No pending deploy hooks.

Is there some post container creation task that are suppose to be running? I always get the mkdocs task, but rarely get theme watcher.

I can't find any logs for the induvial pre and post creation scripts to check if local/etc/uceap.d/devcontainer_on_create.sh is correctly running deploy command.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions