Admin password

145 views
Skip to first unread message

Gaël Princivalle

unread,
May 16, 2019, 3:43:22 AM5/16/19
to web2py-users
Hello.

I've forgot my admin password...

And I've made another mistake.
My web2py is on Webfaction and I've reset the password with the Pythonanywere instructions:

Changing your Web2py Admin Password
  1. Open a Bash console and cd to your web2py directory. You'll know you're in the right place if there's a file called parameters_443.py in the directory.
  2. Run this: python -c "from gluon.main import save_password; save_password(raw_input('admin password: '),443)"
  3. Reload your webapp.

Now if the admin page is don't load anymore :
403 FORBIDDEN

Soemone can give me a hand?

Thanks.

Val K

unread,
May 16, 2019, 4:10:25 AM5/16/19
to web2py-users
Hi!
Does parameters_443.py exist in web2py dir?
Check permissions - does web2py have access to this file?

Gaël Princivalle

unread,
May 16, 2019, 11:32:26 AM5/16/19
to web2py-users
>Does parameters_443.py exist in web2py dir?
Yes.

>Check permissions - does web2py have access to this file?
Yes

Ivan Gazzola

unread,
Oct 25, 2019, 7:53:33 AM10/25/19
to web2py-users
I've got the same problem
How did you solve it?
Thx

Ivan Gazzola

Gaël Princivalle

unread,
Oct 25, 2019, 10:29:47 AM10/25/19
to web2py-users
Ciao Ivan.

I've solved it restoring the web2py folder from a backup and doing the wright process for changing the password.

Nico de Groot

unread,
Dec 2, 2019, 2:50:31 AM12/2/19
to web2py-users
In admin/private there's a file hosts.deny. if you type the wrong password too many times your address will be recorded here. You can only login again after removing this line, (or the file)
Nico de Groot
Reply all
Reply to author
Forward
0 new messages