[Mayan EDMS: 1665] Mayan EDMS version 2.2 released

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 1665] Mayan EDMS version 2.2 released

rosarior
Administrator
Version 2.2 is available via PyPI (https://pypi.python.org/pypi/mayan-edms/2.2

Some highlights from this version:

- API path changes to continue the transition to a resource/sub resource URL schema.
- Some resources now include a link to a separate view of its sub resources instead of including all their sub resources inlined.
- New image generation pipeline that includes caching of transformed document images. This means that scaled and/or rotated document images are now cached. This includes thumbnails. As a result page views take considerable less time.
- It is now possible to search for document or document pages.
- The user experience has been improved by the addition of dropdown menus reducing mouse travel, screen reloading and mouse click needed to access the most common views.
- Support for dashboard widgets has been added providing at-a-glance information about the usage and load of an installation.
- It is now possible to lookup documents based on their current workflow state.
- The Cabinets app (a multi level folders app) is now included as a standard app. With this update the Folders app is disabled by default and will be removed in a future version.
- Updated to work with Django 1.10.x.
- Support for attaching and removing multiple tags or Cabinet levels at the same time.
- The DEBUG variable is now disabled by default. Users wanting to test the installation before deploying must explicitly enable the DEBUG variable to server static content.
- Better performance thanks to a new file based resource locking enabled by default instead of the previous (slower but distributed) database locking. The default file locker is best suited for installation running a single instance of Mayan EDMS (user, home office, small business) and the database locking driver is best suited for installation running multiple instances of Mayan EDMS in cluster mode (enterprise, cloud, ISPs).

For the complete list of changes please read the Release Notes: http://mayan.readthedocs.org/en/latest/releases/2.2.html

 - Issues, bugs: https://gitlab.com/mayan-edms/mayan-edms/issues

Social media:
- Facebook: https://www.facebook.com/MayanEDMS
- Twitter: https://twitter.com/MayanEDMS
- Google Plus: https://plus.google.com/108413286958999778262

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 1668] Re: Mayan EDMS version 2.2 released

Manuel Reiter
Thanks for this update! I just wanted to try it out. Installation (via pip) went without problems but the subsequent performupgrade failed:

#  mayan-edms.py performupgrade
Traceback (most recent call last):
  File "/usr/local/bin/mayan-edms.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 341, in execute
    django.setup()
  File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 89, in populate
    "duplicates: %s" % app_config.label)
django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: cabinets

I had mayan-cabinets installed via pip prior to the update. Uninstalling mayan-cabinets via pip didn't affect the error message.

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 1673] Re: Mayan EDMS version 2.2 released

rosarior
Administrator
The error means that some parts of the old app is still remain, these could be cached .pyc files.

Execute the following inside the directory where Mayan is installed, it will look up all .pyc files and delete them: 

rm `find -name "*.pyc*"`


On Thursday, April 27, 2017 at 2:44:22 PM UTC-4, Manuel Reiter wrote:
Thanks for this update! I just wanted to try it out. Installation (via pip) went without problems but the subsequent performupgrade failed:

#  mayan-edms.py performupgrade
Traceback (most recent call last):
  File "/usr/local/bin/mayan-edms.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 341, in execute
    django.setup()
  File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 89, in populate
    "duplicates: %s" % app_config.label)
django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: cabinets

I had mayan-cabinets installed via pip prior to the update. Uninstalling mayan-cabinets via pip didn't affect the error message.

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

[Mayan EDMS: 1676] Re: Mayan EDMS version 2.2 released

Manuel Reiter
Unfortunately, I still get the same error after that. Trying to load Mayan in the browser gives me an "Internal Server Error".

On Monday, May 1, 2017 at 1:06:57 AM UTC+2, Roberto Rosario wrote:
The error means that some parts of the old app is still remain, these could be cached .pyc files.

Execute the following inside the directory where Mayan is installed, it will look up all .pyc files and delete them: 

rm `find -name "*.pyc*"`

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Mayan EDMS: 1676] Re: Mayan EDMS version 2.2 released

rosarior
Administrator
Add DEBUG=True to the settings/production.py file and restart everything so that the error stacktrace appeara in the web UI. 

On May 1, 2017 4:35 AM, "Manuel Reiter" <[hidden email]> wrote:
Unfortunately, I still get the same error after that. Trying to load Mayan in the browser gives me an "Internal Server Error".

On Monday, May 1, 2017 at 1:06:57 AM UTC+2, Roberto Rosario wrote:
The error means that some parts of the old app is still remain, these could be cached .pyc files.

Execute the following inside the directory where Mayan is installed, it will look up all .pyc files and delete them: 

rm `find -name "*.pyc*"`

--

---
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 [hidden email].
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Mayan EDMS: 1681] Re: Mayan EDMS version 2.2 released

Manuel Reiter
How would I restart everything? Calling mayan-edms.py with any argument produces the same error:


root@403ff3d23b4e:/usr/local/lib/python2.7/dist-packages/mayan# mayan-edms.py
Traceback (most recent call last):
  File "/usr/local/bin/mayan-edms.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 341, in execute
    django.setup()
  File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 89, in populate
    "duplicates: %s" % app_config.label)
django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: cabinets
 
I'm still running Mayan inside a Docker container - can I just reboot such a beast?

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: [Mayan EDMS: 1693] Re: Mayan EDMS version 2.2 released

rosarior
Administrator
Restarting the Docker host would also restart the Docker container. You can also delete the container and run the container creating steps again, this will get rid of any stray Python cached code. NOTE: Delete only the container and not the volumes (mayan_media, mayan_settings) as these are where the data is located.

Docker image documentation: https://hub.docker.com/r/mayanedms/mayanedms/ 

Upgrading a Mayan EDMS Docker container is actually a matter of upgrading the
database as the actualy binaries will be upgraded automatically when the new
Docker image version is downloaded.

IMPORTANT! Don't delete the volumes, only the container.

Stop the container to be upgraded:

docker stop mayan-edms

Remove the container:

docker rm mayan-edms

Pull the new image version:

docker pull mayanedms/mayanedms:latest

Run the upgrade command using a temporary container:

docker run --rm -v mayan_media:/var/lib/mayan -v mayan_settings:/etc/mayan mayanedms/mayanedms:latest mayan:upgrade

Start the container again with the new image version:

docker run -d --name mayan-edms --restart=always -p 80:80 -v mayan_media:/var/lib/mayan -v mayan_settings:/etc/mayan mayanedms/mayanedms:latest



On Friday, May 5, 2017 at 4:59:35 AM UTC-4, Manuel Reiter wrote:
How would I restart everything? Calling mayan-edms.py with any argument produces the same error:


root@403ff3d23b4e:/usr/local/lib/python2.7/dist-packages/mayan# mayan-edms.py
Traceback (most recent call last):
  File "/usr/local/bin/mayan-edms.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 341, in execute
    django.setup()
  File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 89, in populate
    "duplicates: %s" % app_config.label)
django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: cabinets
 
I'm still running Mayan inside a Docker container - can I just reboot such a beast?

--

---
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 [hidden email].
For more options, visit https://groups.google.com/d/optout.