[Mayan EDMS: 24] upgrade procedure

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 24] upgrade procedure

Gour
Hello!

Considering that we've decided to use PostgreSQL as Mayan's db back-end,
we may spend some more time testing it and playing with it before
starting to build our DMS.

However, I wonder what is the general upgrade procedure for Mayan when
using stable releases?

(Didn't find anything in the docs.)


Sincerely,
Gour


--
As a strong wind sweeps away a boat on the water,
even one of the roaming senses on which the mind
focuses can carry away a man's intelligence.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

signature.asc (853 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 26] Re: upgrade procedure

rosarior
Administrator
I usually post instructions on the Changelog, now that South is being used the upgrade procedure is mostly just running the migrations.  But thanks for pointing this out, there should be a separate 'Upgrading' section along side the current 'Installation' one.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Mayan EDMS: 45] Re: upgrade procedure

rosarior
Administrator
Started changing the documentation format to include the release notes for each version.  The notes include upgrade procedure, new features, and backward incompatible changes.

mayan 12 release notes.png (170K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 45] Re: upgrade procedure

Gour
On Mon, 23 Jan 2012 22:19:13 -0800 (PST)
Roberto Rosario
<[hidden email]>
wrote:

> Started changing the documentation format to include the release
> notes for each version.  The notes include upgrade procedure, new
> features, and backward incompatible changes.

Thanks a lot.


Sincerely,
Gour

--
In this endeavor there is no loss or diminution,
and a little advancement on this path can protect
one from the most dangerous type of fear.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

signature.asc (853 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 46] Re: upgrade procedure

David Herring
Roberto,

Have added the apache config for mayan...and it is now accessible via

http://backuppc.netfm.org:88/

admin / admin

But it appears that all pages give a server error:...

Page unavailable

Sorry, but the requested page is unavailable due to a server problem.

Administrators have been notified, so check back later.

Any ideas ?
Thx dave




On 24 January 2012 16:41, Gour <[hidden email]> wrote:

> On Mon, 23 Jan 2012 22:19:13 -0800 (PST)
> Roberto Rosario
> <[hidden email]>
> wrote:
>
>> Started changing the documentation format to include the release
>> notes for each version.  The notes include upgrade procedure, new
>> features, and backward incompatible changes.
>
> Thanks a lot.
>
>
> Sincerely,
> Gour
>
> --
> In this endeavor there is no loss or diminution,
> and a little advancement on this path can protect
> one from the most dangerous type of fear.
>
> http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810



--
David Herring
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 47] Re: upgrade procedure

rosarior
Administrator

Apache runs under the user www-data check the directories permission and give it read, write and execute access

On Jan 24, 2012 5:07 PM, "David Herring" <[hidden email]> wrote:
Roberto,

Have added the apache config for mayan...and it is now accessible via

http://backuppc.netfm.org:88/

admin / admin

But it appears that all pages give a server error:...

Page unavailable

Sorry, but the requested page is unavailable due to a server problem.

Administrators have been notified, so check back later.

Any ideas ?
Thx dave




On 24 January 2012 16:41, Gour <[hidden email]> wrote:
> On Mon, 23 Jan 2012 22:19:13 -0800 (PST)
> Roberto Rosario
> <[hidden email]>
> wrote:
>
>> Started changing the documentation format to include the release
>> notes for each version.  The notes include upgrade procedure, new
>> features, and backward incompatible changes.
>
> Thanks a lot.
>
>
> Sincerely,
> Gour
>
> --
> In this endeavor there is no loss or diminution,
> and a little advancement on this path can protect
> one from the most dangerous type of fear.
>
> http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810



--
David Herring
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 48] Re: upgrade procedure

David Herring
Ok... have this working .. added debug True flag to seetings.py and
could see some tables link documents..recent where not in databsde.
Ran ./manage.py syncdb --migrate ....  and these got created.

Now can access site fine..will start to play with the features....

Is there an easy way to batch / bulk upload a set of users ?

Dave

On 24 January 2012 21:20, Roberto Rosario Gonzalez
<[hidden email]> wrote:

> Apache runs under the user www-data check the directories permission and
> give it read, write and execute access
>
> On Jan 24, 2012 5:07 PM, "David Herring" <[hidden email]> wrote:
>>
>> Roberto,
>>
>> Have added the apache config for mayan...and it is now accessible via
>>
>> http://backuppc.netfm.org:88/
>>
>> admin / admin
>>
>> But it appears that all pages give a server error:...
>>
>> Page unavailable
>>
>> Sorry, but the requested page is unavailable due to a server problem.
>>
>> Administrators have been notified, so check back later.
>>
>> Any ideas ?
>> Thx dave
>>
>>
>>
>>
>> On 24 January 2012 16:41, Gour <[hidden email]> wrote:
>> > On Mon, 23 Jan 2012 22:19:13 -0800 (PST)
>> > Roberto Rosario
>> > <[hidden email]>
>> > wrote:
>> >
>> >> Started changing the documentation format to include the release
>> >> notes for each version.  The notes include upgrade procedure, new
>> >> features, and backward incompatible changes.
>> >
>> > Thanks a lot.
>> >
>> >
>> > Sincerely,
>> > Gour
>> >
>> > --
>> > In this endeavor there is no loss or diminution,
>> > and a little advancement on this path can protect
>> > one from the most dangerous type of fear.
>> >
>> > http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
>>
>>
>>
>> --
>> David Herring



--
David Herring
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 50] Re: upgrade procedure

rosarior
Administrator
At the moment no, but I posted an example how to connect to a Microsoft Active directory forest.  In what format do you have the user list, I think a simple CSV importer would be a good addition.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 163] Re: upgrade procedure

Rafael Monge
In reply to this post by rosarior
I have no idea how to do this, I'm getting "Page unvailable" in Documents, Tags, Folders, etc. Can you please post the instructions?

El martes, 24 de enero de 2012 15:20:00 UTC-6, Roberto Rosario escribió:

Apache runs under the user www-data check the directories permission and give it read, write and execute access

On Jan 24, 2012 5:07 PM, "David Herring" <[hidden email]> wrote:
Roberto,

Have added the apache config for mayan...and it is now accessible via

http://backuppc.netfm.org:88/

admin / admin

But it appears that all pages give a server error:...

Page unavailable

Sorry, but the requested page is unavailable due to a server problem.

Administrators have been notified, so check back later.

Any ideas ?
Thx dave




On 24 January 2012 16:41, Gour <[hidden email]> wrote:
> On Mon, 23 Jan 2012 22:19:13 -0800 (PST)
> Roberto Rosario
> <[hidden email]>
> wrote:
>
>> Started changing the documentation format to include the release
>> notes for each version.  The notes include upgrade procedure, new
>> features, and backward incompatible changes.
>
> Thanks a lot.
>
>
> Sincerely,
> Gour
>
> --
> In this endeavor there is no loss or diminution,
> and a little advancement on this path can protect
> one from the most dangerous type of fear.
>
> http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810



--
David Herring
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 164] Re: upgrade procedure

rosarior
Administrator
Hi, with what are you experiencing problems?  Installation, upgrade or Active Directory integration?

On Tue, May 8, 2012 at 2:42 PM, Rafael Monge <[hidden email]> wrote:
I have no idea how to do this, I'm getting "Page unvailable" in Documents, Tags, Folders, etc. Can you please post the instructions?

El martes, 24 de enero de 2012 15:20:00 UTC-6, Roberto Rosario escribió:

Apache runs under the user www-data check the directories permission and give it read, write and execute access

On Jan 24, 2012 5:07 PM, "David Herring" <[hidden email]> wrote:
Roberto,

Have added the apache config for mayan...and it is now accessible via

http://backuppc.netfm.org:88/

admin / admin

But it appears that all pages give a server error:...

Page unavailable

Sorry, but the requested page is unavailable due to a server problem.

Administrators have been notified, so check back later.

Any ideas ?
Thx dave




On 24 January 2012 16:41, Gour <[hidden email]> wrote:
> On Mon, 23 Jan 2012 22:19:13 -0800 (PST)
> Roberto Rosario
> <[hidden email]>
> wrote:
>
>> Started changing the documentation format to include the release
>> notes for each version.  The notes include upgrade procedure, new
>> features, and backward incompatible changes.
>
> Thanks a lot.
>
>
> Sincerely,
> Gour
>
> --
> In this endeavor there is no loss or diminution,
> and a little advancement on this path can protect
> one from the most dangerous type of fear.
>
> http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810



--
David Herring

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 166] Re: upgrade procedure

Rafael Monge
With installation.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 166] Re: upgrade procedure

rosarior
Administrator
Here is the link to the installation instructions:  http://mayan.readthedocs.org/en/development/intro/installation.html

On Tue, May 8, 2012 at 2:57 PM, Rafael Monge <[hidden email]> wrote:
With installation.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 168] Re: upgrade procedure

Rafael Monge
I already did it. I have one installation in a VM (Debian host) and I get the "Page Unavailable" error trying on Documents after the first image upload and no thumbnail is generated. After that, I have a second installation running on Debian but get "Page Unavailable" error in all pages, just the login and home are working. So I've read about the www-data user and 777 permissions but don't know how to do it, can you please provide me this steps? Thank you.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 169] Re: upgrade procedure

rosarior
Administrator
If you are using Apache on a Debian host the default webserver user is www-data, in that case doing this from the command line will fix the OS permissions:

chown www-data:www-data mayan -R

chmod 777 mayan -R


On Tuesday, May 8, 2012 3:06:46 PM UTC-4, Rafael Monge wrote:
I already did it. I have one installation in a VM (Debian host) and I get the "Page Unavailable" error trying on Documents after the first image upload and no thumbnail is generated. After that, I have a second installation running on Debian but get "Page Unavailable" error in all pages, just the login and home are working. So I've read about the www-data user and 777 permissions but don't know how to do it, can you please provide me this steps? Thank you.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 171] Re: upgrade procedure

Rafael Monge
Still not working, getting same error. 2 tries / 2 fails I really want to test Mayan EDMS, it looks cool.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 172] Re: upgrade procedure

rosarior
Administrator
Create a file called settings_local.py with this content:

DEBUG=True
DEVELOPMENT=True

and run this command:

./manage.py runserver

Connect with your browser at http://127.0.0.1:8000 and copy/paste here the expanded error message.


On Tuesday, May 8, 2012 3:38:46 PM UTC-4, Rafael Monge wrote:
Still not working, getting same error. 2 tries / 2 fails I really want to test Mayan EDMS, it looks cool.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 173] Re: upgrade procedure

Rafael Monge

DatabaseError at /documents/list/recent/

(1146, "Table 'mayan.permissions_storedpermission' doesn't exist")
Request Method:GET
Request URL:http://127.0.0.1:8000/documents/list/recent/
Django Version:1.3.1
Exception Type:DatabaseError
Exception Value:
(1146, "Table 'mayan.permissions_storedpermission' doesn't exist")
Exception Location:/usr/local/lib/python2.6/dist-packages/MySQLdb/connections.py in defaulterrorhandler, line 36
Python Executable:/usr/bin/python
Python Version:2.6.6
Python Path:
['/usr/share/mayan/mayan',
 '/usr/share/mayan/mayan/src/django-mptt',
 '/usr/share/mayan/mayan/src/django-sendfile',
 '/usr/share/mayan/mayan/src/python-magic',
 '/usr/lib/python2.6',
 '/usr/lib/python2.6/plat-linux2',
 '/usr/lib/python2.6/lib-tk',
 '/usr/lib/python2.6/lib-old',
 '/usr/lib/python2.6/lib-dynload',
 '/usr/local/lib/python2.6/dist-packages',
 '/usr/lib/python2.6/dist-packages',
 '/usr/lib/python2.6/dist-packages/PIL',
 '/usr/lib/python2.6/dist-packages/gst-0.10',
 '/usr/lib/pymodules/python2.6',
 '/usr/lib/pymodules/python2.6/gtk-2.0',
 '/usr/share/mayan/mayan/modules',
 '/usr/share/mayan/mayan/customization_apps',
 '/usr/share/mayan/mayan/apps',
 '/usr/share/mayan/mayan/shared_apps',
 '/usr/share/mayan/mayan/3rd_party_apps',
 '/usr/share/mayan/mayan/modules',
 '/usr/share/mayan/mayan/customization_apps',
 '/usr/share/mayan/mayan/apps',
 '/usr/share/mayan/mayan/shared_apps',
 '/usr/share/mayan/mayan/3rd_party_apps']
Server time:mar, 8 May 2012 13:46:57 -0600

Traceback Switch to copy-and-paste view

  • /usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py in get_response
    1.                         response = callback(request, *callback_args, **callback_kwargs)
      ...
  • /usr/share/mayan/mayan/apps/documents/views.py in document_list_recent
    1.             'recent_count': RECENT_COUNT
      ...
  • /usr/share/mayan/mayan/apps/documents/views.py in document_list
    1.         Permission.objects.check_permissions(request.user, [PERMISSION_DOCUMENT_VIEW])
      ...
  • /usr/share/mayan/mayan/apps/permissions/models.py in check_permissions
    1.             if permission.requester_has_this(requester):
      ...
  • /usr/share/mayan/mayan/apps/permissions/models.py in requester_has_this
    1.         stored_permission = self.get_stored_permission()
      ...
  • /usr/share/mayan/mayan/apps/permissions/models.py in get_stored_permission
    1.             name=self.name,
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/manager.py in get_or_create
    1.         return self.get_query_set().get_or_create(**kwargs)
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/query.py in get_or_create
    1.             return self.get(**lookup), False
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/query.py in get
    1.         num = len(clone)
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/query.py in __len__
    1.                 self._result_cache = list(self.iterator())
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/query.py in iterator
    1.         for row in compiler.results_iter():
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py in results_iter
    1.         for rows in self.execute_sql(MULTI):
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py in execute_sql
    1.         cursor.execute(sql, params)
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/backends/util.py in execute
    1.             return self.cursor.execute(sql, params)
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/backends/mysql/base.py in execute
    1.             return self.cursor.execute(query, args)
      ...
  • /usr/local/lib/python2.6/dist-packages/MySQLdb/cursors.py in execute
    1.             self.errorhandler(self, exc, value)
      ...
  • /usr/local/lib/python2.6/dist-packages/MySQLdb/connections.py in defaulterrorhandler
    1.     raise errorclass, errorvalue
      ...

Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

VariableValue
csrftoken
'7ae858af7714cc92b096e12a732952ff'
sessionid
'37801dd63a24636c9ff2f121330acd1d'

META

VariableValue
GDM_KEYBOARD_LAYOUT
'latam'
wsgi.multiprocess
False
RUN_MAIN
'true'
HTTP_REFERER
'http://127.0.0.1:8000/'
GNOME_DESKTOP_SESSION_ID
'this-is-deprecated'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.6.6'
WINDOWPATH
'7'
REQUEST_METHOD
'GET'
LOGNAME
'root'
USER
'root'
GNOME_KEYRING_CONTROL
'/tmp/keyring-FsDwE7'
QUERY_STRING
''
PATH
'/home/server/mayan/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
PS1
'(mayan)${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$ '
DISPLAY
':0.0'
SSH_AGENT_PID
'3098'
LANG
'es_SV.UTF-8'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
TERM
'xterm'
SHELL
'/bin/bash'
TZ
'America/El_Salvador'
XDG_SESSION_COOKIE
'fd9690846e71915d774e09ee00000006-1336497750.438988-1106139630'
LANGUAGE
'es_SV:es'
SESSION_MANAGER
'local/save-solutions:@/tmp/.ICE-unix/3062,unix/save-solutions:/tmp/.ICE-unix/3062'
SHLVL
'2'
wsgi.url_scheme
'http'
WINDOWID
'71303171'
_
'./manage.py'
SERVER_PORT
'8000'
GPG_AGENT_INFO
'/tmp/seahorse-RaZCdD/S.gpg-agent:3112:1'
HOME
'/root'
USERNAME
'server'
CONTENT_LENGTH
''
COLORTERM
'gnome-terminal'
CONTENT_TYPE
'text/plain'
SSH_AUTH_SOCK
'/tmp/keyring-FsDwE7/ssh'
VIRTUAL_ENV
'/home/server/mayan'
GDMSESSION
'default'
REMOTE_ADDR
'127.0.0.1'
HTTP_USER_AGENT
'Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19'
HTTP_HOST
'127.0.0.1:8000'
SCRIPT_NAME
u''
wsgi.multithread
True
HTTP_CONNECTION
'keep-alive'
ORBIT_SOCKETDIR
'/tmp/orbit-root'
GNOME_KEYRING_PID
'3043'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
DESKTOP_SESSION
'default'
wsgi.version
(1, 0)
GTK_MODULES
'canberra-gtk-module'
SERVER_NAME
'localhost'
wsgi.run_once
False
CSRF_COOKIE
'7ae858af7714cc92b096e12a732952ff'
OLDPWD
'/usr/share/mayan/mayan/wsgi'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_LANGUAGE
'es-419,es;q=0.8'
GDM_LANG
'es_SV.utf8'
wsgi.errors
<open file '<stderr>', mode 'w' at 0xb74510d0>
XAUTHORITY
'/tmp/libgksu-dgv6CZ/.Xauthority'
XDG_DATA_DIRS
'/usr/share/gnome:/usr/share/gdm/:/usr/local/share/:/usr/share/'
PWD
'/usr/share/mayan/mayan'
DJANGO_SETTINGS_MODULE
'mayan.settings'
wsgi.input
<socket._fileobject object at 0x8e00b2c>
GTK_RC_FILES
'/etc/gtk/gtkrc:/home/server/.gtkrc-1.2-gnome2'
MAIL
'/var/mail/root'
wsgi.file_wrapper
''
REMOTE_HOST
''
HTTP_ACCEPT_ENCODING
'gzip,deflate,sdch'
HTTP_COOKIE
'sessionid=37801dd63a24636c9ff2f121330acd1d; csrftoken=7ae858af7714cc92b096e12a732952ff'
PATH_INFO
u'/documents/list/recent/'

Settings

Using settings module mayan.settings

SettingValue
COMPRESS_URL
'/mayan-static/'
COMPRESS_OUTPUT_DIR
'CACHE'
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
USE_L10N
True
COMPRESS_DATA_URI_MAX_SIZE
1024
LANGUAGE_CODE
'es'
ROOT_URLCONF
'urls'
MANAGERS
()
COMPRESS_CSS_HASHING_METHOD
'mtime'
DEFAULT_CHARSET
'utf-8'
PROJECT_TITLE
'Mayan EDMS'
STATIC_ROOT
'/usr/share/mayan/mayan/static/'
COMPRESS_CLOSURE_COMPILER_ARGUMENTS
''
USE_THOUSAND_SEPARATOR
False
COMPRESS_OFFLINE_MANIFEST
'manifest.json'
MESSAGE_STORAGE
'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
DATABASE_HOST
''
COMPRESS_YUI_JS_ARGUMENTS
''
SEND_BROKEN_LINK_EMAILS
False
URL_VALIDATOR_USER_AGENT
'Django/1.3.1 (http://www.djangoproject.com)'
PAGINATION_INVALID_PAGE_RAISES_404
True
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
 'compressor.finders.CompressorFinder')
COMPRESS_CSSTIDY_ARGUMENTS
'--template=highest'
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
WSGI_AUTO_RELOAD
True
ADMIN_FOR
()
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
DATABASES
{'default': {'ENGINE': 'django.db.backends.mysql',
             'HOST': '',
             'NAME': 'mayan',
             'OPTIONS': {},
             'PASSWORD': '********************',
             'PORT': '',
             'TEST_CHARSET': None,
             'TEST_COLLATION': None,
             'TEST_MIRROR': None,
             'TEST_NAME': None,
             'TIME_ZONE': 'America/El_Salvador',
             'USER': 'root'}}
TEST_DATABASE_NAME
None
COMPRESS_YUI_BINARY
'java -jar yuicompressor.jar'
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
DEFAULT_CONTENT_TYPE
'text/html'
COMPRESS_CSS_COMPRESSOR
'compressor.css.CssCompressor'
APPEND_SLASH
True
FIRST_DAY_OF_WEEK
0
DATABASE_ROUTERS
[]
YEAR_MONTH_FORMAT
'F Y'
COMPRESS_OFFLINE_TIMEOUT
31536000
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
             'LOCATION': ''}}
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_PATH
'/'
COMPRESS_PARSER
'compressor.parser.HtmlParser'
COMPRESS_OFFLINE_CONTEXT
{'MEDIA_URL': '', 'STATIC_URL': '/mayan-static/'}
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
COMPRESS_CACHE_BACKEND
'default'
MIDDLEWARE_CLASSES
('common.middleware.strip_spaces_widdleware.SpacelessMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'common.middleware.login_required_middleware.LoginRequiredMiddleware',
 'permissions.middleware.permission_denied_middleware.PermissionDeniedMiddleware',
 'pagination.middleware.PaginationMiddleware')
USE_I18N
True
THOUSAND_SEPARATOR
','
SECRET_KEY
'********************'
LANGUAGE_COOKIE_NAME
'django_language'
DEFAULT_INDEX_TABLESPACE
''
TRANSACTIONS_MANAGED
False
LOGGING_CONFIG
'django.utils.log.dictConfig'
WEB_THEME_ENABLE_SCROLL_JS
False
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader')
TEMPLATE_DEBUG
False
CSRF_COOKIE_NAME
'csrftoken'
TEST_DATABASE_COLLATION
None
FORCE_SCRIPT_NAME
None
CACHE_BACKEND
'locmem://'
COMPRESS_CSSTIDY_BINARY
'csstidy'
USE_X_FORWARDED_HOST
False
SESSION_COOKIE_SECURE
False
COMPRESS_DEBUG_TOGGLE
'None'
COMPRESS_VERBOSE
False
CSRF_COOKIE_DOMAIN
None
FILE_CHARSET
'utf-8'
DEBUG
True
SESSION_FILE_PATH
None
COMPRESS_JS_FILTERS
['compressor.filters.jsmin.JSMinFilter']
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.admin',
 'django.contrib.admindocs',
 'django.contrib.comments',
 'django.contrib.staticfiles',
 'south',
 'filetransfers',
 'taggit',
 'mptt',
 'compressor',
 'djangorestframework',
 'permissions',
 'project_setup',
 'project_tools',
 'smart_settings',
 'navigation',
 'lock_manager',
 'web_theme',
 'pagination',
 'common',
 'django_gpg',
 'dynamic_search',
 'acls',
 'converter',
 'user_management',
 'mimetype',
 'scheduler',
 'job_processor',
 'feedback',
 'storage',
 'folders',
 'tags',
 'document_comments',
 'metadata',
 'documents',
 'linking',
 'document_indexing',
 'document_acls',
 'ocr',
 'sources',
 'history',
 'main',
 'rest_api',
 'document_signatures',
 'signaler']
LANGUAGES_BIDI
('he', 'ar', 'fa')
DATABASE_ENGINE
''
COMPRESS_YUI_CSS_ARGUMENTS
''
DATABASE_NAME
''
COMMENTS_FIRST_FEW
0
PREPEND_WWW
False
TEST_DATABASE_CHARSET
None
SESSION_COOKIE_HTTPONLY
False
DATABASE_PORT
''
DEBUG_PROPAGATE_EXCEPTIONS
False
MONTH_DAY_FORMAT
'F j'
LOGIN_URL
'/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
TIME_FORMAT
'P'
COMPRESS_STORAGE
'compressor.storage.CompressorFileStorage'
DATE_INPUT_FORMATS
('%Y-%m-%d',
 '%m/%d/%Y',
 '%m/%d/%y',
 '%b %d %Y',
 '%b %d, %Y',
 '%d %b %Y',
 '%d %b, %Y',
 '%B %d %Y',
 '%B %d, %Y',
 '%d %B %Y',
 '%d %B, %Y')
COMPRESS_CSS_FILTERS
['compressor.filters.css_default.CssAbsoluteFilter',
 'compressor.filters.cssmin.CSSMinFilter']
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
EMAIL_HOST_PASSWORD
'********************'
COMPRESS_REBUILD_TIMEOUT
2592000
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
CACHE_MIDDLEWARE_ALIAS
'default'
SESSION_SAVE_EVERY_REQUEST
False
ADMIN_MEDIA_PREFIX
'/mayan-static/admin/'
NUMBER_GROUPING
0
SESSION_ENGINE
'django.contrib.sessions.backends.db'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
COMMENTS_SKETCHY_USERS_GROUP
None
COMPRESS_CACHE_KEY_FUNCTION
'compressor.cache.simple_cachekey'
LOGIN_REDIRECT_URL
'/'
PROJECT_ROOT
'/usr/share/mayan/mayan'
DECIMAL_SEPARATOR
'.'
COMPRESS_PRECOMPILERS
()
COMPRESS_MTIME_DELAY
10
SITE_ID
1
LOCALE_PATHS
()
TEMPLATE_STRING_IF_INVALID
''
COMMENTS_ALLOW_PROFANITIES
False
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
False
TEMPLATE_DIRS
()
FIXTURE_DIRS
()
EMAIL_HOST
'localhost'
DATE_FORMAT
'N j, Y'
MEDIA_ROOT
''
ADMINS
()
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'webmaster@localhost'
COMPRESS_ROOT
'/usr/share/mayan/mayan/static'
STATICFILES_DIRS
()
MEDIA_URL
''
DATETIME_FORMAT
'N j, Y, P'
EMAIL_SUBJECT_PREFIX
'[Django] '
SEARCH_SHOW_OBJECT_TYPE
False
COMPRESS_JS_COMPRESSOR
'compressor.js.JsCompressor'
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
SENDFILE_BACKEND
'sendfile.backends.simple'
LOGIN_EXEMPT_URLS
('^favicon\\.ico$',
 '^about\\.html$',
 '^legal/',
 '^mayan-static/',
 '^accounts/register/$',
 '^accounts/register/complete/$',
 '^accounts/register/closed/$',
 '^accounts/activate/complete/',
 '^accounts/activate/(?P<activation_key>\\w+)/$',
 '^password/reset/$',
 '^password/reset/confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
 '^password/reset/complete/$',
 '^password/reset/done/$')
COMPRESS_MINT_DELAY
30
LOGGING
{'disable_existing_loggers': False,
 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
                              'level': 'ERROR'}},
 'loggers': {'django.request': {'handlers': ['mail_admins'],
                                'level': 'ERROR',
                                'propagate': True}},
 'version': 1}
SHORT_DATE_FORMAT
'm/d/Y'
DATABASE_USER
''
PROJECT_NAME
'mayan'
TEST_RUNNER
'django.test.simple.DjangoTestSuiteRunner'
COMPRESS_ENABLED
False
CACHE_MIDDLEWARE_KEY_PREFIX
''
COMPRESS_OFFLINE
False
TIME_ZONE
'America/El_Salvador'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
DEFAULT_TABLESPACE
''
TEMPLATE_CONTEXT_PROCESSORS
('django.contrib.auth.context_processors.auth',
 'django.core.context_processors.i18n',
 'django.core.context_processors.static',
 'django.core.context_processors.request',
 'django.core.context_processors.debug')
SESSION_COOKIE_AGE
1209600
SETTINGS_MODULE
'mayan.settings'
USE_ETAGS
False
LANGUAGES
(('en', 'English'),
 ('es', 'Spanish'),
 ('pt', 'Portuguese'),
 ('ru', 'Russian'),
 ('it', 'Italian'),
 ('pl', 'Polish'))
COMPRESS_CLOSURE_COMPILER_BINARY
'java -jar compiler.jar'
FILE_UPLOAD_TEMP_DIR
None
INTERNAL_IPS
('127.0.0.1',)
STATIC_URL
'/mayan-static/'
EMAIL_PORT
25
SHORT_DATETIME_FORMAT
'm/d/Y P'
DEVELOPMENT
True
ABSOLUTE_URL_OVERRIDES
{}
DATABASE_OPTIONS
{}
CACHE_MIDDLEWARE_SECONDS
600
BANNED_IPS
()
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S',
 '%Y-%m-%d %H:%M',
 '%Y-%m-%d',
 '%m/%d/%Y %H:%M:%S',
 '%m/%d/%Y %H:%M',
 '%m/%d/%Y',
 '%m/%d/%y %H:%M:%S',
 '%m/%d/%y %H:%M',
 '%m/%d/%y')
DATABASE_PASSWORD
'********************'
COMMENTS_MODERATORS_GROUP
None
PROFANITIES_LIST
'********************'
EMAIL_HOST_USER
''
COMMENTS_BANNED_USERS_GROUP
None
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 173] Re: upgrade procedure

rosarior
Administrator
Some database table did not create for some reason, repeat these steps and post any errors produced along with the database manager you are using and the table type if using MySQL (InnoDB, MyISAM, etc):

./manage.py syncdb

./manage.py migrate


On Tue, May 8, 2012 at 3:49 PM, Rafael Monge <[hidden email]> wrote:

DatabaseError at /documents/list/recent/

(1146, "Table 'mayan.permissions_storedpermission' doesn't exist")
Request Method: GET
Request URL: http://127.0.0.1:8000/documents/list/recent/
Django Version:1.3.1
Exception Type:DatabaseError
Exception Value:
(1146, "Table 'mayan.permissions_storedpermission' doesn't exist")
Exception Location: /usr/local/lib/python2.6/dist-packages/MySQLdb/connections.py in defaulterrorhandler, line 36
Python Executable:/usr/bin/python
Python Version:2.6.6
Python Path:
['/usr/share/mayan/mayan',
 '/usr/share/mayan/mayan/src/django-mptt',
 '/usr/share/mayan/mayan/src/django-sendfile',
 '/usr/share/mayan/mayan/src/python-magic',
 '/usr/lib/python2.6',
 '/usr/lib/python2.6/plat-linux2',
 '/usr/lib/python2.6/lib-tk',
 '/usr/lib/python2.6/lib-old',
 '/usr/lib/python2.6/lib-dynload',
 '/usr/local/lib/python2.6/dist-packages',
 '/usr/lib/python2.6/dist-packages',
 '/usr/lib/python2.6/dist-packages/PIL',
 '/usr/lib/python2.6/dist-packages/gst-0.10',
 '/usr/lib/pymodules/python2.6',
 '/usr/lib/pymodules/python2.6/gtk-2.0',
 '/usr/share/mayan/mayan/modules',
 '/usr/share/mayan/mayan/customization_apps',
 '/usr/share/mayan/mayan/apps',
 '/usr/share/mayan/mayan/shared_apps',
 '/usr/share/mayan/mayan/3rd_party_apps',
 '/usr/share/mayan/mayan/modules',
 '/usr/share/mayan/mayan/customization_apps',
 '/usr/share/mayan/mayan/apps',
 '/usr/share/mayan/mayan/shared_apps',
 '/usr/share/mayan/mayan/3rd_party_apps']
Server time:mar, 8 May 2012 13:46:57 -0600

Traceback Switch to copy-and-paste view

  • /usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py in get_response
    1.                         response = callback(request, *callback_args, **callback_kwargs)
      ...
  • /usr/share/mayan/mayan/apps/documents/views.py in document_list_recent
    1.             'recent_count': RECENT_COUNT
      ...
  • /usr/share/mayan/mayan/apps/documents/views.py in document_list
    1.         Permission.objects.check_permissions(request.user, [PERMISSION_DOCUMENT_VIEW])
      ...
  • /usr/share/mayan/mayan/apps/permissions/models.py in check_permissions
    1.             if permission.requester_has_this(requester):
      ...
  • /usr/share/mayan/mayan/apps/permissions/models.py in requester_has_this
    1.         stored_permission = self.get_stored_permission()
      ...
  • /usr/share/mayan/mayan/apps/permissions/models.py in get_stored_permission
    1.             name=self.name,
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/manager.py in get_or_create
    1.         return self.get_query_set().get_or_create(**kwargs)
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/query.py in get_or_create
    1.             return self.get(**lookup), False
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/query.py in get
    1.         num = len(clone)
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/query.py in __len__
    1.                 self._result_cache = list(self.iterator())
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/query.py in iterator
    1.         for row in compiler.results_iter():
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py in results_iter
    1.         for rows in self.execute_sql(MULTI):
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/models/sql/compiler.py in execute_sql
    1.         cursor.execute(sql, params)
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/backends/util.py in execute
    1.             return self.cursor.execute(sql, params)
      ...
  • /usr/local/lib/python2.6/dist-packages/django/db/backends/mysql/base.py in execute
    1.             return self.cursor.execute(query, args)
      ...
  • /usr/local/lib/python2.6/dist-packages/MySQLdb/cursors.py in execute
    1.             self.errorhandler(self, exc, value)
      ...
  • /usr/local/lib/python2.6/dist-packages/MySQLdb/connections.py in defaulterrorhandler
    1.     raise errorclass, errorvalue
      ...
<form action="http://dpaste.com/" name="1372dff7a8e52005_pasteform" method="post" target="_blank" onsubmit="return window.confirm(&quot;You are submitting information to an external page.\nAre you sure?&quot;);">

Request information

GET

No GET data

POST

No POST data

FILES

No FILES data

COOKIES

Variable Value
csrftoken
'7ae858af7714cc92b096e12a732952ff'
sessionid
'37801dd63a24636c9ff2f121330acd1d'

META

Variable Value
GDM_KEYBOARD_LAYOUT
'latam'
wsgi.multiprocess
False
RUN_MAIN
'true'
HTTP_REFERER
'http://127.0.0.1:8000/'
GNOME_DESKTOP_SESSION_ID
'this-is-deprecated'
SERVER_PROTOCOL
'HTTP/1.1'
SERVER_SOFTWARE
'WSGIServer/0.1 Python/2.6.6'
WINDOWPATH
'7'
REQUEST_METHOD
'GET'
LOGNAME
'root'
USER
'root'
GNOME_KEYRING_CONTROL
'/tmp/keyring-FsDwE7'
QUERY_STRING
''
PATH
'/home/server/mayan/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
PS1
'(mayan)${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$ '
DISPLAY
':0.0'
SSH_AGENT_PID
'3098'
LANG
'es_SV.UTF-8'
HTTP_ACCEPT_CHARSET
'ISO-8859-1,utf-8;q=0.7,*;q=0.3'
TERM
'xterm'
SHELL
'/bin/bash'
TZ
'America/El_Salvador'
XDG_SESSION_COOKIE
'fd9690846e71915d774e09ee00000006-1336497750.438988-1106139630'
LANGUAGE
'es_SV:es'
SESSION_MANAGER
'local/save-solutions:@/tmp/.ICE-unix/3062,unix/save-solutions:/tmp/.ICE-unix/3062'
SHLVL
'2'
wsgi.url_scheme
'http'
WINDOWID
'71303171'
_
'./manage.py'
SERVER_PORT
'8000'
GPG_AGENT_INFO
'/tmp/seahorse-RaZCdD/S.gpg-agent:3112:1'
HOME
'/root'
USERNAME
'server'
CONTENT_LENGTH
''
COLORTERM
'gnome-terminal'
CONTENT_TYPE
'text/plain'
SSH_AUTH_SOCK
'/tmp/keyring-FsDwE7/ssh'
VIRTUAL_ENV
'/home/server/mayan'
GDMSESSION
'default'
REMOTE_ADDR
'127.0.0.1'
HTTP_USER_AGENT
'Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19'
HTTP_HOST
'127.0.0.1:8000'
SCRIPT_NAME
u''
wsgi.multithread
True
HTTP_CONNECTION
'keep-alive'
ORBIT_SOCKETDIR
'/tmp/orbit-root'
GNOME_KEYRING_PID
'3043'
HTTP_ACCEPT
'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
DESKTOP_SESSION
'default'
wsgi.version
(1, 0)
GTK_MODULES
'canberra-gtk-module'
SERVER_NAME
'localhost'
wsgi.run_once
False
CSRF_COOKIE
'7ae858af7714cc92b096e12a732952ff'
OLDPWD
'/usr/share/mayan/mayan/wsgi'
GATEWAY_INTERFACE
'CGI/1.1'
HTTP_ACCEPT_LANGUAGE
'es-419,es;q=0.8'
GDM_LANG
'es_SV.utf8'
wsgi.errors
<open file '<stderr>', mode 'w' at 0xb74510d0>
XAUTHORITY
'/tmp/libgksu-dgv6CZ/.Xauthority'
XDG_DATA_DIRS
'/usr/share/gnome:/usr/share/gdm/:/usr/local/share/:/usr/share/'
PWD
'/usr/share/mayan/mayan'
DJANGO_SETTINGS_MODULE
'mayan.settings'
wsgi.input
<socket._fileobject object at 0x8e00b2c>
GTK_RC_FILES
'/etc/gtk/gtkrc:/home/server/.gtkrc-1.2-gnome2'
MAIL
'/var/mail/root'
wsgi.file_wrapper
''
REMOTE_HOST
''
HTTP_ACCEPT_ENCODING
'gzip,deflate,sdch'
HTTP_COOKIE
'sessionid=37801dd63a24636c9ff2f121330acd1d; csrftoken=7ae858af7714cc92b096e12a732952ff'
PATH_INFO
u'/documents/list/recent/'

Settings

Using settings module mayan.settings

Setting Value
COMPRESS_URL
'/mayan-static/'
COMPRESS_OUTPUT_DIR
'CACHE'
IGNORABLE_404_STARTS
('/cgi-bin/', '/_vti_bin', '/_vti_inf')
USE_L10N
True
COMPRESS_DATA_URI_MAX_SIZE
1024
LANGUAGE_CODE
'es'
ROOT_URLCONF
'urls'
MANAGERS
()
COMPRESS_CSS_HASHING_METHOD
'mtime'
DEFAULT_CHARSET
'utf-8'
PROJECT_TITLE
'Mayan EDMS'
STATIC_ROOT
'/usr/share/mayan/mayan/static/'
COMPRESS_CLOSURE_COMPILER_ARGUMENTS
''
USE_THOUSAND_SEPARATOR
False
COMPRESS_OFFLINE_MANIFEST
'manifest.json'
MESSAGE_STORAGE
'django.contrib.messages.storage.user_messages.LegacyFallbackStorage'
DATABASE_HOST
''
COMPRESS_YUI_JS_ARGUMENTS
''
SEND_BROKEN_LINK_EMAILS
False
URL_VALIDATOR_USER_AGENT
'Django/1.3.1 (http://www.djangoproject.com)'
PAGINATION_INVALID_PAGE_RAISES_404
True
STATICFILES_FINDERS
('django.contrib.staticfiles.finders.FileSystemFinder',
 'django.contrib.staticfiles.finders.AppDirectoriesFinder',
 'compressor.finders.CompressorFinder')
COMPRESS_CSSTIDY_ARGUMENTS
'--template=highest'
SESSION_COOKIE_DOMAIN
None
SESSION_COOKIE_NAME
'sessionid'
WSGI_AUTO_RELOAD
True
ADMIN_FOR
()
TIME_INPUT_FORMATS
('%H:%M:%S', '%H:%M')
DATABASES
{'default': {'ENGINE': 'django.db.backends.mysql',
             'HOST': '',
             'NAME': 'mayan',
             'OPTIONS': {},
             'PASSWORD': '********************',
             'PORT': '',
             'TEST_CHARSET': None,
             'TEST_COLLATION': None,
             'TEST_MIRROR': None,
             'TEST_NAME': None,
             'TIME_ZONE': 'America/El_Salvador',
             'USER': 'root'}}
TEST_DATABASE_NAME
None
COMPRESS_YUI_BINARY
'java -jar yuicompressor.jar'
FILE_UPLOAD_PERMISSIONS
None
FILE_UPLOAD_HANDLERS
('django.core.files.uploadhandler.MemoryFileUploadHandler',
 'django.core.files.uploadhandler.TemporaryFileUploadHandler')
DEFAULT_CONTENT_TYPE
'text/html'
COMPRESS_CSS_COMPRESSOR
'compressor.css.CssCompressor'
APPEND_SLASH
True
FIRST_DAY_OF_WEEK
0
DATABASE_ROUTERS
[]
YEAR_MONTH_FORMAT
'F Y'
COMPRESS_OFFLINE_TIMEOUT
31536000
STATICFILES_STORAGE
'django.contrib.staticfiles.storage.StaticFilesStorage'
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
             'LOCATION': ''}}
SERVER_EMAIL
'root@localhost'
SESSION_COOKIE_PATH
'/'
COMPRESS_PARSER
'compressor.parser.HtmlParser'
COMPRESS_OFFLINE_CONTEXT
{'MEDIA_URL': '', 'STATIC_URL': '/mayan-static/'}
IGNORABLE_404_ENDS
('mail.pl', 'mailform.pl', 'mail.cgi', 'mailform.cgi', 'favicon.ico', '.php')
COMPRESS_CACHE_BACKEND
'default'
MIDDLEWARE_CLASSES
('common.middleware.strip_spaces_widdleware.SpacelessMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'common.middleware.login_required_middleware.LoginRequiredMiddleware',
 'permissions.middleware.permission_denied_middleware.PermissionDeniedMiddleware',
 'pagination.middleware.PaginationMiddleware')
USE_I18N
True
THOUSAND_SEPARATOR
','
SECRET_KEY
'********************'
LANGUAGE_COOKIE_NAME
'django_language'
DEFAULT_INDEX_TABLESPACE
''
TRANSACTIONS_MANAGED
False
LOGGING_CONFIG
'django.utils.log.dictConfig'
WEB_THEME_ENABLE_SCROLL_JS
False
TEMPLATE_LOADERS
('django.template.loaders.filesystem.Loader',
 'django.template.loaders.app_directories.Loader')
TEMPLATE_DEBUG
False
CSRF_COOKIE_NAME
'csrftoken'
TEST_DATABASE_COLLATION
None
FORCE_SCRIPT_NAME
None
CACHE_BACKEND
'locmem://'
COMPRESS_CSSTIDY_BINARY
'csstidy'
USE_X_FORWARDED_HOST
False
SESSION_COOKIE_SECURE
False
COMPRESS_DEBUG_TOGGLE
'None'
COMPRESS_VERBOSE
False
CSRF_COOKIE_DOMAIN
None
FILE_CHARSET
'utf-8'
DEBUG
True
SESSION_FILE_PATH
None
COMPRESS_JS_FILTERS
['compressor.filters.jsmin.JSMinFilter']
DEFAULT_FILE_STORAGE
'django.core.files.storage.FileSystemStorage'
INSTALLED_APPS
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.admin',
 'django.contrib.admindocs',
 'django.contrib.comments',
 'django.contrib.staticfiles',
 'south',
 'filetransfers',
 'taggit',
 'mptt',
 'compressor',
 'djangorestframework',
 'permissions',
 'project_setup',
 'project_tools',
 'smart_settings',
 'navigation',
 'lock_manager',
 'web_theme',
 'pagination',
 'common',
 'django_gpg',
 'dynamic_search',
 'acls',
 'converter',
 'user_management',
 'mimetype',
 'scheduler',
 'job_processor',
 'feedback',
 'storage',
 'folders',
 'tags',
 'document_comments',
 'metadata',
 'documents',
 'linking',
 'document_indexing',
 'document_acls',
 'ocr',
 'sources',
 'history',
 'main',
 'rest_api',
 'document_signatures',
 'signaler']
LANGUAGES_BIDI
('he', 'ar', 'fa')
DATABASE_ENGINE
''
COMPRESS_YUI_CSS_ARGUMENTS
''
DATABASE_NAME
''
COMMENTS_FIRST_FEW
0
PREPEND_WWW
False
TEST_DATABASE_CHARSET
None
SESSION_COOKIE_HTTPONLY
False
DATABASE_PORT
''
DEBUG_PROPAGATE_EXCEPTIONS
False
MONTH_DAY_FORMAT
'F j'
LOGIN_URL
'/login/'
SESSION_EXPIRE_AT_BROWSER_CLOSE
False
TIME_FORMAT
'P'
COMPRESS_STORAGE
'compressor.storage.CompressorFileStorage'
DATE_INPUT_FORMATS
('%Y-%m-%d',
 '%m/%d/%Y',
 '%m/%d/%y',
 '%b %d %Y',
 '%b %d, %Y',
 '%d %b %Y',
 '%d %b, %Y',
 '%B %d %Y',
 '%B %d, %Y',
 '%d %B %Y',
 '%d %B, %Y')
COMPRESS_CSS_FILTERS
['compressor.filters.css_default.CssAbsoluteFilter',
 'compressor.filters.cssmin.CSSMinFilter']
AUTHENTICATION_BACKENDS
('django.contrib.auth.backends.ModelBackend',)
EMAIL_HOST_PASSWORD
'********************'
COMPRESS_REBUILD_TIMEOUT
2592000
PASSWORD_RESET_TIMEOUT_DAYS
'********************'
CACHE_MIDDLEWARE_ALIAS
'default'
SESSION_SAVE_EVERY_REQUEST
False
ADMIN_MEDIA_PREFIX
'/mayan-static/admin/'
NUMBER_GROUPING
0
SESSION_ENGINE
'django.contrib.sessions.backends.db'
CSRF_FAILURE_VIEW
'django.views.csrf.csrf_failure'
COMMENTS_SKETCHY_USERS_GROUP
None
COMPRESS_CACHE_KEY_FUNCTION
'compressor.cache.simple_cachekey'
LOGIN_REDIRECT_URL
'/'
PROJECT_ROOT
'/usr/share/mayan/mayan'
DECIMAL_SEPARATOR
'.'
COMPRESS_PRECOMPILERS
()
COMPRESS_MTIME_DELAY
10
SITE_ID
1
LOCALE_PATHS
()
TEMPLATE_STRING_IF_INVALID
''
COMMENTS_ALLOW_PROFANITIES
False
LOGOUT_URL
'/accounts/logout/'
EMAIL_USE_TLS
False
TEMPLATE_DIRS
()
FIXTURE_DIRS
()
EMAIL_HOST
'localhost'
DATE_FORMAT
'N j, Y'
MEDIA_ROOT
''
ADMINS
()
FORMAT_MODULE_PATH
None
DEFAULT_FROM_EMAIL
'webmaster@localhost'
COMPRESS_ROOT
'/usr/share/mayan/mayan/static'
STATICFILES_DIRS
()
MEDIA_URL
''
DATETIME_FORMAT
'N j, Y, P'
EMAIL_SUBJECT_PREFIX
'[Django] '
SEARCH_SHOW_OBJECT_TYPE
False
COMPRESS_JS_COMPRESSOR
'compressor.js.JsCompressor'
DISALLOWED_USER_AGENTS
()
ALLOWED_INCLUDE_ROOTS
()
SENDFILE_BACKEND
'sendfile.backends.simple'
LOGIN_EXEMPT_URLS
('^favicon\\.ico$',
 '^about\\.html$',
 '^legal/',
 '^mayan-static/',
 '^accounts/register/$',
 '^accounts/register/complete/$',
 '^accounts/register/closed/$',
 '^accounts/activate/complete/',
 '^accounts/activate/(?P<activation_key>\\w+)/$',
 '^password/reset/$',
 '^password/reset/confirm/(?P<uidb36>[0-9A-Za-z]+)-(?P<token>.+)/$',
 '^password/reset/complete/$',
 '^password/reset/done/$')
COMPRESS_MINT_DELAY
30
LOGGING
{'disable_existing_loggers': False,
 'handlers': {'mail_admins': {'class': 'django.utils.log.AdminEmailHandler',
                              'level': 'ERROR'}},
 'loggers': {'django.request': {'handlers': ['mail_admins'],
                                'level': 'ERROR',
                                'propagate': True}},
 'version': 1}
SHORT_DATE_FORMAT
'm/d/Y'
DATABASE_USER
''
PROJECT_NAME
'mayan'
TEST_RUNNER
'django.test.simple.DjangoTestSuiteRunner'
COMPRESS_ENABLED
False
CACHE_MIDDLEWARE_KEY_PREFIX
''
COMPRESS_OFFLINE
False
TIME_ZONE
'America/El_Salvador'
FILE_UPLOAD_MAX_MEMORY_SIZE
2621440
EMAIL_BACKEND
'django.core.mail.backends.smtp.EmailBackend'
DEFAULT_TABLESPACE
''
TEMPLATE_CONTEXT_PROCESSORS
('django.contrib.auth.context_processors.auth',
 'django.core.context_processors.i18n',
 'django.core.context_processors.static',
 'django.core.context_processors.request',
 'django.core.context_processors.debug')
SESSION_COOKIE_AGE
1209600
SETTINGS_MODULE
'mayan.settings'
USE_ETAGS
False
LANGUAGES
(('en', 'English'),
 ('es', 'Spanish'),
 ('pt', 'Portuguese'),
 ('ru', 'Russian'),
 ('it', 'Italian'),
 ('pl', 'Polish'))
COMPRESS_CLOSURE_COMPILER_BINARY
'java -jar compiler.jar'
FILE_UPLOAD_TEMP_DIR
None
INTERNAL_IPS
('127.0.0.1',)
STATIC_URL
'/mayan-static/'
EMAIL_PORT
25
SHORT_DATETIME_FORMAT
'm/d/Y P'
DEVELOPMENT
True
ABSOLUTE_URL_OVERRIDES
{}
DATABASE_OPTIONS
{}
CACHE_MIDDLEWARE_SECONDS
600
BANNED_IPS
()
DATETIME_INPUT_FORMATS
('%Y-%m-%d %H:%M:%S',
 '%Y-%m-%d %H:%M',
 '%Y-%m-%d',
 '%m/%d/%Y %H:%M:%S',
 '%m/%d/%Y %H:%M',
 '%m/%d/%Y',
 '%m/%d/%y %H:%M:%S',
 '%m/%d/%y %H:%M',
 '%m/%d/%y')
DATABASE_PASSWORD
'********************'
COMMENTS_MODERATORS_GROUP
None
PROFANITIES_LIST
'********************'
EMAIL_HOST_USER
''
COMMENTS_BANNED_USERS_GROUP
None

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 175] Re: upgrade procedure

Rafael Monge
Thank you so much! Is working fine :) An uploaded PDF should be generate a thumbnail? (getting red wrong cross icon). Thanks again, I will chek it out the forum and won try to help others.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [Mayan EDMS: 175] Re: upgrade procedure

rosarior
Administrator
Excellent!  Yes, the default thumbnail generator (backend converter in Mayan slang) supports PDF thumbnails via Pillow, Python and the ghostscript executable so that's one place to start checking.  You can also install GraphicsMagick and switch Mayan to use it instead by adding this to your settings_local.py file:

CONVERTER_GRAPHICS_BACKEND = u'converter.backends.graphicsmagick'

Read the Graphicsmagick's manual for help on how to tweak its performance and quality settings, you can pass these with Mayan's option:

CONVERTER_GM_SETTINGS = ''

Thanks!

On Tue, May 8, 2012 at 4:46 PM, Rafael Monge <[hidden email]> wrote:
Thank you so much! Is working fine :) An uploaded PDF should be generate a thumbnail? (getting red wrong cross icon). Thanks again, I will chek it out the forum and won try to help others.

Loading...