Can you check /opt/scalr-server/var/log/php-errors.log?

Additionally: did you run scalr-server-ctl reconfigure after restoring the
DB? There's probably some pending DB migrations that must be applied (and
running that command will do it for you). In doubt, re-run it. Or run:

cd /opt/scalr-server/embedded/scalr/app/bin ;
/opt/scalr-server/embedded/bin/php upgrade.php

Cheers,

-- Thomas | Product Manager @ Scalr | [email protected] | www.scalr.com |
blog.scalr.com

On Fri, Apr 17, 2015 at 5:18 PM, Dan Thagard <[email protected]> wrote:

> Ok, I was able to restore the scalr and analytics database from a backup,
> and I removed/readded the cloud keys. I'm now able to add new farms to the
> environments, but when I try to manage an existing farm, I get the
> following error in the web UI: "Database error"
>
> Any suggestions?
>
> On Fri, Apr 17, 2015 at 9:33 AM, Thomas Orozco <[email protected]> wrote:
>
>> If you updated the credentials when the old key was in place, you might
>> be in a situation where some data is encrypted with the old key, and other
>> data is encrypted with the new one...
>>
>> If you still have your DB backup, best approach might be to restore "from
>> scratch". If that's not an option, then you might want to try re-entering
>> cloud credentials.
>>
>> Cheers,
>>
>> -- Thomas | Product Manager @ Scalr | [email protected] | www.scalr.com |
>> blog.scalr.com
>>
>> On Fri, Apr 17, 2015 at 3:30 PM, Dan Thagard <[email protected]> wrote:
>>
>>> I did not, but rerunning the command I still get the same error. I see
>>> that in the scalr-server-ctl reconfigure the errant secret key was replaced
>>> with the old one.
>>>
>>> On Fri, Apr 17, 2015 at 9:21 AM, Thomas Orozco <[email protected]> wrote:
>>>
>>>> Did you run *scalr-server-ctl reconfigure*? Changes you make to the
>>>> configuration files don't take effect until you run the command.
>>>>
>>>> Cheers,
>>>>
>>>> -- Thomas | Product Manager @ Scalr | [email protected] | www.scalr.com
>>>> | blog.scalr.com
>>>>
>>>> On Fri, Apr 17, 2015 at 3:20 PM, Dan Thagard <[email protected]>
>>>> wrote:
>>>>
>>>>> I had not copied over the old secret_key, *whoops*. I have now updated
>>>>> the scalr-server-secrets.json with the old key from
>>>>> /opt/scalr/current/app/etc/.cryptokey, but I'm still getting the same
>>>>> results. I also performed a "scalr-server-manage restart all" to no avail.
>>>>> The admin password and id had previously been copied over.
>>>>>
>>>>> On Fri, Apr 17, 2015 at 8:59 AM, Thomas Orozco <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Dan,
>>>>>>
>>>>>> Have you followed these instructions:
>>>>>> https://scalr-wiki.atlassian.net/wiki/x/SQBJAQ? Specifically, did
>>>>>> you copy over the old secret key to the new secrets file?
>>>>>>
>>>>>> Cheers,
>>>>>>
>>>>>> -- Thomas | Product Manager @ Scalr | [email protected] |
>>>>>> www.scalr.com | blog.scalr.com
>>>>>>
>>>>>> On Fri, Apr 17, 2015 at 2:55 PM, Dan Thagard <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>>> I can list the farms but cannot configure them. I can add new
>>>>>>> environments, but I can't configure or add any new farms to those 
>>>>>>> either.
>>>>>>>
>>>>>>> On Thu, Apr 16, 2015 at 11:06 PM, Daniele Testa <[email protected]>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi!
>>>>>>>>
>>>>>>>> Could you please tell me what steps you took to upgrade your
>>>>>>>> installation?
>>>>>>>>
>>>>>>>> Are you able to list your current farms, but you get that error
>>>>>>>> message only when choosing "configure"?
>>>>>>>>
>>>>>>>> You should start by viewing all the different Scalr logs
>>>>>>>> (/opt/scalr-server/var/log/*).
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Daniele
>>>>>>>>
>>>>>>>> On Friday, April 17, 2015 at 5:05:54 AM UTC+8, Dan Thagard wrote:
>>>>>>>>>
>>>>>>>>> After upgrading to 5.3 OSS, I'm no longer able to manage the
>>>>>>>>> farms. I get the error "Cannot proceed with your request. Please try 
>>>>>>>>> again
>>>>>>>>> later." when trying to configure the farms. Also, I can't add any new 
>>>>>>>>> farms.
>>>>>>>>>
>>>>>>>>> Any suggestions as to where I should check for errors?
>>>>>>>>>
>>>>>>>>  --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "scalr-discuss" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>> send an email to [email protected].
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>>
>>>>>>>  --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "scalr-discuss" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>> send an email to [email protected].
>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>
>>>>>>
>>>>>>  --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "scalr-discuss" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to [email protected].
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "scalr-discuss" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>  --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "scalr-discuss" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "scalr-discuss" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "scalr-discuss" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "scalr-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to