On Thursday, December 22, 2016 at 9:57:52 AM UTC-8, b.l. masters wrote: > > Hi > > I am attempting to recreate my web2py app, from a clean install on an > amazon instance with an standard install of web2py plus a git clone of an > existing web2py application. My git repo ignores the database directory. > Also, I am not using git to control the entire web2py application/I do not > use the web2py git plugin (for a variety of reasons). So my git repo is > just of my web2py application's folder, that I clone inside of the existing > larger web2py applications folder. > > However, when I install a new version of Web2py on an amazon instance, and > then clone my application folder into the web2py application, the databases > are not being recreated. > > I've seen a few related issues that others have experienced. Since no > database folder has been created at all in my case, deleting existing > tables isn't relevant to my particular instance. And I have already added > the following to my model file, as the recommended way of dealing with > problematic migrations: > > > db.define_table(...., migrate=True, fake_migrate=True) > db = DAL(..., fake_migrate_all=True) > > > I have also tried many, many multiple combinations of the migration > settings, to see if I could get something to work: migrate, fake_migrate, > migrate_enabled, fake_migrate_enabled. > > Regardless of what I try, the databases are not being created, and I get > the following: > > > Internal errorTicket issued: unrecoverable > <https://54.191.223.145/admin/default/ticket/unrecoverable> > > > I am just using the standard Sqlite database that is created by Web2py. > And the admin and welcome sites that are automatically created at install > are working just fine. > > Any help would be appreciated, as I have a need to rebuild this site > clean, and I would also like to be confident that I could readily rebuild a > web2py app from my git repo, when needed. > > First question ... does .../web2py/applications/ myapp/databases (a directory) exist?
/dps -- 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]. For more options, visit https://groups.google.com/d/optout.

