It is better to do this at front server like nginx, Apache or even at
os-level. In web2py, models files are processed for each request, so you
can just raise HTTP at db.py
вторник, 27 октября 2020 г. в 04:52:57 UTC+3, Vlad:
> I've discovered that my site is constantly bothered by weird
Ah, i see. Can you temporarily shutdown() the logger and then restart it
when the uninstall is complete? Or does it need to stay running also? I
think it is possible to close a specific handler as well - but i dont know
how the logging works in web2py - maybe there is a single handler for all
the
I've discovered that my site is constantly bothered by weird locations -
not that there is anything intrinsically wrong with those countries, but
those locations have nothing to do with actual customers. I want to reject
the requests from those locations altogether.
I can reject any
i had the same path.
Images you should , i think, just download from webfaction and upload to
opalstack to uploads folder.
I used dbeaver to export from webfaction . and then psql to insert in
opalstack.
I had the same problem but i used migrate=False. Check docs.
Not much but hope it helps.
Ramos
Hi.
I'm still trying to migrate my Web2py applications from Webfaction to
Opalstack.
Well here what I do:
1 I export the DB form Webfaction in the dump.sql file
What are the best options?
For one website only the Data's in the Copy mode has worked well.
For another one I've loose some records.
Thank you Carlos that works perfectly.
Il giorno lunedì 26 ottobre 2020 alle 02:55:05 UTC+1 carlos@gmail.com
ha scritto:
> Try this:
>
> cd ~/apps/yourapp
> source env/bin/activate
> cd web2py/
> python -c "from gluon.main import save_password;
> save_password(raw_input('admin password:
Thank you for your reply,
Deleting the application folder gives the same error.
The problem is that the logger holds the log file locked. If I restart the
webserver I can delete the file, but our developers can't restart web
services.
It is not a big problem but I would like to find a
On Monday, 26 October 2020 01:55:05 UTC, Carlos A wrote:
>
> Try this:
>
> cd ~/apps/yourapp
> source env/bin/activate
> cd web2py/
> python -c "from gluon.main import save_password;
> save_password(raw_input('admin password: '), )"
>
> Note: You can find your assigned port with the command
8 matches
Mail list logo