You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "SupersetOdT (via GitHub)" <gi...@apache.org> on 2025/11/20 16:12:09 UTC

[I] 6.0.0rc2 - The "DYNAMIC_PLUGINS": True [superset]

SupersetOdT opened a new issue, #36211:
URL: https://github.com/apache/superset/issues/36211

   ### Bug description
   
   In the "superset_config.py" file, when the configuration parameter is set as follows "DEFAULT_FEATURE_FLAGS = {"DYNAMIC_PLUGINS": True,}", I can’t add a new dashboard. The page goes on hold indefinitively and my console displays the following message:
   
   <img width="1074" height="314" alt="Image" src="https://github.com/user-attachments/assets/8ec520ce-4b14-4164-b8a8-2e971b4a209c" />
   
   When I set ""DYNAMIC_PLUGINS": False", everything works perfectly.
   
   Ticket #35870 mentions that DYNAMIC_PLUGINS is a beta feature. I imagine that this problem is well known and will be corrected with the "Extensions" function?
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   18 or greater
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug report.
   - [x] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.


-- 
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: notifications-unsubscribe@superset.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] 6.0.0rc3 - Unable to create a dashboard when DYNAMIC_PLUGINS is set to "true" [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #36211: 6.0.0rc3 - Unable to create a dashboard when DYNAMIC_PLUGINS is set to "true"
URL: https://github.com/apache/superset/issues/36211


-- 
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: notifications-unsubscribe@superset.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] 6.0.0rc3 - Unable to create a dashboard when DYNAMIC_PLUGINS is set to "true" [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #36211:
URL: https://github.com/apache/superset/issues/36211#issuecomment-3568308622

   <!-- Answer -->
   Thanks for clarifying your environment—Python 3.10 and Node 20 are fully supported, so the 404 on /dynamic-plugins/api/read is not due to a version mismatch.
   
   The most common cause for this issue is that the DYNAMIC_PLUGINS feature flag isn’t being picked up at runtime, often due to config placement or how Superset loads configuration, especially in Docker setups. Make sure you are setting FEATURE_FLAGS = {'DYNAMIC_PLUGINS': True} (not DEFAULT_FEATURE_FLAGS) in your superset_config.py (for native installs) or superset_config_docker.py in ./docker/pythonpath_dev/ (for Docker). After changing config files, do a full rebuild and restart of Superset to ensure the flag is applied—otherwise, the endpoint won’t be registered and you’ll get a 404 even if the flag is set in your config file ([source](https://github.com/apache/superset/issues/33702)).
   
   Also, double-check that you’re accessing /dynamic-plugins/api (with a dash, not an underscore), as the wrong URL will always return 404 ([source](https://github.com/apache/superset/issues/35870#issuecomment-3462749043)).
   
   If you’ve verified all of the above and still see the issue, check your Superset server logs for errors or warnings during startup related to feature flag loading or endpoint registration. The DYNAMIC_PLUGINS feature is still beta and not actively maintained, so instability is expected until the Extensions framework replaces it.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/ecde0c93-ff61-45a1-90a9-9dd655deb2c5?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/ecde0c93-ff61-45a1-90a9-9dd655deb2c5?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/ecde0c93-ff61-45a1-90a9-9dd655deb2c5?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/ecde0c93-ff61-45a1-90a9-9dd655deb2c5?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/ecde0c93-ff61-45a1-90a9-9dd655deb2c5?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/ecde0c93-ff61-45a1-90a9-9dd655deb2c5?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/ecde0c93-ff61-45a1-90a9-9dd655deb2c5?feedback_type=other)</sup>
   
   [![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&nbsp;[![Open in Cursor](https://dosu.dev/dosu-in-cursor.svg)](https://cursor.com/link/prompt?text=Thanks%20for%20clarifying%20your%20environment%E2%80%94Python%203.10%20and%20Node%2020%20are%20fully%20supported%2C%20so%20the%20404%20on%20/dynamic-plugins/api/read%20is%20not%20due%20to%20a%20version%20mismatch.%0A%0AThe%20most%20common%20cause%20for%20this%20issue%20is%20that%20the%20DYNAMIC_PLUGINS%20feature%20flag%20isn%E2%80%99t%20being%20picked%20up%20at%20runtime%2C%20often%20due%20to%20config%20placement%20or%20how%20Superset%20loads%20configuration%2C%20especially%20in%20Docker%20setups.%20Make%20sure%20you%20are%20setting%20FEATURE_FLAGS%20%3D%20%7B%27DYNAMIC_PLUGINS%27%3A%20True%7D%20%28not%20DEFAULT_FEATURE_FLAGS%29%20in%20your%20superset_config.py%20%28for%20native%20installs%29%20or%20superset_config_docker.py%20in%20./docker/pythonp
 ath_dev/%20%28for%20Docker%29.%20After%20changing%20config%20files%2C%20do%20a%20full%20rebuild%20and%20restart%20of%20Superset%20to%20ensure%20the%20flag%20is%20applied%E2%80%94otherwise%2C%20the%20endpoint%20won%E2%80%99t%20be%20registered%20and%20you%E2%80%99ll%20get%20a%20404%20even%20if%20the%20flag%20is%20set%20in%20your%20config%20file%C2%A0%28%5Bsource%5D%28https%3A//github.com/apache/superset/issues/33702%29%29.%0A%0AAlso%2C%20double-check%20that%20you%E2%80%99re%20accessing%20/dynamic-plugins/api%20%28with%20a%20dash%2C%20not%20an%20underscore%29%2C%20as%20the%20wrong%20URL%20will%20always%20return%20404%C2%A0%28%5Bsource%5D%28https%3A//github.com/apache/superset/issues/35870%23issuecomment-3462749043%29%29.%0A%0AIf%20you%E2%80%99ve%20verified%20all%20of%20the%20above%20and%20still%20see%20the%20issue%2C%20check%20your%20Superset%20server%20logs%20for%20errors%20or%20warnings%20during%20startup%20related%20to%20feature%20flag%20loading%20or%20endpoint%20registration.%20The
 %20DYNAMIC_PLUGINS%20feature%20is%20still%20beta%20and%20not%20actively%20maintained%2C%20so%20instability%20is%20expected%20until%20the%20Extensions%20framework%20replaces%20it.)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/36211)


-- 
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: notifications-unsubscribe@superset.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] 6.0.0rc3 - Unable to create a dashboard when DYNAMIC_PLUGINS is set to "true" [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #36211:
URL: https://github.com/apache/superset/issues/36211#issuecomment-4726458799

   @herve-lg does this still hang on current `master`? `DYNAMIC_PLUGINS` is a beta/deprecated flag we're winding down in favor of the Extensions framework, so I want to know if this is a real 5.0->6.0 regression or just the beta acting up before we chase it down.


-- 
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: notifications-unsubscribe@superset.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] 6.0.0rc3 - Unable to create a dashboard when DYNAMIC_PLUGINS is set to "true" [superset]

Posted by "SupersetOdT (via GitHub)" <gi...@apache.org>.
SupersetOdT commented on issue #36211:
URL: https://github.com/apache/superset/issues/36211#issuecomment-3573362893

   This issue is not present in version 5.0.0
   
   (I am not able to test on the master)


-- 
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: notifications-unsubscribe@superset.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] 6.0.0rc3 - Unable to create a dashboard when DYNAMIC_PLUGINS is set to "true" [superset]

Posted by "dosubot[bot] (via GitHub)" <gi...@apache.org>.
dosubot[bot] commented on issue #36211:
URL: https://github.com/apache/superset/issues/36211#issuecomment-3558897728

   <!-- Answer -->
   Enabling `DYNAMIC_PLUGINS` in Superset 6.0.0rc2/master is known to cause issues like the 404 error for `/dynamic-plugins/api/read` and dashboard creation hangs. This feature is beta, not actively maintained, and has incomplete support for routing and subpath deployments, which can break endpoints and UI flows ([source](https://github.com/apache/superset/issues/35870), [source](https://github.com/apache/superset/issues/33766)). 
   
   The root cause is often environment mismatch: Superset master/latest-dev now requires Python 3.10 or 3.11 and Node.js 20.x. Using Python 3.9 and Node 18 can prevent endpoints from registering or assets from building correctly, leading to 404s even when the feature flag is enabled ([source](https://github.com/apache/superset/issues/35823)). 
   
   There are no official fixes for this; maintainers have marked related issues as "won't fix" and plan to replace DYNAMIC_PLUGINS with the upcoming Extensions framework ([source](https://github.com/apache/superset/issues/33766)). If you need to experiment, upgrade your environment, ensure your config is loaded correctly (especially in Docker), and restart with a clean build. For subpath deployments, proxy rewrites or custom middleware may help work around missing prefixes ([source](https://github.com/apache/superset/issues/35027)). 
   
   If stability is critical, keep DYNAMIC_PLUGINS disabled until Extensions is released.
   
   
   <!-- Dosu Comment Footer -->
   *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
   
   ---
   <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/5232441c-1720-4a97-a153-f6e4d71f21f0?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/5232441c-1720-4a97-a153-f6e4d71f21f0?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/5232441c-1720-4a97-a153-f6e4d71f21f0?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/5232441c-1720-4a97-a153-f6e4d71f21f0?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/5232441c-1720-4a97-a153-f6e4d71f21f0?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/5232441c-1720-4a97-a153-f6e4d71f21f0?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/5232441c-1720-4a97-a153-f6e4d71f21f0?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=githu
 b)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/36211)


-- 
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: notifications-unsubscribe@superset.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] 6.0.0rc3 - Unable to create a dashboard when DYNAMIC_PLUGINS is set to "true" [superset]

Posted by "SupersetOdT (via GitHub)" <gi...@apache.org>.
SupersetOdT commented on issue #36211:
URL: https://github.com/apache/superset/issues/36211#issuecomment-3568303405

   I'm actually using Python 3.10 and Node 20


-- 
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: notifications-unsubscribe@superset.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] 6.0.0rc3 - Unable to create a dashboard when DYNAMIC_PLUGINS is set to "true" [superset]

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #36211:
URL: https://github.com/apache/superset/issues/36211#issuecomment-3572815436

   @SupersetOdT do you know if this occurs on master branch and/or 5.0.0? The way the issue is titled it makes it seem like a bug specific to 6.0.0rc3. But if it's present on master and not a regression from 5.0.0 then I'd be inclined to describe differently.


-- 
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: notifications-unsubscribe@superset.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


Re: [I] 6.0.0rc3 - Unable to create a dashboard when DYNAMIC_PLUGINS is set to "true" [superset]

Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #36211:
URL: https://github.com/apache/superset/issues/36211#issuecomment-4748311304

   Trying to thin the herd on Issues around here, so sorry, butDYNAMIC_PLUGINS is a beta/deprecated flag we're winding down in favor of the Extensions framework, so this is likely the beta flag misbehaving rather than a supported path. If you can confirm it still hangs on current master we'll reopen; otherwise closing as it relates to a deprecated feature.


-- 
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: notifications-unsubscribe@superset.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org