GitHub user dosubot[bot] added a comment to the discussion: public permalink

<!-- Answer -->
Yes, it's safe to run superset init. This command is designed to set up and 
synchronize roles, permissions, and core configuration for Superset. It does 
not modify your dashboards or user data. The main things to watch out for: any 
manual changes to roles/permissions in the UI will be reset, so always use 
PUBLIC_ROLE_LIKE and superset init for consistent public access. Also, make 
sure your SECRET_KEY is set and unchanged in your config—if it's missing or 
changed, encrypted database credentials may be lost and need to be 
reconfigured. The process is idempotent and handles database issues gracefully, 
so it's safe to run during upgrades or config changes 
([source](https://github.com/apache/superset/issues/35502), [code 
reference](https://github.com/apache/superset/blob/master/superset/initialization/__init__.py),
 [encryption key issue](https://github.com/apache/superset/issues/33595)).


<!-- 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/362621a9-b4ac-464e-8c77-7ab4967f3235?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/362621a9-b4ac-464e-8c77-7ab4967f3235?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/362621a9-b4ac-464e-8c77-7ab4967f3235?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/362621a9-b4ac-464e-8c77-7ab4967f3235?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/362621a9-b4ac-464e-8c77-7ab4967f3235?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/362621a9-b4ac-464e-8c77-7ab4967f3235?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/362621a9-b4ac-464e-8c77-7ab4967f3235?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=Yes%2C%20it%27s%20safe%20to%20run%20superset%20init.%20This%20command%20is%20designed%20to%20set%20up%20and%20synchronize%20roles%2C%20permissions%2C%20and%20core%20configuration%20for%20Superset.%20It%20does%20not%20modify%20your%20dashboards%20or%20user%20data.%20The%20main%20things%20to%20watch%20out%20for%3A%20any%20manual%20changes%20to%20roles/permissions%20in%20the%20UI%20will%20be%20reset%2C%20so%20always%20use%20PUBLIC_ROLE_LIKE%20and%20superset%20init%20for%20consistent%20public%20access.%20Also%2C%20make%20sure%20your%20SECRET_KEY%20is%20set%20and%20unchanged%20in%20your%20config%E2%80%94if%20it%27s%20missing%20or%20changed%2C%20encrypted%20database%20credentials%20may%20be%20lost%20and%20need%20to%20be%20reconfigured.%20The%20process%20is%
 
20idempotent%20and%20handles%20database%20issues%20gracefully%2C%20so%20it%27s%20safe%20to%20run%20during%20upgrades%20or%20config%20changes%C2%A0%28%5Bsource%5D%28https%3A//github.com/apache/superset/issues/35502%29%2C%C2%A0%5Bcode%20reference%5D%28https%3A//github.com/apache/superset/blob/master/superset/initialization/__init__.py%29%2C%C2%A0%5Bencryption%20key%20issue%5D%28https%3A//github.com/apache/superset/issues/33595%29%29.)&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/discussions/37660)

GitHub link: 
https://github.com/apache/superset/discussions/37660#discussioncomment-15692336

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to