instructure / canvas-lms

The open LMS by Instructure, Inc.
https://github.com/instructure/canvas-lms/wiki
GNU Affero General Public License v3.0
5.45k stars 2.44k forks source link

new install fails - active_model_serializers.git not checked out #2094

Closed hmoffatt closed 1 year ago

hmoffatt commented 1 year ago

Summary:

A brand new install of the Docker development environment fails to start the web container with the error

web_1                | [ E 2022-09-12 23:13:10.0420 14/Tn age/Cor/App/Implementation.cpp:221 ]: Could not spawn process for application /usr/src/app: The application encountered the following error: The git source https://github.com/rails-api/active_model_serializers.git is not yet checked out. Please run `bundle install` before trying to start your application (Bundler::GitError)

Steps to reproduce:

  1. Checkout repository
  2. Set local permissions as per linux instructions
  3. Run script/docker_dev_setup.sh

Expected behavior:

Canvas starts.

Actual behavior:

Web container exits with error showing the checkout is incomplete.

Additional notes:

hmoffatt commented 1 year ago

Possible network issue inside the container. Seemed to work ok on a second attempt.

My attempt to upgrade from a 2022.02 release to latest also failed with this error.