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. Failed to install app: 402 message: Missing token

Failed to install app: 402 message: Missing token

Scheduled Pinned Locked Moved Solved Support
apicli
23 Posts 3 Posters 2.8k 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.
    • A abbe

      @girish as mentioned before, a simple list command works, but not the install!

      when i try to issue the command <cloudron login domain.com> i get an error saying "Failed to login: self signed certificate"

      but giving <cloudron login my.domain.com> returns a positive output "Existing token still valid. Login successful."

      issuing the command inspect gives a JSON load, with the following values:
      {
      "apiEndpoint": "my.domain.com",
      "appStoreOrigin": "https://api.cloudron.io",
      "apps": []
      }

      should i navigate to my.domain.com/#/domains to renew teh certs i haev ? or will this be a bad move to take ?

      murgeroM Offline
      murgeroM Offline
      murgero
      App Dev
      wrote on last edited by
      #21

      @abbe said in Failed to install app: 402 message: Missing token:

      ould i navigate to my.domain.com/#/domains to renew teh certs i haev ? or will this be a bad move to take ?

      Nah, no need - cloudron cli requires the my.example.com not example.com so you're fine.

      --
      https://urgero.org
      ~ Professional Nerd. Freelance Programmer. ~

      1 Reply Last reply
      1
      • A abbe

        @girish as mentioned before, a simple list command works, but not the install!

        when i try to issue the command <cloudron login domain.com> i get an error saying "Failed to login: self signed certificate"

        but giving <cloudron login my.domain.com> returns a positive output "Existing token still valid. Login successful."

        issuing the command inspect gives a JSON load, with the following values:
        {
        "apiEndpoint": "my.domain.com",
        "appStoreOrigin": "https://api.cloudron.io",
        "apps": []
        }

        should i navigate to my.domain.com/#/domains to renew teh certs i haev ? or will this be a bad move to take ?

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by girish
        #22

        @abbe whoops, sorry, that was a mistake in my login command (corrected now).

        Actually, I just realized now that your cloudron is probably all fresh. Has it even logged into the app store? Go to the dashboard and click on App Store. Is it logged in there? Without logging into app store, you cannot install apps. This is needed to get the application manifests.

        A 1 Reply Last reply
        2
        • girishG girish

          @abbe whoops, sorry, that was a mistake in my login command (corrected now).

          Actually, I just realized now that your cloudron is probably all fresh. Has it even logged into the app store? Go to the dashboard and click on App Store. Is it logged in there? Without logging into app store, you cannot install apps. This is needed to get the application manifests.

          A Offline
          A Offline
          abbe
          wrote on last edited by
          #23

          @girish well, that solved the problem i was facing, though i do not understand why it does, but anyway, thanks a lot that helped me 😌 ✌

          Solved!!
          Solution = <Just sign in to the app store in your Cloudron Server as Mr. @girish said>

          Once more, thank you very much for the support 😃 .

          1 Reply Last reply
          0
          • A abbe has marked this topic as solved on
          • benborgesB benborges referenced 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