if you don't have blablabla_auth_*.table files in the databases/* folder, then web2py is assuming it should create them. In that case, you'll probably want to set migrate to False (because in the database tables are yet there) and to set fake_migrate to true (because this will recreate the .table files). Then you can turn fake_migrate back to False, so it won't recreate over and over the .table files :P
Do that in the auth.define_tables() call. On Saturday, October 19, 2013 12:36:42 PM UTC+2, __pyslan__ wrote: > > Well, I reinstalled the uwsgi e works, but now another error is as follows: > > 23. OperationalError: (1050, "Table 'auth_user' already exists") > > > Details of my code: > > In the file models/000_settings.py: > > settings = Storage( > db = Storage(), > auth = Storage(), > mail = Storage() > ) > > settings.db.migrate_enabled = True > settings.db.migrate = True > > > In the file models/002_data_models.py: > > auth = Auth(db, > hmac_key=Auth.get_or_create_key(), > controller="default", > function = 'user') > > auth.define_tables(username=True, signature=True) # here is where the > error happens like follow: > > 4. File "/media/sda3/pyslan/PROJECTS/web2py/applications/myapp/compiled/ > models.002_data_models.py", line 26, in <module> > > > I'm using MySQL database. > > > Some idea of what might be? > > Thanks!!! > > > > > > > > On Fri, Oct 18, 2013 at 12:26 PM, rochacbruno <[email protected]<javascript:> > > wrote: > >> Looks like a permission error >> >> >> On Friday, October 18, 2013 12:22:15 AM UTC-3, __pyslan__ wrote: >>> >>> Hello erevydory!! >>> >>> After upgrade web2py with update-web2py.sh, the error is: >>> (Internal error -> Ticket issued: unknown) >>> >>> [image: Inline image 1] >>> >>> I've restarted the nginx, uwsgi. Even the machine and does not work. >>> >>> >>> Thanks!!! >>> >> -- >> 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] <javascript:>. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- 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/groups/opt_out.

