Thanks Roberto for the prompt response.  I've been traveling on business 
and haven't had a chance to look into Mayan until today.  Your instructions 
worked perfectly and delivered exactly what I needed.

To answer your question, the two areas of the install where I had issues 
were with Celery and uWSGI.  I found I had to run the following command to 
initiate a worker process that generates the beats, because I found I was 
uploading documents but they weren't being processed.
celery -A mayan worker -l INFO -Q 
checkouts,mailing,uploads,converter,ocr,tools,indexing,metadata -Ofair -B

Also, I found I kept getting a 502 bad gateway error, and when I looked 
into it, it appeared to be caused by the fact that uwsgi was not running, 
so I had to manually kickstart that process with the command:
uwsgi --ini /usr/share/mayan-edms/uwsgi.ini &

I'm not very good with Unix, so it very well could be caused by some 
incorrect setting on my test server.  Thanks again!

Samir

On Saturday, January 30, 2016 at 6:38:37 AM UTC+8, Roberto Rosario wrote:
>
> Thanks!
>
> The deployment instruction have a step setting up Celery workers. What 
> issue did you have with the Celery instructions?
>
> The demo is open ended that Invoice document type and Index were created 
> by users testing the project.
>
> This is how I solved your use case:
>
>    - Create the Country metadata. I used a lookup of 3 countries for this 
>    test.
>    - Create two document types: Invoice and Purchase Order.
>    - Assign Country metadata type to both document types.
>    - Create an index for Invoices (all and per country) as pictured. Link 
>    this index to the Invoice document type.
>    - Create an index with the same structure for Purchase orders (all and 
>    per country) as pictured. Link this index to the Purchase order document 
>    type.
>    - Create a 3rd index with the same structure for but link this one to 
>    the Purchase order and Invoices document types.
>    
>
> On Thursday, January 21, 2016 at 10:58:29 PM UTC-4, Samir wrote:
>>
>> First off, thank you for developing this software!  Installation was 
>> relatively easy, with the minor exception of getting celery to execute as I 
>> had to hunt around for instructions on that - if I was confident of what I 
>> was doing, I would contribute the celery instructions to the deployment 
>> docs as they're missing.
>>
>> I have a couple of questions on Indexes that I hope somebody can help 
>> with:
>>
>> 1.  On the demo site there's an Index titled Invoice Number.  It is tied 
>> to document type Invoices.  Yet, when I upload a document type Invoices, 
>> that Index remains empty.  Has that Index been created incorrectly?
>>
>> 2.  The problem I have that I do not know how to solve is as follows:
>>       - Imagine I have two document types - Purchase Orders and Invoices.
>>       - Each document type has the "Country" as its metadata.
>>       - I want to be able to click an Index that shows all Purchase 
>> Orders regardless of Country; another Index that shows all Invoices 
>> regardless of Country; and an Index for each Country (I have no issues 
>> pre-defining the country Indexes) which will show all Purchase Orders and 
>> Invoices for only that Country.
>>       - Is this possible and if so, how do I do something like this?
>>
>> Thanks!
>>
>> Samir
>>
>>
>>

-- 

--- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to