[web2py] Re: Update web2py manually

2019-02-22 Thread Константин Комков
I rename my new project to old project name which worked, and new project work. It means that there is sometging in iis settings, but I can't find that. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.goog

Re: [web2py] SQLFORM with specific record

2019-02-22 Thread Ben Duncan
Are you trying to join to db's ? If not, then try : ROW = db(db.lugar.user_id == auth.user['id']).select() or ROW = db.lugar[auth_user['id']] See: http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#Shortcuts *Ben Duncan* DBA / Chief Software Architect Mississippi State

Re: [web2py] SQLFORM with specific record

2019-02-22 Thread Christian Varas
Thanks Duncan My fault! :P I was pointing to another table and I was missing the ".select()" and at the end... stupid me haha like this: record = db((db.*lugar*.id == request.args(0)) & (db.*ruta*.user_id == auth.user['id'])) Whit this works perfect: record = db((db.lugar.lugar_id == request.args

[web2py] Re: Letsencrypt, docker and apache

2019-02-22 Thread Dave S
On Wednesday, February 20, 2019 at 8:26:56 PM UTC-8, Oasis Agano wrote: > > Thank you for your reply, > > I am trying to replace the self generated certificate inside the container > with the new letsencrypt one. > > I am using this image https://hub.docker.com/r/scinnovation/web2py/ > > I alrea

[web2py] Re: Letsencrypt, docker and apache

2019-02-22 Thread Oasis Agano
Actually i changed the certificate and after that W2P can't connect to the postgresql container. It returns connection refused error. Failure to connect, tried 5 times: Traceback (most recent call last): File "/home/www-data/web2py/gluon/packages/dal/pydal/base.py", line 455, in __init__ sel

[web2py] Re: Letsencrypt, docker and apache

2019-02-22 Thread Oasis Agano
If I switch it back to the self generated cert it can connect to the database; Did someone face a the same issue? Regards. Oasis On Wednesday, February 20, 2019 at 9:13:48 PM UTC+9, Oasis Agano wrote: > > > Hello, > > Is there a quick way to setup lets encrypt to work with web2py inside a >