You need to set a parameters_PORT.py file that contains a password for
admin... Because admin is disabled for security in production.
Try this from web2py folder in bash on your prod server :
sudo -u www-data python -c "from gluon.main import save_password;
save_password('123456',443)" # 123456 = password, 443 if you are behind SSL
Richard
On Tue, Aug 6, 2013 at 1:24 PM, dougie <[email protected]> wrote:
> hello,
>
> i setup web2py following the commands using one step production
> for
>
> wget http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh
>
> running this on raspbian. i'm unable to get admin access to work from the
> machine that its on. after a couple days of searching i'm no where closer to
> enabling this. about to start from scratch, so if anyone's got an idea whats
> going on i'd apprecaite some assistance. when i try to access the admin
> button it get a forbidden.
>
>
> Cheers
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" 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/groups/opt_out.
>
>
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" 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/groups/opt_out.