TopCoder2K commented on issue #62405:
URL: https://github.com/apache/airflow/issues/62405#issuecomment-3977167594

   No, I'm unable to fix the errors. I need help from someone with knowledge of 
Breeze.
   
   Pasting here my current output:
   ```bash
   [Breeze:3.10.19] root@24b816f9b8e0:/opt/airflow$ breeze start-airflow
   
   The value 5.7 is not allowed for parameter mysql_version. Setting default 
value to 8.0
   
   The value 10 is not allowed for parameter postgres_version. Setting default 
value to 13
   
   The value 5.7 is not allowed for parameter mysql_version. Setting default 
value to 8.0
   
   The value 10 is not allowed for parameter postgres_version. Setting default 
value to 13
   Docker container engine detected.
   Good version of Docker: 29.2.1.
   Good version of docker-compose: 5.1.0
   Host python version is 3.10.19 (main, Feb 25 2026, 02:48:56) [GCC 12.2.0]
   Checking prek installed for /usr/local/bin/python3
   
   Package prek is installed. Good version 0.3.3 (>= 0.3.2)
   
   The output of the asset compilation is stored in: 
/opt/airflow/.build/ui/asset_compile.out
   
   Airflow will be using: LocalExecutor to execute the tasks.
   Docker image build is not needed for CI build as no important files are 
changed! You can add --force-build to force it
   docker: Error response from daemon: failed to create task for container: 
failed to create shim task: OCI runtime create failed: runc create failed: 
unable to start container process: error during container init: exec: 
"/opt/airflow/scripts/in_container/run_fix_ownership.py": stat 
/opt/airflow/scripts/in_container/run_fix_ownership.py: no such file or 
directory: unknown
   
   Run 'docker run --help' for more information
   
   
   
   
   
                                     @&&&&&&@
                                    @&&&&&&&&&&&@
                                   &&&&&&&&&&&&&&&&
                                           &&&&&&&&&&
                                               &&&&&&&
                                                &&&&&&&
                              @@@@@@@@@@@@@@@@   &&&&&&
                             @&&&&&&&&&&&&&&&&&&&&&&&&&&
                            &&&&&&&&&&&&&&&&&&&&&&&&&&&&
                                            &&&&&&&&&&&&
                                                &&&&&&&&&
                                              &&&&&&&&&&&&
                                         @@&&&&&&&&&&&&&&&@
                      @&&&&&&&&&&&&&&&&&&&&&&&&&&&&  &&&&&&
                     &&&&&&&&&&&&&&&&&&&&&&&&&&&&    &&&&&&
                    &&&&&&&&&&&&&&&&&&&&&&&&         &&&&&&
                                                    &&&&&&
                                                  &&&&&&&
                                               @&&&&&&&&
               @&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
              &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
             &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
   
   
   
        @&&&@       &&  @&&&&&&&&&&&   &&&&&&&&&&&&  &&            &&&&&&&&&&  
&&&     &&&     &&&
       &&& &&&      &&  @&&       &&&  &&            &&          &&&       &&&@ 
&&&   &&&&&   &&&
      &&&   &&&     &&  @&&&&&&&&&&&&  &&&&&&&&&&&   &&          &&         &&& 
 &&& &&& &&@ &&&
     &&&&&&&&&&&    &&  @&&&&&&&&&     &&            &&          &&@        &&& 
  &&@&&   &&@&&
    &&&       &&&   &&  @&&     &&&@   &&            &&&&&&&&&&&  &&&&&&&&&&&&  
   &&&&   &&&&
   
   &&&&&&&&&&&&   &&&&&&&&&&&&   &&&&&&&&&&&@  &&&&&&&&&&&&   &&&&&&&&&&&   
&&&&&&&&&&&
   &&&       &&&  &&        &&&  &&            &&&                  &&&&    &&
   &&&&&&&&&&&&@  &&&&&&&&&&&&   &&&&&&&&&&&   &&&&&&&&&&&       &&&&       
&&&&&&&&&&
   &&&        &&  &&   &&&&      &&            &&&             &&&&         &&
   &&&&&&&&&&&&&  &&     &&&&@   &&&&&&&&&&&@  &&&&&&&&&&&&  @&&&&&&&&&&&   
&&&&&&&&&&&
   
   
   
   
                          Airflow Breeze Cheatsheet
   
       * Port forwarding:
   
           Ports are forwarded to the running docker containers for webserver 
and database
             * 12322 -> forwarded to Airflow ssh server -> airflow:22
             * 28080 -> forwarded to Airflow api server (Airflow 3) or 
webserver (Airflow 2) -> airflow:8080
             * 25555 -> forwarded to Flower dashboard -> airflow:5555
             * 25433 -> forwarded to Postgres database -> postgres:5432
             * 23306 -> forwarded to MySQL database  -> mysql:3306
             * 26379 -> forwarded to Redis broker -> redis:6379
             * 25672 -> forwarded to Rabbitmq -> rabbitmq:5672
   
           Direct links to those services that you can use from the host:
   
             * ssh connection for remote debugging: ssh -p 12322 
airflow@localhost (password: airflow)
             * API server or webserver:    http://localhost:28080 (username: 
admin, password: admin)
             * Flower:    http://localhost:25555
             * Postgres:  
jdbc:postgresql://localhost:25433/airflow?user=postgres&password=airflow
             * Mysql:     jdbc:mysql://localhost:23306/airflow?user=root
             * Redis:     redis://localhost:26379/0
   
       * How can I add my stuff in Breeze:
   
           * Your dags for webserver and scheduler are read from `/files/dags` 
directory
             which is mounted from folder in Airflow sources:
             * `/opt/airflow/files/dags`
   
           * Your plugins are read from `/files/plugins` directory
             which is mounted from folder in Airflow sources:
             * `/opt/airflow/files/plugins`
   
           * You can add `airflow-breeze-config` directory. Place it in
             `/opt/airflow/files/airflow-breeze-config` and:
               * Add `environment_variables.env` - to make breeze source the 
variables automatically for you
               * Add `.tmux.conf` - to add extra initial configuration to `tmux`
               * Add `init.sh` - this file will be sourced when you enter 
container, so you can add
                 any custom code there.
               * Add `requirements.
   
           * You can also share other files, put them under
             `/opt/airflow/files` folder
             and they will be visible in `/files/` folder inside the container.
   
       * Other options
   
       Check out `--help` for `breeze` command. It will show you other options, 
such as running
       integration or starting complete Airflow using `start-airflow` command 
as well as ways
       of cleaning up the installation.
   
       Make sure to run `breeze setup autocomplete` to get the commands and 
options auto-completable
       in your shell.
   
       You can disable this cheatsheet by running:
   
           breeze setup config --no-cheatsheet
   
   
   [+]  3/3te 3/3
    ✔ Network breeze_default             Created                                
                                                                                
0.1s
    ✔ Volume breeze_root-airflow-volume  Created                                
                                                                                
0.0s
    ✔ Volume breeze_airflow-cache-volume Created                                
                                                                                
0.0s
   Container breeze-airflow-run-da1cd5bd3217 Creating 
   Container breeze-airflow-run-da1cd5bd3217 Created 
   Error response from daemon: failed to create task for container: failed to 
create shim task: OCI runtime create failed: runc create failed: unable to 
start container process: error during container init: error mounting 
"/opt/airflow/scripts/docker/entrypoint_ci.sh" to rootfs at "/entrypoint": 
mount src=/opt/airflow/scripts/docker/entrypoint_ci.sh, dst=/entrypoint, 
dstFd=/proc/thread-self/fd/12, flags=MS_BIND|MS_REC: not a directory: unknown: 
Are you trying to mount a directory onto a file (or vice-versa)? Check if the 
specified host path exists and is the expected type
   Error 1 returned
   
   [Breeze:3.10.19] root@24b816f9b8e0:/opt/airflow$ docker ps
   CONTAINER ID   IMAGE                                       COMMAND           
       CREATED             STATUS             PORTS                             
                                                                                
                                                           NAMES
   24b816f9b8e0   ghcr.io/apache/airflow/main/ci/python3.10   "/bin/sh -c 'echo 
Co…"   About an hour ago   Up About an hour   0.0.0.0:22->22/tcp, 
[::]:22->22/tcp, 0.0.0.0:5555->5555/tcp, [::]:5555->5555/tcp, 
0.0.0.0:6379->6379/tcp, [::]:6379->6379/tcp, 0.0.0.0:8080->8080/tcp, 
[::]:8080->8080/tcp   docker-compose-airflow-1
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to