Meteor: "Application Deployment Error: Your account is not allowed to deploy to Galaxy"

Since Meteor is stopping its free hosting, I am switching to Galaxy. I follow them to transfer the tutorial , but got stuck in the penultimate stage: "Deploy the application in Galaxy." I created a galaxy account (say my username is "appname") and cd'ed into the directory of my meteorite application, and did the following:

$ DEPLOY_HOSTNAME=galaxy.meteor.com meteor deploy appname.meteorapp.com --settings ./settings.json 

Using this result:

 Error deploying application: Your account is not authorized to deploy to Galaxy. 

Changes to the command with a full or relative path and with quotation marks around the lines do not matter.

I logged in to my web browser, and the meteor documentation (for example, How do I deploy an application to Galaxy? ) Does not mention specific requirements. Do I have to authorize myself somehow to deploy this?

+5
source share
1 answer

With some help from Dan Ahmadi from Meteor, I solved it (thanks Dan!). The answer to this question is for those who have the same problem.

Turns out I confused the Galaxy subdomain with the Meteor Developer account. I did not need to create a developer account for the meteor, since I already had one (it had to be created during the free deployment of the hosting), and therefore I was still logged into it.

To solve this problem:

 $ meteor whoami oldusername $ meteor logout Logged out. $ meteor login Username: appname Password: Logged in as appname. Thanks for being a Meteor developer! $ DEPLOY_HOSTNAME=galaxy.meteor.com meteor deploy appname.meteorapp.com --settings ./settings.json Deploying to appname.meteorapp.com. Now serving at http://appname.meteorapp.com 
+9
source

Source: https://habr.com/ru/post/1245261/


All Articles