[Mayan EDMS: 2001] docker local.py settings import error

2017-08-10 Thread Tony Nys
as I see, the mounted docker folder eg. mayan_data, needs a subfolder "settings". Mayan will check if a local.py file exist , and if not do an initial installation and create a local.py file in that folder But when I start mayan the 2nd time, so the file exists, it gives the error mayan.setting

[Mayan EDMS: 2003] Logging database and file storage performance

2017-08-10 Thread Tony Nys
trying to set up mayan/django to an external Postgresql database and Azure blob storage It is working but it is slow Is there an easy way to set up benchmarks for * query response time * blob upload/download response time -- --- You received this message because you are subscribed to the G

[Mayan EDMS: 2005] multi tenancy

2017-08-10 Thread Tony Nys
Ideally in mayan, a concept/class Tenant should be there: where a Tenant has * Id * Name * External-ID (reference), Unique but optional : eg. the Syneton tenant id * StorageCollection: container name used eg. in Azure/AWS/... or local subfolder-name in the 'document_storage' folder A Group has

[Mayan EDMS: 2006] mayan stateless cluster / docker swarm

2017-08-10 Thread Tony Nys
I want to set up 2 mayan servers running the docker image Each server will be connected to the same database server (postgresql) and the same external blob storage (eg. Azure) WIll there be any issue/concern setting up such a cluster / docker-swarm ? -- --- You received this message because y

[Mayan EDMS: 2009] Re: docker local.py settings import error

2017-08-11 Thread Tony Nys
ocal" On Friday, August 11, 2017 at 7:47:51 AM UTC+2, Tony Nys wrote: > > as I see, the mounted docker folder eg. mayan_data, needs a subfolder > "settings". > Mayan will check if a local.py file exist , and if not do an initial > installation and create a local.py

[Mayan EDMS: 2009] Re: docker local.py settings import error

2017-08-11 Thread Tony Nys
this is my local.py: from __future__ import absolute_import from .base import * SECRET_KEY = 'foo' On Friday, August 11, 2017 at 9:11:11 AM UTC+2, Tony Nys wrote: > > Thanks Roberto , but i still have the same issue: > now I do this > docker volume create --name mayan

[Mayan EDMS: 2082] mayan slow when external postgres database, configure django.db.backends

2017-09-07 Thread Tony Nys
Mayan is extremely slow when targeting an external postgres. When I run the docker image locally and a local postgres , it is fast; but when I run towards an external Postgres (in Azure) it is extremely slow (5 seconds to show the recent document list page with only 2 docs) I try to debug the per

[Mayan EDMS: 2082] possible to docker image include pip azure sdk 1.0 to allow django with azure

2017-09-07 Thread Tony Nys
now i create my own docker file for only adding azure 1.0 sdk Is it possible to include it by default ? thx -- --- 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: 2094] Re: possible to docker image include pip azure sdk 1.0 to allow django with azure

2017-09-08 Thread Tony Nys
Hi , Normally i do a pip install azure==1.0.0 thanks (since django is not up to date with latest azure2 sdk) On Thursday, September 7, 2017 at 7:05:20 PM UTC+2, Tony Nys wrote: > > now i create my own docker file for only adding azure 1.0 sdk > Is it possible to include it b

[Mayan EDMS: 2094] Re: mayan slow when external postgres database, configure django.db.backends

2017-09-08 Thread Tony Nys
yes correct even so if both are in the azure cloud By the way i'm doing stress tests today comparing local with azure installations On Thursday, September 7, 2017 at 7:03:49 PM UTC+2, Tony Nys wrote: > > Mayan is extremely slow when targeting an external postgres. > When I run th

[Mayan EDMS: 2096] Re: mayan stateless cluster / docker swarm

2017-09-08 Thread Tony Nys
file shows that it cannot find media settings: mayan.settings <544> [ERROR] "() Error importing user's local.py; No module named media.settings.local" On Friday, August 11, 2017 at 8:39:22 AM UTC+2, Tony Nys wrote: > > I want to set up 2 mayan servers running the dock

[Mayan EDMS: 2097] Re: mayan slow when external postgres database, configure django.db.backends

2017-09-08 Thread Tony Nys
actually it is not the database i think, all thumbnails take between .5 and 1 second to show ... they should be cached on the server ? so just serving up a static image file should be much faster... On Thursday, September 7, 2017 at 7:03:49 PM UTC+2, Tony Nys wrote: > > Mayan is extremel

[Mayan EDMS: 2098] mayan cannot find 'storages' for documents s3 or azure backend

2017-09-09 Thread Tony Nys
Cannot connect to django storages with mayan to Azure blob storage backend: I'm breaking my head around this for 6 hours: 1. the connection to azure works fine, manually when testing with python Azure SDK1 classes 2. the connection is also ok with mayan working on Docker with azure storage ho

[Mayan EDMS: 2099] Re: mayan cannot find 'storages' for documents s3 or azure backend

2017-09-09 Thread Tony Nys
pawned uWSGI worker 1 (pid: 2872, cores: 1) On Saturday, September 9, 2017 at 12:31:47 PM UTC+2, Tony Nys wrote: > > Cannot connect to django storages with mayan to Azure blob storage backend: > > I'm breaking my head around this for 6 hours: > > 1. the connection to azure wo

[Mayan EDMS: 2125] Re: Need help creating a development installation

2017-09-22 Thread Tony Nys
or use the docker installation, or the advanced install: http://mayan.readthedocs.io/en/latest/topics/deploying.html On Wednesday, September 20, 2017 at 4:29:17 AM UTC+2, Brent Meisenheimer wrote: > > I'm having difficulty creating a development installation of Mayan. I've > installed the Do

[Mayan EDMS: 2126] Re: Hurricane Maria

2017-09-22 Thread Tony Nys
Take ca On Wednesday, September 20, 2017 at 9:19:26 AM UTC+2, Roberto Rosario wrote: > > Category 5 hurricane Maria is reaching Puerto Rico and set to make > landfall in 3 hours. Due to the passing of hurricane Irma a few weeks ago, > Puerto Rico's infrastructure is still not fully recovered and

[Mayan EDMS: 2127] Re: Hurricane Maria

2017-09-22 Thread Tony Nys
take care Roberto On Wednesday, September 20, 2017 at 9:19:26 AM UTC+2, Roberto Rosario wrote: > > Category 5 hurricane Maria is reaching Puerto Rico and set to make > landfall in 3 hours. Due to the passing of hurricane Irma a few weeks ago, > Puerto Rico's infrastructure is still not fully rec

[Mayan EDMS: 2178] mayan performance in Azure Cloud (managed)

2017-10-26 Thread Tony Nys
For anyone interested. I've installed Mayan into a managed Azure cloud environment: * Postgres managed Azure database (basic configuration) * Documents stored in Azure blob storage * mayan VM itself in a Ubuntu 2core 8GB configuration So no data (except cache data/logfiles) are stored inside this

[Mayan EDMS: 2179] Re: mayan performance in Azure Cloud (managed)

2017-10-26 Thread Tony Nys
get versions/pages and then we now the page id Also have example docs for the APIs, especially search is not clear On Thursday, October 26, 2017 at 2:36:51 PM UTC+2, Tony Nys wrote: > > For anyone interested. > I've installed Mayan into a managed Azure cloud environment: > * P

[Mayan EDMS: 2182] Security Chinese walls bugs API's

2017-11-02 Thread Tony Nys
In a quick check, I found already 2 big security bugs where users can see documents of the other one both cases use the api image page preview: /api/documents/documents/616/versions/822/pages/1187/image/ : BUG security chinese wall : BUG: user2 can see metadata doc user1 document metadata : /ap

[Mayan EDMS: 2183] feature request: in search API, return metadata of documents

2017-11-02 Thread Tony Nys
many metadata is stored on document level. If we search documents with the API eg " /api/dynamic_search/advanced/documents.Document/?_match_all=on&metadata__metadata_type__name=MY_ID&metadata__value=ABC" it returns a result array without the metadata like below Then for every document we need an

[Mayan EDMS: 2211] Re: Mayan EDMS RestAPI

2017-11-29 Thread Tony Nys
note that the api documentation is not perfect; especially the search apis; trial and error On Tuesday, November 28, 2017 at 11:11:38 PM UTC+1, Victor Zele wrote: > > On your install, go to System Menu -> Tools -> API Documentation. > > > On Friday, November 17, 2017 at 4:34:31 AM UTC-8, Peter En

[Mayan EDMS: 2212] Re: Time of documents thumbnails generation

2017-11-29 Thread Tony Nys
i had the same issue Make sure the number of worker threads in uwsgi is increased; see my other posts On Thursday, November 16, 2017 at 9:12:25 AM UTC+1, Kamahunda Mulamba wrote: > > Hello > > I am a newcomer on Mayan EDMS. > After installing a demonstration following the attached procedure ( >

[Mayan EDMS: 2213] Mayan Still alive since Sept 11 ?

2017-11-29 Thread Tony Nys
Hello All Mayan seems to be hibernating for a long winter sleep. Previously, there was a new release every 2 to 3 weeks. * The latest, 2.7.3 release is 3 months old, released September 11 2017 * Little or no activity of the main developer on the forum: Roberto Rosario * Last code commit on Septem