Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

extra dependencies for indexing files on mattermost

Scheduled Pinned Locked Moved Solved Mattermost
6 Posts 3 Posters 40 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    c0decafe
    wrote on last edited by
    #1

    Hello,

    from https://mattermost.com/blog/file-search/

    For Mattermost Self-Managed workspaces, search results will return files with matching contents for .pdf, .pptx, .odt, .html, and plain text documents. System Admins can install these dependencies in order to enable searching contents of .docx, .rtf, and .pages files.

    The dependencies are:

    1. tidy
    2. wv
    3. popplerutils
    4. nrtf
    5. justext

    Any chance we can have them included in the app?

    Should i submit a merge request?

    girishG 1 Reply Last reply
    1
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to c0decafe on last edited by
    #2

    @c0decafe said in extra dependencies for indexing files on mattermost:

    Should i submit a merge request?

    yes, please.

    1 Reply Last reply
    0
  • C Offline
    C Offline
    c0decafe
    wrote on last edited by
    #3

    @girish i don't seem to have access to the fork the repo on git.cloudron.io

    patch below:

    From 65c731c4a7734172fd9798cbe86905f8ec2a71d7 Mon Sep 17 00:00:00 2001
    From: c0decafe <ports@c0decafe.net>
    Date: Thu, 13 Jul 2023 13:23:18 +0000
    Subject: [PATCH] add dependencies
    
    ---
     Dockerfile | 2 ++
     1 file changed, 2 insertions(+)
    
    diff --git a/Dockerfile b/Dockerfile
    index 38cb4ac..df94e02 100644
    --- a/Dockerfile
    +++ b/Dockerfile
    @@ -1,5 +1,7 @@
     FROM cloudron/base:4.0.0@sha256:31b195ed0662bdb06a6e8a5ddbedb6f191ce92e8bee04c03fb02dd4e9d0286df
     
    +RUN apt update && apt install -y poppler-utils wv unrtf tidy
    +
     RUN mkdir -p /app/code /app/pkg
     WORKDIR /app/code
     
    -- 
    2.41.0
    
    
    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #4

    Nice thanks, I have manually put those there with https://git.cloudron.io/cloudron/mattermost-app/-/commit/e42bb26f5ca9126045c7e529d032aa45627cf42e and will prepare a package update then.

    1 Reply Last reply
    1
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #5

    I've release a new package version now with those dependencies installed. Haven't tested if they work as expected though, feedback on this would be much appreciated.

    C 1 Reply Last reply
    1
  • C Offline
    C Offline
    c0decafe
    replied to nebulon on last edited by c0decafe
    #6

    @nebulon thank you! it is working as expected from my end.

    1 Reply Last reply
    1
  • nebulonN nebulon marked this topic as a question on
  • nebulonN nebulon has marked this topic as solved on

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks