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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Restarting - Waiting for a platform to initialize

Restarting - Waiting for a platform to initialize

Scheduled Pinned Locked Moved Solved Support
openid
19 Posts 2 Posters 1.7k Views 4 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.
  • F Offline
    F Offline
    flaxxain
    wrote on last edited by joseph
    #1

    Hello,

    My Cloudron APP (Minio) is stuck at:

    Restarting - Waiting for a platform to initialize

    It was not responding so I restarted it and now it's all stuck at one point. Nothing is working nor the restart of the whole server as well.

    Please help me ASAP.

    My Recent LOGS:

    Jan 07 06:55:49 ]11;?\
    Jan 07 06:55:49 1: cmd/server-main.go:982:cmd.serverMain.func14()
    Jan 07 06:55:49 2: cmd/server-main.go:562:cmd.bootstrapTrace()
    Jan 07 06:55:49 3: cmd/server-main.go:983:cmd.serverMain.func14.1()
    Jan 07 06:55:49 4: cmd/iam.go:255:cmd.(*IAMSys).Init()
    Jan 07 06:55:49 5: cmd/logging.go:29:cmd.iamLogIf()
    Jan 07 06:55:49 6: internal/logger/logger.go:268:logger.LogIf()
    Jan 07 06:55:49 API: SYSTEM.iam
    Jan 07 06:55:49 DeploymentID: d44a149e-d48a-4d65-9985-09a3dbdff02d
    Jan 07 06:55:49 Error: Unable to initialize OpenID: Get "https://my.flaxxa.in/openid/.well-known/openid-configuration": dial tcp 172.18.0.1:443: i/o timeout (*fmt.wrapError)
    Jan 07 06:55:49 Time: 01:25:49 UTC 01/07/2025
    Jan 09 11:47:47 ==> Changing ownership
    Jan 09 11:47:47 ==> Starting minio
    Jan 09 11:48:02 ]11;?\
    Jan 09 11:48:02 1: cmd/server-main.go:982:cmd.serverMain.func14()
    Jan 09 11:48:02 2: cmd/server-main.go:562:cmd.bootstrapTrace()
    Jan 09 11:48:02 3: cmd/server-main.go:983:cmd.serverMain.func14.1()
    Jan 09 11:48:02 4: cmd/iam.go:255:cmd.(*IAMSys).Init()
    Jan 09 11:48:02 5: cmd/logging.go:29:cmd.iamLogIf()
    Jan 09 11:48:02 6: internal/logger/logger.go:268:logger.LogIf()
    Jan 09 11:48:02 API: SYSTEM.iam
    Jan 09 11:48:02 DeploymentID: d44a149e-d48a-4d65-9985-09a3dbdff02d
    Jan 09 11:48:02 Error: Unable to initialize OpenID: Get "https://my.flaxxa.in/openid/.well-known/openid-configuration": dial tcp 172.18.0.1:443: i/o timeout (*fmt.wrapError)
    Jan 09 11:48:02 Time: 06:18:02 UTC 01/09/2025
    Jan 09 13:10:30 ]11;?\
    Jan 09 13:10:30 4: cmd/iam.go:255:cmd.(*IAMSys).Init()
    Jan 09 13:10:30 5: cmd/logging.go:29:cmd.iamLogIf()
    Jan 09 13:10:30 6: internal/logger/logger.go:268:logger.LogIf()
    Jan 09 13:10:30 API: SYSTEM.iam
    Jan 09 13:10:30 DeploymentID: d44a149e-d48a-4d65-9985-09a3dbdff02d
    Jan 09 13:10:30 Error: Unable to initialize OpenID: Get "https://my.flaxxa.in/openid/.well-known/openid-configuration": dial tcp 172.18.0.1:443: i/o timeout (*fmt.wrapError)
    Jan 09 13:10:30 Time: 07:40:30 UTC 01/09/2025
    Jan 09 13:10:31 1: cmd/server-main.go:982:cmd.serverMain.func14()
    Jan 09 13:10:31 2: cmd/server-main.go:562:cmd.bootstrapTrace()
    Jan 09 13:10:31 3: cmd/server-main.go:983:cmd.serverMain.func14.1()
    Jan 09 13:11:17 ==> Changing ownership
    Jan 09 13:11:17 ==> Starting minio
    
    

    Thanks!

    J 1 Reply Last reply
    1
    • F flaxxain

      Hello,

      My Cloudron APP (Minio) is stuck at:

      Restarting - Waiting for a platform to initialize

      It was not responding so I restarted it and now it's all stuck at one point. Nothing is working nor the restart of the whole server as well.

      Please help me ASAP.

      My Recent LOGS:

      Jan 07 06:55:49 ]11;?\
      Jan 07 06:55:49 1: cmd/server-main.go:982:cmd.serverMain.func14()
      Jan 07 06:55:49 2: cmd/server-main.go:562:cmd.bootstrapTrace()
      Jan 07 06:55:49 3: cmd/server-main.go:983:cmd.serverMain.func14.1()
      Jan 07 06:55:49 4: cmd/iam.go:255:cmd.(*IAMSys).Init()
      Jan 07 06:55:49 5: cmd/logging.go:29:cmd.iamLogIf()
      Jan 07 06:55:49 6: internal/logger/logger.go:268:logger.LogIf()
      Jan 07 06:55:49 API: SYSTEM.iam
      Jan 07 06:55:49 DeploymentID: d44a149e-d48a-4d65-9985-09a3dbdff02d
      Jan 07 06:55:49 Error: Unable to initialize OpenID: Get "https://my.flaxxa.in/openid/.well-known/openid-configuration": dial tcp 172.18.0.1:443: i/o timeout (*fmt.wrapError)
      Jan 07 06:55:49 Time: 01:25:49 UTC 01/07/2025
      Jan 09 11:47:47 ==> Changing ownership
      Jan 09 11:47:47 ==> Starting minio
      Jan 09 11:48:02 ]11;?\
      Jan 09 11:48:02 1: cmd/server-main.go:982:cmd.serverMain.func14()
      Jan 09 11:48:02 2: cmd/server-main.go:562:cmd.bootstrapTrace()
      Jan 09 11:48:02 3: cmd/server-main.go:983:cmd.serverMain.func14.1()
      Jan 09 11:48:02 4: cmd/iam.go:255:cmd.(*IAMSys).Init()
      Jan 09 11:48:02 5: cmd/logging.go:29:cmd.iamLogIf()
      Jan 09 11:48:02 6: internal/logger/logger.go:268:logger.LogIf()
      Jan 09 11:48:02 API: SYSTEM.iam
      Jan 09 11:48:02 DeploymentID: d44a149e-d48a-4d65-9985-09a3dbdff02d
      Jan 09 11:48:02 Error: Unable to initialize OpenID: Get "https://my.flaxxa.in/openid/.well-known/openid-configuration": dial tcp 172.18.0.1:443: i/o timeout (*fmt.wrapError)
      Jan 09 11:48:02 Time: 06:18:02 UTC 01/09/2025
      Jan 09 13:10:30 ]11;?\
      Jan 09 13:10:30 4: cmd/iam.go:255:cmd.(*IAMSys).Init()
      Jan 09 13:10:30 5: cmd/logging.go:29:cmd.iamLogIf()
      Jan 09 13:10:30 6: internal/logger/logger.go:268:logger.LogIf()
      Jan 09 13:10:30 API: SYSTEM.iam
      Jan 09 13:10:30 DeploymentID: d44a149e-d48a-4d65-9985-09a3dbdff02d
      Jan 09 13:10:30 Error: Unable to initialize OpenID: Get "https://my.flaxxa.in/openid/.well-known/openid-configuration": dial tcp 172.18.0.1:443: i/o timeout (*fmt.wrapError)
      Jan 09 13:10:30 Time: 07:40:30 UTC 01/09/2025
      Jan 09 13:10:31 1: cmd/server-main.go:982:cmd.serverMain.func14()
      Jan 09 13:10:31 2: cmd/server-main.go:562:cmd.bootstrapTrace()
      Jan 09 13:10:31 3: cmd/server-main.go:983:cmd.serverMain.func14.1()
      Jan 09 13:11:17 ==> Changing ownership
      Jan 09 13:11:17 ==> Starting minio
      
      

      Thanks!

      J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #2

      @flaxxain said in Restarting - Waiting for a platform to initialize:

      Jan 07 06:55:49 Error: Unable to initialize OpenID: Get "https://my.flaxxa.in/openid/.well-known/openid-configuration": dial tcp 172.18.0.1:443: i/o timeout (*fmt.wrapError)

      It seems minio doesn't start up because of openid configuration. Can you run curl https://my.flaxxa.in/openid/.well-known/openid-configuration via ssh and check if it fails or not?

      1 Reply Last reply
      0
      • J joseph marked this topic as a question on
      • F Offline
        F Offline
        flaxxain
        wrote on last edited by
        #3

        Hello,

        This is what I got:

        curl https://my.flaxxa.in/openid/.well-known/openid-configuration
        {"authorization_endpoint":"https://my.flaxxa.in/openid/auth","claims_parameter_supported":false,"claims_supported":["sub","email","email_verified","family_name","given_name","locale","name","preferred_username","picture","groups","sid","auth_time","iss"],"code_challenge_methods_supported":["S256"],"grant_types_supported":["authorization_code","implicit","refresh_token"],"issuer":"https://my.flaxxa.in/openid","jwks_uri":"https://my.flaxxa.in/openid/jwks","authorization_response_iss_parameter_supported":true,"response_modes_supported":["form_post","fragment","query"],"response_types_supported":["code","id_token","id_token token","code id_token","code token","code id_token token","none"],"scopes_supported":["openid","offline_access","email","profile","groups"],"subject_types_supported":["public"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_jwt","client_secret_post","private_key_jwt","none"],"token_endpoint_auth_signing_alg_values_supported":["HS256","RS256","PS256","ES256","EdDSA"],"token_endpoint":"https://my.flaxxa.in/openid/token","id_token_signing_alg_values_supported":["RS256"],"pushed_authorization_request_endpoint":"https://my.flaxxa.in/openid/request","request_parameter_supported":false,"request_uri_parameter_supported":false,"userinfo_endpoint":"https://my.flaxxa.in/openid/me","claim_types_supported":["normal"]}

        J 1 Reply Last reply
        0
        • F flaxxain

          Hello,

          This is what I got:

          curl https://my.flaxxa.in/openid/.well-known/openid-configuration
          {"authorization_endpoint":"https://my.flaxxa.in/openid/auth","claims_parameter_supported":false,"claims_supported":["sub","email","email_verified","family_name","given_name","locale","name","preferred_username","picture","groups","sid","auth_time","iss"],"code_challenge_methods_supported":["S256"],"grant_types_supported":["authorization_code","implicit","refresh_token"],"issuer":"https://my.flaxxa.in/openid","jwks_uri":"https://my.flaxxa.in/openid/jwks","authorization_response_iss_parameter_supported":true,"response_modes_supported":["form_post","fragment","query"],"response_types_supported":["code","id_token","id_token token","code id_token","code token","code id_token token","none"],"scopes_supported":["openid","offline_access","email","profile","groups"],"subject_types_supported":["public"],"token_endpoint_auth_methods_supported":["client_secret_basic","client_secret_jwt","client_secret_post","private_key_jwt","none"],"token_endpoint_auth_signing_alg_values_supported":["HS256","RS256","PS256","ES256","EdDSA"],"token_endpoint":"https://my.flaxxa.in/openid/token","id_token_signing_alg_values_supported":["RS256"],"pushed_authorization_request_endpoint":"https://my.flaxxa.in/openid/request","request_parameter_supported":false,"request_uri_parameter_supported":false,"userinfo_endpoint":"https://my.flaxxa.in/openid/me","claim_types_supported":["normal"]}

          J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #4

          @flaxxain can you put the app in recovery mode, then open a Web terminal and run that curl again?

          1 Reply Last reply
          0
          • J Offline
            J Offline
            joseph
            Staff
            wrote on last edited by
            #5

            Which version of Cloudron are you on?

            1 Reply Last reply
            0
            • F Offline
              F Offline
              flaxxain
              wrote on last edited by
              #6

              Platform Version: v8.2.3 (Ubuntu 22.04.4 LTS)

              Web Terminal of the app is Connecting & Reconnecting...

              Web Terminal is not working.

              Please help..

              Thanks!

              1 Reply Last reply
              0
              • F Offline
                F Offline
                flaxxain
                wrote on last edited by
                #7

                The recovery mode is also not working, it say App is Busy

                J 1 Reply Last reply
                0
                • F flaxxain

                  The recovery mode is also not working, it say App is Busy

                  J Offline
                  J Offline
                  joseph
                  Staff
                  wrote on last edited by
                  #8

                  @flaxxain if there is another task running, you will see an 'x' to cancel the task i.e right side of the progress bar. You can kill that task by pressing 'x' and then hopefully Reocvery mode work. Do you see such a 'x' button?

                  1 Reply Last reply
                  0
                  • F Offline
                    F Offline
                    flaxxain
                    wrote on last edited by
                    #9

                    No, I did that way before but it's not working at all.
                    When I clicked on the 'x' icon it got me this error in console:

                    https://prnt.sc/TrHRCwX0BzyA

                    I hope this helps.

                    J 1 Reply Last reply
                    0
                    • F flaxxain

                      No, I did that way before but it's not working at all.
                      When I clicked on the 'x' icon it got me this error in console:

                      https://prnt.sc/TrHRCwX0BzyA

                      I hope this helps.

                      J Offline
                      J Offline
                      joseph
                      Staff
                      wrote on last edited by
                      #10

                      @flaxxain thanks for the screenshot! the issue is not with the app, the platform is not starting for some reason. Can you check /home/yellowtent/platformdata/logs/box.log ? You can do systemctl restart box and then the logs will tell you why some addon/service is not starting.

                      1 Reply Last reply
                      0
                      • F Offline
                        F Offline
                        flaxxain
                        wrote on last edited by
                        #11

                        I tried to restart using the command and then I checked the logs:

                        https://prnt.sc/pYYHHOLwQA4g

                        I got the error:

                        2025-01-09T18:09:30.199Z box:services Attempt 1 failed. Will retry: Network error waiting for postgresql: Timeout of 20000ms exceeded

                        1 Reply Last reply
                        0
                        • J Offline
                          J Offline
                          joseph
                          Staff
                          wrote on last edited by
                          #12

                          You can check docker logs -f postgresql why it's not starting. But looks like you only use minio and thus don't use postgres. You can just clean out postgres. See https://docs.cloudron.io/services/#corrupt-addon

                          1 Reply Last reply
                          0
                          • F Offline
                            F Offline
                            flaxxain
                            wrote on last edited by
                            #13

                            https://prnt.sc/rD0wkBzyAg38

                            https://prnt.sc/9aeFNwUHbsls

                            https://prnt.sc/OtOkdtR8JD8Q

                            These are logs, nothing to see.. no errors when I ran the command you sent now.

                            These are my services currently:
                            https://prnt.sc/zWs6KktVUYn-

                            What's going on with the system? I'm not at all sure.

                            1 Reply Last reply
                            0
                            • F Offline
                              F Offline
                              flaxxain
                              wrote on last edited by
                              #14

                              Ok, I did that, cleaned the postgres and then restart the container as well, but still nothing works.

                              What should I do?

                              J 1 Reply Last reply
                              0
                              • F flaxxain

                                Ok, I did that, cleaned the postgres and then restart the container as well, but still nothing works.

                                What should I do?

                                J Offline
                                J Offline
                                joseph
                                Staff
                                wrote on last edited by
                                #15

                                @flaxxain very close, I think systemctl restart box will then start the platform. Can you try?

                                1 Reply Last reply
                                0
                                • F Offline
                                  F Offline
                                  flaxxain
                                  wrote on last edited by
                                  #16

                                  Joesph, nothing is working, it seems complete APP is stuck and not even a single process of working.

                                  Please can you check this thoroughly and help on this? I did all you told but all in vain.

                                  Please help!

                                  1 Reply Last reply
                                  0
                                  • J Offline
                                    J Offline
                                    joseph
                                    Staff
                                    wrote on last edited by
                                    #17

                                    @flaxxain I have reached out from support@

                                    1 Reply Last reply
                                    0
                                    • F Offline
                                      F Offline
                                      flaxxain
                                      wrote on last edited by
                                      #18

                                      Replied you back. I have already enabled the SSH access in my system.

                                      1 Reply Last reply
                                      0
                                      • J Offline
                                        J Offline
                                        joseph
                                        Staff
                                        wrote on last edited by
                                        #19

                                        @flaxxain not sure why/how, but docker was corrupt. The box code was unable to reach the containers (like postgresql) via http . Solution was to run cloudron-support --recreate-docker which re-creates docker from scratch (without destroying any data).

                                        1 Reply Last reply
                                        1
                                        • J joseph has marked this topic as solved on
                                        • J joseph forked this topic on
                                        • J joseph locked this topic on
                                        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