Search found 33 matches

by Bastian
Tue Jun 07, 2022 5:46 am
Forum: General topics
Topic: Mayan DMS - CRM Integration
Replies: 3
Views: 2348

Re: Mayan DMS - CRM Integration

As my official post already being quite old i already have a working solution.

My CRM and Mayan are self hosted and only accessible locally or by VPN. The integration of Mayan was done using the hooks provided by the CRM and done Python scripts calling the Mayan rest API.

Regards
Bastian
by Bastian
Thu Mar 31, 2022 11:41 am
Forum: API
Topic: Breaking Changes in the API
Replies: 3
Views: 545

Re: Breaking Changes in the API

search works now again

issue was a mixture of changed API calls and a messed up search index (I guess)
by Bastian
Thu Mar 31, 2022 6:55 am
Forum: General topics
Topic: HowTo Enable woosh search backend
Replies: 4
Views: 21453

Re: HowTo Enable woosh search backend

this seems to be a bug in the latest 4.2 version...

issue is still open on gitlab
by Bastian
Wed Mar 30, 2022 8:07 pm
Forum: General topics
Topic: HowTo Enable woosh search backend
Replies: 4
Views: 21453

Re: HowTo Enable woosh search backend

I only get some progress when I start the re-indexing again. Tu still it remains at root@edms:/opt/mayan-edms/media# MAYAN_MEDIA_ROOT=/opt/mayan-edms/media/ /opt/mayan-edms/bin/mayan-edms.py search_status Whoosh search model indexing status =================================== Cabinet: 31 Document: 9...
by Bastian
Wed Mar 30, 2022 7:34 pm
Forum: General topics
Topic: HowTo Enable woosh search backend
Replies: 4
Views: 21453

Re: HowTo Enable woosh search backend

checking the search_status I get the following: MAYAN_MEDIA_ROOT=/opt/mayan-edms/media/ /opt/mayan-edms/bin/mayan-edms.py search_status Whoosh search model indexing status =================================== Cabinet: 14 Document: 39 Document file: 79 Document file page: 144 Document type: 0 Document...
by Bastian
Wed Mar 30, 2022 7:29 pm
Forum: General topics
Topic: HowTo Enable woosh search backend
Replies: 4
Views: 21453

Re: HowTo Enable woosh search backend

I got the folder now created using the command like this: MAYAN_MEDIA_ROOT=/opt/mayan-edms/media/ /opt/mayan-edms/bin/mayan-edms.py search_initialize after that I started re-indexing in the Tools menu. I see the files are now written in the whoosh directory, but I still get no search results. here's...
by Bastian
Wed Mar 30, 2022 7:18 pm
Forum: Issues or Errors
Topic: Upg from 3.5.3 to latest - did I miss a step?
Replies: 7
Views: 638

Re: Upg from 3.5.3 to latest - did I miss a step?

oh and after switching the search backend you need to login to mayan, go to settings > tools > reindex search backend (or something like this, in German it's Such-backend neu indizieren)
by Bastian
Wed Mar 30, 2022 6:28 pm
Forum: Issues or Errors
Topic: Upg from 3.5.3 to latest - did I miss a step?
Replies: 7
Views: 638

Re: Upg from 3.5.3 to latest - did I miss a step?

You need to call it with the Media Root variable as prefix than it works:

Code: Select all

MAYAN_MEDIA_ROOT=/opt/mayan-edms/media/ /opt/mayan-edms/bin/mayan-edms.py search_initialize
by Bastian
Wed Mar 30, 2022 6:20 pm
Forum: General topics
Topic: HowTo Enable woosh search backend
Replies: 4
Views: 21453

HowTo Enable woosh search backend

Hi all I added the entry to my configuration.yml file: SEARCH_BACKEND: mayan.apps.dynamic_search.backends.whoosh.WhooshSearchBackend but when running the initialize script: sudo --user=mayan MAYAN_MEDIA_ROOT=/opt/mayan-edms/media/ /opt/mayan-edms/bin/mayan-edms.py search_initialize nothing happens. ...
by Bastian
Wed Mar 30, 2022 12:59 pm
Forum: Issues or Errors
Topic: Upg from 3.5.3 to latest - did I miss a step?
Replies: 7
Views: 638

Re: Upg from 3.5.3 to latest - did I miss a step?

I think you need to call it using the venv and user as prefix as on the normal update scripts

Code: Select all

sudo --user=mayan MAYAN_MEDIA_ROOT=/opt/mayan-edms/media/ /opt/mayan-edms/bin/mayan-edms.py search_initialize
but when I execute the script the directory is not created and no error message is given.