Scalr_Environment Key# not found in database (self-hosted)

120 views
Skip to first unread message

Dale-Kurt Murray

unread,
Nov 15, 2011, 9:21:45 AM11/15/11
to scalr-...@googlegroups.com

Hi,

I'm running a self-host scalr (2011-09-29) and I'm using scalr tools to create a source. I have configure the scalr tool with the KEY ID, API KEY and URL.

After executing the command scalr dm-create-source -t http -u https://my-domain.com/test-deployment/test-deployment.git

I got the follow message:
Scalr_Environment Key# not found in database

How do I fix this?

DicsyDel

unread,
Nov 23, 2011, 9:50:16 AM11/23/11
to scalr-discuss
Seems like you've configured scalr-tools to incorrect keys. You need
to get correct keys from Scalr client CP and click to [client email] -
> API access in to right corner.

Regards,
Igor

On Nov 15, 4:21 pm, Dale-Kurt Murray <dalekurt.mur...@gmail.com>
wrote:


> Hi,
>
> I'm running a self-host scalr (2011-09-29) and I'm using scalr tools to
> create a source. I have configure the scalr tool with the KEY ID, API KEY
> and URL.
>

> After executing the command scalr dm-create-source -t http -uhttps://my-domain.com/test-deployment/test-deployment.git

Dale-Kurt Murray

unread,
Nov 25, 2011, 12:23:28 AM11/25/11
to scalr-...@googlegroups.com
Thanks for the response Igor, I thought that to be the case as well so I had double checked the ID and Key provided. I took the access key and key id from the account, located on the dropdown menu of my email > API Access and used the command

scalr configure --key-id=xxx --access-key=xxx --api-url=http://my-domain.com/api/api.php

Thereafter I tried to execute the command

scalr dm-create-source -t http -u https://mydomain.com/my-git-deployment/my-git-deployment.git -l user...@gmail.com -p secret

And I got the following:
Reply all
Reply to author
Forward
0 new messages