Thank you Carlos, I'll start this migration as soon as my Opalstack account 
will be a provisioned.
I've a doubt about the DBs. Opalstack offers MariaDB and PostgreSQL.
It seems that it's not so easy to use PostgreSQL.
https://groups.google.com/g/web2py/c/bc_8dg-XHpY/m/ci8A2RzzAwAJ
I can switch my PostgreSQL DBs to MySQL, but in the connection string with 
MariaDB I have to use the standard MySQL one?
mysql://username:password@localhost/test?set_encoding=utf8mb4 

Il giorno martedì 20 ottobre 2020 alle 05:48:38 UTC+2 [email protected] 
ha scritto:

> After the oficial announce from webfaction (goDaddy)  about the inminent 
> shutdown of Web2Py support, I decided to migrate my Apps to Opalstack.com .
>
> I want to share with you the procedure what I received from the support 
> guys (It works!!!).
>
> The initial web2py installer script is attached. There are a couple of 
> manual steps that must be done before you can run the script:
>
>    1. Go to https://my.opalstack.com/tokens/ and create an API token if 
>    you do not have one already. Make a note of the API token value.
>    2. Go to https://my.opalstack.com/applications/ and create a new 
>    "Proxy Port" application. Make a note of the app's UUID. You can get the 
>    UUID by clicking the edit icon for the app in the app list and then 
>    retrieve the UUID from the last part of the edit page URL. For example if 
>    the edit page URL is 
>    https://my.opalstack.com/application/edit/abcd123-def234-123abc-678fed 
> then 
>    the UUID is abcd123-def234-123abc-678fed.
>    3. Upload the attached script to your app's shell user home directory 
>    on the server.
>    4. Run the script as follows: python3 ~/web2py_install.py -u APP_UUID 
>    -t TOKEN (replace APP_UUID and TOKEN with the values from steps 1 and 2 
>    above.)
>
> The script will then install web2py for you, showing its progress as it 
> goes.
>
> After the script completes, you can then run the following commands to 
> convert the application to Python 2.7 (be sure to change the app name to 
> the name of your installed app):
> *pip2.7 install --user zipp==1.1*
> * pip2.7 install --user virtualenv==16.7.10 *
> *cd ~/apps/appname *
> *mv env env.old *
> *virtualenv -p /bin/python2.7 env *
> *source env/bin/activate *
> *pip install uwsgi *
> *./stop *
> *./start *
>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/b982e62c-065e-457d-8a20-3bfbc46bb5e8n%40googlegroups.com.

Reply via email to