Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Superset
  3. Superset: Permission denied for snowflake database connection

Superset: Permission denied for snowflake database connection

Scheduled Pinned Locked Moved Solved Superset
15 Posts 3 Posters 4.7k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • rapmac13160R Offline
    rapmac13160R Offline
    rapmac13160
    wrote on last edited by
    #1

    Hi,

    Snowflake database connection in Superset suddenly stopped to operate with the following error message:

    Error: [Errno 13] Permission denied: '/root/.config/snowflake/config.toml'

    This is the same when I try to test the connection in the settings directly.

    Thank you in advance.

    1 Reply Last reply
    2
    • J joseph moved this topic from Support on
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Haven't heard of snowflake in the context of databases before, but looks like support for it has to be installed manually. I tried the upstream docs at https://superset.apache.org/docs/configuration/databases#installing-database-drivers to install that via pip but for some reason I can't even get the app to list snowflake as an option. How did you install that?

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        The snowflake driver is already included in the package. The issue appears to be something else.

        1 Reply Last reply
        0
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          From what I can make out, Snowflake CLI uses config.toml - https://docs.snowflake.com/en/developer-guide/snowflake-cli/connecting/configure-cli . Not sure why superset wants config.toml . Might be a question for the uptsream project?

          1 Reply Last reply
          0
          • rapmac13160R Offline
            rapmac13160R Offline
            rapmac13160
            wrote on last edited by
            #5

            Hi, do you need any information from me ?

            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @rapmac13160 we don't have experience with snowflake and don't have a set up to test. So, you will have to help us debug this further.

              You said "suddenly stopped to operate" . Does this mean it worked before and just stopped working recently? What changed?

              1 Reply Last reply
              0
              • rapmac13160R Offline
                rapmac13160R Offline
                rapmac13160
                wrote on last edited by rapmac13160
                #7

                Sure. Yes the connection worked well in the past month. I did not check superset for few months and when i connected few days ago, this message appeared. It can possibly be linked to an update of superset.

                It was working fine at that time https://forum.cloudron.io/topic/11457/install-prophet-package/10?_=1732531616852

                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #8

                  @rapmac13160 do you think you can generate some test snowflake credentials / database for us to test? If you can send them to support@cloudron.io, we can test it .

                  I signed up at snowflake.com but tbh I couldn't make much sense of it. Can't even figure how to set up a database and generate access tokens.

                  1 Reply Last reply
                  0
                  • rapmac13160R Offline
                    rapmac13160R Offline
                    rapmac13160
                    wrote on last edited by
                    #9

                    Hi @girish, they are sent to the adress

                    1 Reply Last reply
                    1
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #10

                      @rapmac13160 thanks, the issue is https://github.com/snowflakedb/snowflake-connector-python/issues/2108 . I have left a note there. I am updating the package with a workaround - https://git.cloudron.io/cloudron/superset-app/-/merge_requests/4

                      1 Reply Last reply
                      0
                      • rapmac13160R Offline
                        rapmac13160R Offline
                        rapmac13160
                        wrote on last edited by
                        #11

                        @girish thanks for the investigation, let me know when ok.

                        1 Reply Last reply
                        0
                        • girishG Offline
                          girishG Offline
                          girish
                          Staff
                          wrote on last edited by
                          #12

                          @rapmac13160 new package is out

                          1 Reply Last reply
                          0
                          • rapmac13160R Offline
                            rapmac13160R Offline
                            rapmac13160
                            wrote on last edited by
                            #13

                            @girish it works perfectly fine thanks!

                            1 Reply Last reply
                            0
                            • nebulonN nebulon marked this topic as a question on
                            • nebulonN nebulon has marked this topic as solved on
                            • rapmac13160R Offline
                              rapmac13160R Offline
                              rapmac13160
                              wrote on last edited by
                              #14

                              Hi, just did the upgrade of Superset and the error is backScreenshot 2024-12-13 at 20.23.18.png

                              rapmac13160R 1 Reply Last reply
                              0
                              • rapmac13160R rapmac13160

                                Hi, just did the upgrade of Superset and the error is backScreenshot 2024-12-13 at 20.23.18.png

                                rapmac13160R Offline
                                rapmac13160R Offline
                                rapmac13160
                                wrote on last edited by
                                #15

                                @rapmac13160 Not exactly the same but it seems very similar

                                1 Reply Last reply
                                0
                                • rapmac13160R rapmac13160 referenced this topic on

                                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                With your input, this post could be even better 💗

                                Register Login
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • Bookmarks
                                • Search