Discussion:
[Mayan EDMS: 2576] Mayan-EDMS 3.0.1 - SQLite - postgresql
Eddi
2018-07-12 23:17:36 UTC
Permalink
Hi,

I installed Mayan 3.0.1 on ubuntu 16.04 LTS. All works fine, but this error
message about SQLite confuses me.

I am using Postresql (see local.py below) but the message does not go away
...

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'mayan',
'USER': 'mayan',
'PASSWORD': '<password used when creating postgreSQL user>',
'HOST': 'localhost',
'PORT': '5432',
}
}


Am I missing something or is this a bug?

BTW, I used the advanced install procedure to install Mayan (found here:
https://mayan.readthedocs.io/en/v2.7.3/topics/deploying.html; I know, the
instructions are for 2.7.3 but it does install 3.0.1 ...).

Thanks.

Eddi
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Roberto Rosario
2018-07-13 01:07:21 UTC
Permalink
local.py is no longer imported by default. Pass the variable
DJANGO_SETTINGS_MODULE=mayan_settings/local.py to have it import it. You
can also use the command option --settings=mayan_settings.local.py

For this to work the local.py file must be inside a mayan_settings folder
inside the media folder. There has to be an empty __init__.py file in the
media and mayan_settings folder. This makes the. Python importable. Under
message 2539 Victor Zele posted the steps he used to upgrade his install.
Post by Eddi
Hi,
I installed Mayan 3.0.1 on ubuntu 16.04 LTS. All works fine, but this
error message about SQLite confuses me.
I am using Postresql (see local.py below) but the message does not go away
...
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'mayan',
'USER': 'mayan',
'PASSWORD': '<password used when creating postgreSQL user>',
'HOST': 'localhost',
'PORT': '5432',
}
}
Am I missing something or is this a bug?
https://mayan.readthedocs.io/en/v2.7.3/topics/deploying.html; I know, the
instructions are for 2.7.3 but it does install 3.0.1 ...).
Thanks.
Eddi
--
---
You received this message because you are subscribed to the Google Groups
"Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "Mayan EDMS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mayan-edms+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...