-
Notifications
You must be signed in to change notification settings - Fork 519
Open
Labels
Description
git clone the lastest version. when run make bootstrap will build fail.
docker version:
Docker version 24.0.7, build 24.0.7-0ubuntu2~22.04.1
docker compose version:
Docker Compose version v2.30.3
run build command:
make bootstrap FLUSH_ARGS='--no-input'
output log:
╔══════════════════════════════════════════════════════════════════════════════╗
║ ║
║ 🚀 Welcome to Docs - Collaborative Text Editing from La Suite ! 🚀 ║
║ ║
║ This will set up your development environment with : ║
║ • Docker containers for all services ║
║ • Database migrations and static files ║
║ • Frontend dependencies and build ║
║ • Environment configuration files ║
║ ║
║ Services will be available at: ║
║ • Frontend: http://localhost:3000 ║
║ • API: http://localhost:8071 ║
║ • Admin: http://localhost:8071/admin ║
║ ║
╚══════════════════════════════════════════════════════════════════════════════╝
Starting bootstrap process...
make[1]: Entering directory '/opt/docs'
[+] Building 10.4s (25/25) FINISHED docker:default
=> [app-dev internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 4.40kB 0.0s
=> [app-dev internal] load .dockerignore 0.0s
=> => transferring context: 376B 0.0s
=> [app-dev internal] load metadata for docker.io/library/python:3.13.3-alpine 10.3s
=> [app-dev base 1/3] FROM docker.io/library/python:3.13.3-alpine@sha256:a94caf6aab428e086bc398beaf64a6b7a0fad4589573462f523 0.0s
=> [app-dev internal] load build context 0.0s
=> => transferring context: 1.66MB 0.0s
=> CACHED [app-dev base 2/3] RUN python -m pip install --upgrade pip 0.0s
=> CACHED [app-dev base 3/3] RUN apk update && apk upgrade --no-cache 0.0s
=> CACHED [app-dev core 1/9] RUN apk add --no-cache cairo file font-noto font-noto-emoji gettext gdk-pixbuf li 0.0s
=> CACHED [app-dev core 2/9] RUN wget https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types -O /etc/mime.t 0.0s
=> CACHED [app-dev core 3/9] COPY ./docker/files/usr/local/bin/entrypoint /usr/local/bin/entrypoint 0.0s
=> CACHED [app-dev core 4/9] RUN chmod g=u /etc/passwd 0.0s
=> CACHED [app-dev back-builder 1/4] WORKDIR /builder 0.0s
=> CACHED [app-dev back-builder 2/4] RUN apk add --no-cache build-base libffi-dev rust cargo 0.0s
=> CACHED [app-dev back-builder 3/4] COPY ./src/backend /builder 0.0s
=> CACHED [app-dev back-builder 4/4] RUN mkdir /install && pip install --prefix=/install . 0.0s
=> CACHED [app-dev core 5/9] COPY --from=back-builder /install /usr/local 0.0s
=> CACHED [app-dev core 6/9] RUN mkdir /cert && path=`python -c 'import certifi;print (certifi.where())'` && mv $pat 0.0s
=> CACHED [app-dev core 7/9] COPY ./src/backend /app/ 0.0s
=> CACHED [app-dev core 8/9] WORKDIR /app 0.0s
=> CACHED [app-dev core 9/9] RUN DJANGO_CONFIGURATION=Build python manage.py compilemessages 0.0s
=> CACHED [app-dev backend-development 1/3] RUN apk add --no-cache postgresql-client 0.0s
=> CACHED [app-dev backend-development 2/3] RUN pip uninstall -y impress 0.0s
=> CACHED [app-dev backend-development 3/3] RUN pip install -e .[dev] 0.0s
=> [app-dev] exporting to image 0.0s
=> => exporting layers 0.0s
=> => writing image sha256:fb4428485d0e86c7f9f4e037c4270ef0f7abab8d3f1c2b0932a82f353323dd28 0.0s
=> => naming to docker.io/library/impress:backend-development 0.0s
=> [app-dev] resolving provenance for metadata file 0.0s
WARN[0000] current commit information was not captured by the build error="failed to read current commit information with git rev-p
arse --is-inside-work-tree"
make[1]: Leaving directory '/opt/docs'
make[1]: Entering directory '/opt/docs'
[+] Building 3053.1s (17/17) FINISHED docker:default
=> [y-provider-development internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.70kB 0.0s
=> [y-provider-development internal] load .dockerignore 0.0s
=> => transferring context: 376B 0.0s
=> [y-provider-development internal] load metadata for docker.io/library/node:22-alpine 3.7s
=> [y-provider-development internal] load build context 0.0s
=> => transferring context: 865.39kB 0.0s
=> [y-provider-development base 1/2] FROM docker.io/library/node:22-alpine@sha256:e4bf2a82ad0a4037d28035ae71529873c069b13 2960.3s
=> => resolve docker.io/library/node:22-alpine@sha256:e4bf2a82ad0a4037d28035ae71529873c069b13eb0455466ae0bc13363826e34 0.0s
=> => sha256:e4bf2a82ad0a4037d28035ae71529873c069b13eb0455466ae0bc13363826e34 6.41kB / 6.41kB 0.0s
=> => sha256:48f53c3f0105ccddcc5e4f520347398dfc0ba9b3008fbfd98a2add27e5797957 1.72kB / 1.72kB 0.0s
=> => sha256:463254b4a8121318a9f8861a08bdde48fcfd528848534e7ba742b3ce5146fd17 6.52kB / 6.52kB 0.0s
=> => sha256:589002ba0eaed121a1dbf42f6648f29e5be55d5c8a6ee0f8eaa0285cc21ac153 3.86MB / 3.86MB 377.7s
=> => sha256:8d513d1f314d3646adaf156be912f8de408c740e43d90cad5ce06b9de27e7bdf 51.60MB / 51.60MB 2957.5s
=> => sha256:2b752f7c71fd1a08980fdf09b7379d8304c8ef2569526934a2089ed26d771778 1.26MB / 1.26MB 99.3s
=> => sha256:fc1c5222d85fe45cd255019912158424888b168c8413fb42c8e166c37f1833eb 447B / 447B 100.9s
=> => extracting sha256:589002ba0eaed121a1dbf42f6648f29e5be55d5c8a6ee0f8eaa0285cc21ac153 0.1s
=> => extracting sha256:8d513d1f314d3646adaf156be912f8de408c740e43d90cad5ce06b9de27e7bdf 2.4s
=> => extracting sha256:2b752f7c71fd1a08980fdf09b7379d8304c8ef2569526934a2089ed26d771778 0.1s
=> => extracting sha256:fc1c5222d85fe45cd255019912158424888b168c8413fb42c8e166c37f1833eb 0.0s
=> [y-provider-development base 2/2] RUN apk update && apk upgrade && rm -rf /var/cache/apk/* 2.7s
=> [y-provider-development y-provider-deps 1/8] WORKDIR /home/frontend/ 0.0s
=> [y-provider-development y-provider-deps 2/8] COPY ./src/frontend/package.json ./package.json 0.0s
=> [y-provider-development y-provider-deps 3/8] COPY ./src/frontend/yarn.lock ./yarn.lock 0.0s
=> [y-provider-development y-provider-deps 4/8] COPY ./src/frontend/servers/y-provider/package.json ./servers/y-provider/pac 0.0s
=> [y-provider-development y-provider-deps 5/8] COPY ./src/frontend/packages/eslint-plugin-docs/package.json ./packages/esli 0.0s
=> [y-provider-development y-provider-deps 6/8] RUN yarn install 66.9s
=> [y-provider-development y-provider-deps 7/8] COPY ./src/frontend/packages/eslint-plugin-docs ./packages/eslint-plugin-doc 0.0s
=> [y-provider-development y-provider-deps 8/8] COPY ./src/frontend/servers/y-provider ./servers/y-provider 0.0s
=> [y-provider-development y-provider-development 1/1] WORKDIR /home/frontend/servers/y-provider 0.0s
=> [y-provider-development] exporting to image 19.3s
=> => exporting layers 19.2s
=> => writing image sha256:951c6a17aacc5e6cd172f567f1d70ad367335583d2fea225c3f70423cb1daf31 0.0s
=> => naming to docker.io/library/impress:y-provider-development 0.0s
=> [y-provider-development] resolving provenance for metadata file 0.0s
WARN[0000] current commit information was not captured by the build error="failed to read current commit information with git rev-p
arse --is-inside-work-tree"
make[1]: Leaving directory '/opt/docs'
make[1]: Entering directory '/opt/docs'
[+] Building 696.6s (19/19) FINISHED docker:default
=> [frontend-development internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.99kB 0.0s
=> [frontend-development internal] load .dockerignore 0.0s
=> => transferring context: 376B 0.0s
=> [frontend-development internal] load metadata for docker.io/library/node:24-alpine 3.4s
=> [frontend-development internal] load build context 0.2s
=> => transferring context: 6.60MB 0.2s
=> [frontend-development frontend-deps 1/12] FROM docker.io/library/node:24-alpine@sha256:cd6fb7efa6490f039f3471a189214d5 441.5s
=> => resolve docker.io/library/node:24-alpine@sha256:cd6fb7efa6490f039f3471a189214d5f548c11df1ff9e5b181aa49e22c14383e 0.0s
=> => sha256:26eb49fbfdf03bf69f728b73178fa6f9e7c2cef88b06561b65497f5ae8e50a3d 1.72kB / 1.72kB 0.0s
=> => sha256:830a00b153fccc810930d0fff2681b173fa3acc2ab8c45d8af972f50d4bcd09d 6.52kB / 6.52kB 0.0s
=> => sha256:4ef00bbbc75186b55c2be094a1c5ac03cbfac8897f1f2ed86107bf908a95fda9 50.98MB / 50.98MB 438.6s
=> => sha256:14b92b0c10a5cc759604614d048be3aad4c013e9b574a6bff7f6fa78ac4e5860 1.26MB / 1.26MB 3.3s
=> => sha256:8d660e9b10b3e184cb399d48eb01ecf741674c77553a9a4c3490696169041c5d 446B / 446B 2.4s
=> => sha256:cd6fb7efa6490f039f3471a189214d5f548c11df1ff9e5b181aa49e22c14383e 3.87kB / 3.87kB 0.0s
=> => extracting sha256:4ef00bbbc75186b55c2be094a1c5ac03cbfac8897f1f2ed86107bf908a95fda9 2.5s
=> => extracting sha256:14b92b0c10a5cc759604614d048be3aad4c013e9b574a6bff7f6fa78ac4e5860 0.1s
=> => extracting sha256:8d660e9b10b3e184cb399d48eb01ecf741674c77553a9a4c3490696169041c5d 0.0s
=> [frontend-development frontend-deps 2/12] RUN apk update && apk upgrade && rm -rf /var/cache/apk/* 2.7s
=> [frontend-development frontend-deps 3/12] WORKDIR /home/frontend/ 0.1s
=> [frontend-development frontend-deps 4/12] COPY ./src/frontend/package.json ./package.json 0.0s
=> [frontend-development frontend-deps 5/12] COPY ./src/frontend/yarn.lock ./yarn.lock 0.0s
=> [frontend-development frontend-deps 6/12] COPY ./src/frontend/apps/impress/package.json ./apps/impress/package.json 0.0s
=> [frontend-development frontend-deps 7/12] COPY ./src/frontend/packages/eslint-plugin-docs/package.json ./packages/eslint 0.0s
=> [frontend-development frontend-deps 8/12] RUN yarn install --frozen-lockfile 183.3s
=> [frontend-development frontend-deps 9/12] COPY .dockerignore ./.dockerignore 0.0s
=> [frontend-development frontend-deps 10/12] COPY ./src/frontend/.prettierrc.js ./.prettierrc.js 0.0s
=> [frontend-development frontend-deps 11/12] COPY ./src/frontend/packages/eslint-plugin-docs ./packages/eslint-plugin-docs 0.0s
=> [frontend-development frontend-deps 12/12] COPY ./src/frontend/apps/impress ./apps/impress 0.1s
=> [frontend-development impress-dev 1/1] WORKDIR /home/frontend/apps/impress 0.0s
=> [frontend-development] exporting to image 65.2s
=> => exporting layers 65.2s
=> => writing image sha256:2fd2eb5371d376d18e2952828a7c03befcc3c0acf57b65f0fd859418c8fdccba 0.0s
=> => naming to docker.io/library/impress:frontend-development 0.0s
=> [frontend-development] resolving provenance for metadata file 0.0s
WARN[0000] current commit information was not captured by the build error="failed to read current commit information with git rev-p
arse --is-inside-work-tree"
make[1]: Leaving directory '/opt/docs'
Running migrations
[+] Running 2/2
✔ Network docs_default Created 0.1s
✔ Container docs-postgresql-1 Started 0.4s
[+] Creating 6/1
✔ Network lasuite-network Created 0.1s
✔ Container docs-redis-1 Created 0.1s
✔ Container docs-mailcatcher-1 Created 0.1s
✔ Container docs-minio-1 Created 0.1s
✔ Container docs-postgresql-1 Running 0.0s
✔ Container docs-createbuckets-1 Created 0.0s
[+] Running 4/4
✔ Container docs-minio-1 Healthy 2.0s
✔ Container docs-redis-1 Started 0.5s
✔ Container docs-mailcatcher-1 Started 0.5s
✔ Container docs-createbuckets-1 Started 0.3s
🐳(entrypoint) creating user running in the container...
🐳(entrypoint) running your command: python manage.py migrate
System check identified some issues:
WARNINGS:
?: (dockerflow.health.W001) Unapplied migration admin.0001_initial
?: (dockerflow.health.W001) Unapplied migration admin.0002_logentry_remove_auto_add
?: (dockerflow.health.W001) Unapplied migration admin.0003_logentry_add_action_flag_choices
?: (dockerflow.health.W001) Unapplied migration auth.0001_initial
?: (dockerflow.health.W001) Unapplied migration auth.0002_alter_permission_name_max_length
?: (dockerflow.health.W001) Unapplied migration auth.0003_alter_user_email_max_length
?: (dockerflow.health.W001) Unapplied migration auth.0004_alter_user_username_opts
?: (dockerflow.health.W001) Unapplied migration auth.0005_alter_user_last_login_null
?: (dockerflow.health.W001) Unapplied migration auth.0006_require_contenttypes_0002
?: (dockerflow.health.W001) Unapplied migration auth.0007_alter_validators_add_error_messages
?: (dockerflow.health.W001) Unapplied migration auth.0008_alter_user_username_max_length
?: (dockerflow.health.W001) Unapplied migration auth.0009_alter_user_last_name_max_length
?: (dockerflow.health.W001) Unapplied migration auth.0010_alter_group_name_max_length
?: (dockerflow.health.W001) Unapplied migration auth.0011_update_proxy_permissions
?: (dockerflow.health.W001) Unapplied migration auth.0012_alter_user_first_name_max_length
?: (dockerflow.health.W001) Unapplied migration contenttypes.0001_initial
?: (dockerflow.health.W001) Unapplied migration contenttypes.0002_remove_content_type_name
?: (dockerflow.health.W001) Unapplied migration core.0001_initial
?: (dockerflow.health.W001) Unapplied migration core.0002_create_pg_trgm_extension
?: (dockerflow.health.W001) Unapplied migration sites.0002_alter_domain_unique [117/1827]
Operations to perform:
Apply all migrations: admin, auth, contenttypes, core, easy_thumbnails, malware_detection, sessions, sites
Running migrations:
Applying contenttypes.0001_initial... OK
Applying contenttypes.0002_remove_content_type_name... OK
Applying auth.0001_initial... OK
Applying auth.0002_alter_permission_name_max_length... OK
Applying auth.0003_alter_user_email_max_length... OK
Applying auth.0004_alter_user_username_opts... OK
Applying auth.0005_alter_user_last_login_null... OK
Applying auth.0006_require_contenttypes_0002... OK
Applying auth.0007_alter_validators_add_error_messages... OK
Applying auth.0008_alter_user_username_max_length... OK
Applying auth.0009_alter_user_last_name_max_length... OK
Applying auth.0010_alter_group_name_max_length... OK
Applying auth.0011_update_proxy_permissions... OK
Applying auth.0012_alter_user_first_name_max_length... OK
Applying core.0001_initial... OK
Applying admin.0001_initial... OK
Applying admin.0002_logentry_remove_auto_add... OK
Applying admin.0003_logentry_add_action_flag_choices... OK
Applying core.0002_create_pg_trgm_extension... OK
Applying core.0003_document_link_reach_document_link_role_and_more... OK
Applying core.0004_migrate_is_public_to_link_reach... OK
Applying core.0005_remove_document_is_public_alter_document_link_reach_and_more... OK
Applying core.0006_add_user_full_name_and_short_name... OK
Applying core.0007_fix_users_duplicate... OK
Applying core.0008_alter_document_link_reach... OK
Applying core.0009_add_document_favorite... OK
Applying core.0010_add_field_creator_to_document... OK
Applying core.0011_populate_creator_field_and_make_it_required... OK
Applying core.0012_make_document_creator_and_invitation_issuer_optional... OK
Applying core.0013_activate_fuzzystrmatch_extension... OK
Applying core.0014_add_tree_structure_to_documents... OK
Applying core.0015_set_path_on_existing_documents... OK
Applying core.0016_add_document_excerpt... OK
Applying core.0017_add_fields_for_soft_delete... OK
Applying core.0018_update_blank_title... OK
Applying core.0019_alter_user_language_default_to_null... OK
Applying core.0020_remove_is_public_add_field_attachments_and_duplicated_from... OK
Applying core.0021_activate_unaccent_extension... OK
Applying core.0022_alter_user_language_documentaskforaccess... OK
Applying core.0023_remove_document_is_public_and_more... OK
Applying core.0024_add_is_masked_field_to_link_trace... OK
Applying core.0025_alter_user_short_name... OK
Applying core.0026_comments... OK
..............................
make[1]: Entering directory '/opt/docs'
Flush database
[+] Creating 5/0
✔ Container docs-redis-1 Running 0.0s
✔ Container docs-minio-1 Running 0.0s
✔ Container docs-mailcatcher-1 Running 0.0s
✔ Container docs-postgresql-1 Running 0.0s
✔ Container docs-createbuckets-1 Created 0.0s
[+] Running 2/2
✔ Container docs-minio-1 Healthy 0.5s
✔ Container docs-createbuckets-1 Started 0.2s
🐳(entrypoint) creating user running in the container...
🐳(entrypoint) running your command: python manage.py flush --no-input
make[2]: Entering directory '/opt/docs'
Creating a Django superuser
[+] Creating 5/0
✔ Container docs-postgresql-1 Running 0.0s
✔ Container docs-mailcatcher-1 Running 0.0s
✔ Container docs-redis-1 Running 0.0s
✔ Container docs-minio-1 Running 0.0s
✔ Container docs-createbuckets-1 Created 0.0s
[+] Running 2/2
✔ Container docs-minio-1 Healthy 0.5s
✔ Container docs-createbuckets-1 Started 0.2s
🐳(entrypoint) creating user running in the container...
🐳(entrypoint) running your command: python manage.py createsuperuser --email admin@example.com --password admin
Superuser created successfully.
make[2]: Leaving directory '/opt/docs'
make[1]: Leaving directory '/opt/docs'
[+] Creating 5/0
✔ Container docs-mailcatcher-1 Running 0.0s
✔ Container docs-redis-1 Running 0.0s
✔ Container docs-postgresql-1 Running 0.0s
✔ Container docs-minio-1 Running 0.0s
✔ Container docs-createbuckets-1 Created 0.0s
[+] Running 2/2
✔ Container docs-minio-1 Healthy 0.5s
✔ Container docs-createbuckets-1 Started 0.2s
🐳(entrypoint) creating user running in the container...
🐳(entrypoint) running your command: python manage.py create_demo
Creating users. Took 0.0319279 seconds
Creating documents. Took 1.10066 seconds
Creating docs accesses. Took 0.274872 seconds
Creating development users. Took 0.00580199 seconds
Creating docs accesses on development users. Took 0.0865494 seconds
[+] Creating 5/0
✔ Container docs-mailcatcher-1 Running 0.0s
✔ Container docs-minio-1 Running 0.0s
✔ Container docs-redis-1 Running 0.0s
✔ Container docs-postgresql-1 Running 0.0s
✔ Container docs-createbuckets-1 Created 0.0s
[+] Running 2/2
✔ Container docs-minio-1 Healthy 0.5s
✔ Container docs-createbuckets-1 Started 0.2s
🐳(entrypoint) creating user running in the container...
🐳(entrypoint) running your command: python manage.py compilemessages --ignore=venv/**/*
File “/app/locale/cn_CN/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/sv_SE/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/pt_PT/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/it_IT/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/br_FR/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/es_ES/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/uk_UA/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/sl_SI/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/de_DE/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/nl_NL/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/zh_CN/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/tr_TR/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/fr_FR/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/ru_RU/LC_MESSAGES/django.po” is already compiled and up to date.
File “/app/locale/en_US/LC_MESSAGES/django.po” is already compiled and up to date.
yarn install v1.22.22
[1/4] Resolving packages...
success Already up-to-date.
Done in 0.21s.
yarn run v1.22.22
$ yarn build-mjml-to-html && yarn build-html-to-plain-text
$ bash ./bin/mjml-to-html
$ bash ./bin/html-to-plain-text
Done in 1.43s.
make[1]: Entering directory '/opt/docs'
[+] Running 0/1
⠙ Container docs-docspec-1 Starting 0.2s
Error response from daemon: driver failed programming external connectivity on endpoint docs-docspec-1 (8ed14ff6fc0527a6f2d6cef2e8bd
53bbc96403fff5934b94913cc9ef9a582621): Bind for 0.0.0.0:4000 failed: port is already allocated
make[1]: *** [Makefile:216: run-backend] Error 1
make[1]: Leaving directory '/opt/docs'
make: *** [Makefile:224: run] Error 2
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status