Ok, in that case, I think you will have to make sure that your prod
database is not corrupted... Can you access database with an other client
then web2py? pg admin 3 maybe if you use postgres...

Then you can try to drop value in auth_user and insert your local dev
values instead, so It will restore your actual user and password...

Maybe you can just drop your admin user I guest, if not use in any
relation, it should work, or you will have to drop cascade.

In that latter case, I would restore the entire database.

Richard



On Mon, Apr 16, 2012 at 12:18 PM, Bruce Wade <[email protected]> wrote:

> I can log into admin and update code files. I can not update anything in
> the database. I guess I should have been more clear.
> On Apr 16, 2012 8:36 AM, "Richard Vézina" <[email protected]>
> wrote:
>
>> Ok, maybe you run in the same problem I had in the pass.
>>
>> Did you update web2py like this : rm -Rf web2py/
>>
>> Or something like that?
>>
>> If so, you maybe have deleted parameters_443.py file contained in the
>> web2py root.
>>
>> This file contain an encrypted copy of your password where web2py look to
>> confirm your password or initialize web2py environnement à boot up.
>>
>> So, if you have backup you web2py older installation, you may copy back
>> this file and it should restore your precedent password.
>>
>> If you have deleted you older installation. What you can do is, to create
>> a new parameter_443.py, in a local staging (I mean you should setup a local
>> prod web2py setup, with the web2py installation script) deployment
>> environnement and copy the generated parameter file in your prod web2py
>> root folder. There is maybe an other way to do it with the dev web server,
>> I don't know.
>>
>> You also can search the web2py mailing list thread with parameters_443,
>> and you will find other ressource for sure.
>>
>> Hopes it help!
>>
>> Richard
>>
>> On Mon, Apr 16, 2012 at 11:23 AM, Bruce Wade <[email protected]>wrote:
>>
>>> My issue isn't solved. I wish. I was saying your password issue with the
>>> error message None is solved with a new version. Admin is useless for me
>>> right now in production as I can't update anything with it.
>>>
>>>
>>> On Mon, Apr 16, 2012 at 7:54 AM, Richard Vézina <
>>> [email protected]> wrote:
>>>
>>>> Yeah, maybe, in dev I use pretty simple password so, maybe there is
>>>> constrain about that.
>>>>
>>>> All right if your issue is solved.
>>>>
>>>> Richard
>>>>
>>>>
>>>> On Mon, Apr 16, 2012 at 10:34 AM, Bruce Wade <[email protected]>wrote:
>>>>
>>>>> The None is because you are not meeting the password requirements.
>>>>> That error message has been fixed in 1.99.7 release.
>>>>>
>>>>> My issue saves local but doesn't save any changes on my server where
>>>>> my database server is on a separate computer, and there is no error
>>>>> messages.
>>>>>
>>>>>
>>>>> On Mon, Apr 16, 2012 at 7:01 AM, Richard Vézina <
>>>>> [email protected]> wrote:
>>>>>
>>>>>> With the dev web server when I submit the form I get a none under the
>>>>>> first new password field with 1.99.4 version. It is not changing the
>>>>>> password. I precise that I set the password in the launching web2py box. 
>>>>>> In
>>>>>> that case the password maybe unchangable.
>>>>>>
>>>>>> Richard
>>>>>>
>>>>>>
>>>>>> On Fri, Apr 13, 2012 at 9:22 PM, Bruce Wade <[email protected]>wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> Having a strange problem. When using admin database administration
>>>>>>> and trying to update my password when I click save it refreshes the page
>>>>>>> without any errors but also doesn't save the password.
>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>> Regards,
>>>>>>> Bruce Wade
>>>>>>> http://ca.linkedin.com/in/brucelwade
>>>>>>> http://www.wadecybertech.com
>>>>>>> http://www.fittraineronline.com - Fitness Personal Trainers Online
>>>>>>> http://www.warplydesigned.com
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> Regards,
>>>>> Bruce Wade
>>>>> http://ca.linkedin.com/in/brucelwade
>>>>> http://www.wadecybertech.com
>>>>> http://www.fittraineronline.com - Fitness Personal Trainers Online
>>>>> http://www.warplydesigned.com
>>>>>
>>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Regards,
>>> Bruce Wade
>>> http://ca.linkedin.com/in/brucelwade
>>> http://www.wadecybertech.com
>>> http://www.fittraineronline.com - Fitness Personal Trainers Online
>>> http://www.warplydesigned.com
>>>
>>>
>>

Reply via email to