Ok. Actually that was something. I realized that I gave the directories the
wrong permissions when I created these. So I went ahead and reassigned to
www-data and now I am getting the following:

Validation error, field:username <gluon.validators.IS_NOT_IN_DB object at
0x7f1d49dcd2d0>

It has now created databases. Or at least there are database files showing
in the databases directory. However, when I attempt to create a user, this
is the traceback message from the Database administration view:

    Traceback (most recent call last):
  File 
"/home/www-data/web2py/applications/[myappsname]/controllers/appadmin.py",
line 249, in select
    nrows = db(query, ignore_common_filters=True).count()
  File "/home/www-data/web2py/gluon/packages/dal/pydal/objects.py",
line 2010, in count
    return db._adapter.count(self.query, distinct)
  File "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py",
line 1321, in count
    self.execute(self._count(query, distinct))
  File "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py",
line 1388, in execute
    return self.log_execute(*a, **b)
  File "/home/www-data/web2py/gluon/packages/dal/pydal/adapters/base.py",
line 1382, in log_execute
    ret = self.get_cursor().execute(command, *a[1:], **b)
OperationalError: no such table: auth_user


But this feels like progress. :-)

These are my current settings migration settings:

db = DAL(..., migrate=True, fake_migrate_all=True)

db.define_table(..., migrate=True, fake_migrate=True

auth.define_tables(username=True, signature=False, migrate=True)

Thanks again for any help.




On Thu, Dec 22, 2016 at 5:41 PM, b.l. masters <[email protected]>
wrote:

> Basically I ignore any directories that I don't want to "share" between my
> local, my test and my production. I do not have the following:
>
> databases
> errors
> uploads
> sessions
> private
>
> So, I went ahead and mkdir each of these and did an apache restart.  Still
> the same error.
>
> Thanks for your help so far. I've spent a fair amount of time now trying
> to figure this one out, and its becoming frustrating.
>
> On Thu, Dec 22, 2016 at 5:20 PM, Dave S <[email protected]> wrote:
>
>>
>>
>> On Thursday, December 22, 2016 at 2:01:39 PM UTC-8, b.l. masters wrote:
>>>
>>> Yeah. I already tried that. It doesn't do anything.
>>>
>>>
>> Well, the next suggestion I have is to be sure that other required
>> directories exist.  Anything in the first level of the welcome and example
>> apps is a good place to start. (private may be superfluous)
>>
>> /dps
>>
>>
>>> On 12/22/16 4:46 PM, Dave S wrote:
>>> >
>>> >
>>> > On Thursday, December 22, 2016 at 1:24:13 PM UTC-8, b.l. masters
>>> wrote:
>>> >
>>> >     No. The directory doesn't exist at all. Since I include that
>>> directory
>>> >     in my git ignore file, when I clone my application there is no
>>> >     databases
>>> >     folder.
>>> >
>>> >
>>> > Try using mkdir.
>>> >
>>> > /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 a topic in the
>>> > Google Groups "web2py-users" group.
>>> > To unsubscribe from this topic, visit
>>> > https://groups.google.com/d/topic/web2py/e3SYa5D6HB0/unsubscribe.
>>> > To unsubscribe from this group and all its topics, send an email to
>>> > [email protected]
>>> > <mailto:[email protected]>.
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> 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 a topic in the
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/web2py/e3SYa5D6HB0/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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.

Reply via email to