You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "rmaziere (via GitHub)" <gi...@apache.org> on 2026/04/15 15:44:37 UTC

[I] Blank WebUI after upgraded from 3.1.5 to 3.1.6 [airflow]

rmaziere opened a new issue, #65327:
URL: https://github.com/apache/airflow/issues/65327

   ### Under which category would you file this issue?
   
   Airflow Core
   
   ### Apache Airflow version
   
   3.1.6
   
   ### What happened and how to reproduce it?
   
   On Debian VM, Airflow 3.1.5 installed by pip.
   When I upgrade to 3.1.6 with pip install, the install is successful but after restarting `airflow-api-server.service` the web ui is blank.
   If I inspect the source code in my webbrowser I've : 
   ```html
   <!doctype html>
   <html style="height: 100%" dir="ltr" lang="en">
     <head>
       <meta charset="UTF-8" />
       <base href="[/](view-source:https://51.15.230.10/)" />
       <link rel="icon" type="image/png" href="./static/pin_32.png" />
       <meta name="viewport" content="width=device-width, initial-scale=1.0" />
       <title>Airflow</title>
       <script type="module" crossorigin src="./static/assets/index-BpILZJIF.js"></script>
       
     </head>
     <body style="height: 100%">
       <div id="root" style="height: 100%"></div>
     </body>
   </html>
   ```
   
   The airflow-api-server.service status give me : `"GET /static/assets/index-BpILZJIF.js HTTP/1.1" 404 Not Found`
   ```log
   sudo systemctl status airflow-api-server.service 
   ● airflow-api-server.service - Airflow api-server daemon
        Loaded: loaded (/etc/systemd/system/airflow-api-server.service; enabled; preset: enabled)
        Active: active (running) since Wed 2026-04-15 17:29:14 CEST; 12min ago
      Main PID: 12401 (airflow api_ser)
         Tasks: 7 (limit: 14334)
        Memory: 180.7M
           CPU: 5.728s
        CGroup: /system.slice/airflow-api-server.service
                └─12401 "airflow api_server -- host:0.0.0.0 port:8080"
   
   avril 15 17:29:19 scw-pedantic-ardinghelli bash[12401]: INFO:     Started server process [12401]
   avril 15 17:29:19 scw-pedantic-ardinghelli bash[12401]: INFO:     Waiting for application startup.
   avril 15 17:29:19 scw-pedantic-ardinghelli bash[12401]: INFO:     Application startup complete.
   avril 15 17:29:19 scw-pedantic-ardinghelli bash[12401]: INFO:     Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
   avril 15 17:29:19 scw-pedantic-ardinghelli bash[12401]: INFO:     127.0.0.1:59952 - "GET / HTTP/1.1" 200 OK
   avril 15 17:29:33 scw-pedantic-ardinghelli bash[12401]: INFO:     127.0.0.1:60230 - "GET / HTTP/1.1" 200 OK
   avril 15 17:29:33 scw-pedantic-ardinghelli bash[12401]: INFO:     127.0.0.1:60242 - "GET /static/assets/index-BpILZJIF.js HTTP/1.1" 404 Not Found
   avril 15 17:29:33 scw-pedantic-ardinghelli bash[12401]: INFO:     127.0.0.1:60246 - "GET /static/pin_32.png HTTP/1.1" 404 Not Found
   avril 15 17:34:35 scw-pedantic-ardinghelli bash[12401]: INFO:     127.0.0.1:38148 - "GET / HTTP/1.1" 200 OK
   avril 15 17:34:35 scw-pedantic-ardinghelli bash[12401]: INFO:     127.0.0.1:38158 - "GET /static/assets/index-BpILZJIF.js HTTP/1.1" 404 Not Found
   ```
   
   If I check if this script exists : 
   ```sh
   sudo find /opt/airflow/ -type f -name index-BpILZJIF.js
   /opt/airflow/env/lib/python3.11/site-packages/airflow/ui/dist/assets/index-BpILZJIF.js
   ```
   
   ### What you think should happen instead?
   
   _No response_
   
   ### Operating System
   
   Debian 12 / Python 3.11.2
   
   ### Deployment
   
   Virtualenv installation
   
   ### Apache Airflow Provider(s)
   
   _No response_
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-amazon==9.19.0
   apache-airflow-providers-common-compat==1.11.0
   apache-airflow-providers-common-io==1.7.0
   apache-airflow-providers-common-sql==1.30.2
   apache-airflow-providers-fab==2.4.0
   apache-airflow-providers-http==5.6.2
   apache-airflow-providers-mongo==5.3.1
   apache-airflow-providers-postgres==6.5.1
   apache-airflow-providers-smtp==2.4.1
   apache-airflow-providers-ssh==4.2.1
   apache-airflow-providers-standard==1.10.2
   
   ### Official Helm Chart version
   
   Not Applicable
   
   ### Kubernetes Version
   
   _No response_
   
   ### Helm Chart configuration
   
   _No response_
   
   ### Docker Image customizations
   
   Not Applicable
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Blank WebUI after upgraded from 3.1.5 to 3.1.6 [airflow]

Posted by "fufuShih (via GitHub)" <gi...@apache.org>.
fufuShih commented on issue #65327:
URL: https://github.com/apache/airflow/issues/65327#issuecomment-4304380788

   It looks like the frontend static asset versions are inconsistent.
   
   Your build produced:
   `index-BHgrvxEV.js`
   But the server is actually requesting:
   `index-BpILZJIF.js`
   
   Try deleting the build output and node_modules, check whether the lockfile has been modified, reinstall and rebuild again.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Blank WebUI after upgraded from 3.1.5 to 3.1.6 [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #65327: Blank WebUI after upgraded from 3.1.5 to 3.1.6
URL: https://github.com/apache/airflow/issues/65327


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Blank WebUI after upgraded from 3.1.5 to 3.1.6 [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #65327:
URL: https://github.com/apache/airflow/issues/65327#issuecomment-4898933339

   This issue has been automatically marked as stale because it has been open for 14 days with no response from the author. It will be closed in next 7 days if no further activity occurs from the issue author.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Blank WebUI after upgraded from 3.1.5 to 3.1.6 [airflow]

Posted by "fufuShih (via GitHub)" <gi...@apache.org>.
fufuShih commented on issue #65327:
URL: https://github.com/apache/airflow/issues/65327#issuecomment-4257925058

   ```
   Found: react@19.2.5
   
   // ...
   
   Could not resolve dependency:
   peer react@"^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0" from @visx/group@3.12.0
   ```
   
   It looks like a package dependency issue.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Blank WebUI after upgraded from 3.1.5 to 3.1.6 [airflow]

Posted by "rmaziere (via GitHub)" <gi...@apache.org>.
rmaziere commented on issue #65327:
URL: https://github.com/apache/airflow/issues/65327#issuecomment-4254719758

   Well...
   
   ```sh
   debian@airflow-test-upgrade:~$ git clone https://github.com/apache/airflow.git
   Clonage dans 'airflow'...
   
   debian@airflow-test-upgrade:~$ cd airflow/
   debian@airflow-test-upgrade:~/airflow$ git checkout 3.1.6
   Note : basculement sur '3.1.6'.
   
   Vous êtes dans l'état « HEAD détachée ». Vous pouvez visiter, faire des modifications
   expérimentales et les valider. Il vous suffit de faire un autre basculement pour
   abandonner les commits que vous faites dans cet état sans impacter les autres branches
   
   Si vous voulez créer une nouvelle branche pour conserver les commits que vous créez,
   il vous suffit d'utiliser l'option -c de la commande switch comme ceci :
   
     git switch -c <nom-de-la-nouvelle-branche>
   
   Ou annuler cette opération avec :
   
     git switch -
   
   Désactivez ce conseil en renseignant la variable de configuration advice.detachedHead à false
   
   HEAD est maintenant sur d6a009b6df Update RELEASE_NOTES.rst
   
   debian@airflow-test-upgrade:~/airflow$ cd airflow-core/src/airflow/ui
   debian@airflow-test-upgrade:~/airflow/airflow-core/src/airflow/ui$ npm install
   npm error code ERESOLVE
   npm error ERESOLVE unable to resolve dependency tree
   npm error
   npm error While resolving: ui@0.0.0
   npm error Found: react@19.2.5
   npm error node_modules/react
   npm error   react@"^19.1.1" from the root project
   npm error
   npm error Could not resolve dependency:
   npm error peer react@"^16.0.0-0 || ^17.0.0-0 || ^18.0.0-0" from @visx/group@3.12.0
   npm error node_modules/@visx/group
   npm error   @visx/group@"^3.12.0" from the root project
   npm error
   npm error Fix the upstream dependency conflict, or retry
   npm error this command with --force or --legacy-peer-deps
   npm error to accept an incorrect (and potentially broken) dependency resolution.
   npm error
   npm error
   npm error For a full report see:
   npm error /home/debian/.npm/_logs/2026-04-15T19_04_06_955Z-eresolve-report.txt
   npm notice
   npm notice New major version of npm available! 10.9.7 -> 11.12.1
   npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.12.1
   npm notice To update run: npm install -g npm@11.12.1
   npm notice
   npm error A complete log of this run can be found in: /home/debian/.npm/_logs/2026-04-15T19_04_06_955Z-debug-0.log
   ```


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Blank WebUI after upgraded from 3.1.5 to 3.1.6 [airflow]

Posted by "bbovenzi (via GitHub)" <gi...@apache.org>.
bbovenzi commented on issue #65327:
URL: https://github.com/apache/airflow/issues/65327#issuecomment-4254261859

   What if you manually build the UI files? `cd airflow-core/src/airflow/ui` `pnpm install` and `pnpm build`?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Blank WebUI after upgraded from 3.1.5 to 3.1.6 [airflow]

Posted by "rmaziere (via GitHub)" <gi...@apache.org>.
rmaziere commented on issue #65327:
URL: https://github.com/apache/airflow/issues/65327#issuecomment-4303316425

   I forced the installation on this testing server
   
   ```sh
   npm install --force
   ```
   and then build
   ```sh
   npm run build
   
   > ui@0.0.0 build
   > vite build
   
   11:17:47 [vite] warning: `esbuild` option was specified by "vite:react-swc" plugin. This option is deprecated, please use `oxc` instead.
   vite v8.0.10 building client environment for production...
   ✓ 3901 modules transformed.
   computing gzip size...
   dist/index.html                               0.59 kB │ gzip:     0.36 kB
   dist/.vite/manifest.json                      0.96 kB │ gzip:     0.31 kB
   dist/assets/chunk-jRWAZmH_.js                 1.21 kB │ gzip:     0.67 kB
   dist/assets/FailedLogs-B7i8NPq7.js            2.04 kB │ gzip:     1.00 kB
   dist/assets/browser-ponyfill-tJpl5NU3.js     10.47 kB │ gzip:     3.57 kB
   dist/assets/index-BHgrvxEV.js             7,061.18 kB │ gzip: 1,808.59 kB
   
   ✓ built in 5.61s
   [plugin builtin:vite-reporter] 
   (!) Some chunks are larger than 1600 kB after minification. Consider:
   - Using dynamic import() to code-split the application
   - Use build.rolldownOptions.output.codeSplitting to improve chunking: https://rolldown.rs/reference/OutputOptions.codeSplitting
   - Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
   ```
   
   And after restarting the Airflow API service, I still have the same issue.
   
   ```log
   Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
   127.0.0.1:49462 - "GET / HTTP/1.1" 200 OK
   127.0.0.1:49470 - "GET /static/assets/index-BpILZJIF.js HTTP/1.1" 404 Not Found
   127.0.0.1:49472 - "GET /static/pin_32.png HTTP/1.1" 404 Not Found
   127.0.0.1:36654 - "GET /.git/credentials HTTP/1.1" 200 OK
   ```


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Blank WebUI after upgraded from 3.1.5 to 3.1.6 [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #65327:
URL: https://github.com/apache/airflow/issues/65327#issuecomment-4997805242

   This issue has been closed because it has not received response from the issue author.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org