Erweiterte Suche
Suchergebnisse
601 insgesamt gefundene Ergebnisse
Backup and restore strategies
Simple: Make backup of server app and data dir (H2 database) #!/bin/bash BUP_PATH="/backup/teedy/" mkdir -p $BUP_PATH rsync -lrptR /var/docs $BUP_PATH rsync -lrptR /opt/jetty-home-11.0.15/jetty-base/webapps $BUP_PATH cd $BUP_PATH FILENAME=$(date +%Y-%m-...
Gastzugang und spezielle Anpassungen (serverseitiger Code/Scripts)
Wir wollen unsere Inventarplattform so aufbereiten, dass sie auch für Gäste etwas zum Stöbern bietet und die Funktionen von Teedy als praktibale Open Source Software zeigt. Teedy hat einen Gastmodus, der von Haus aus leider neben der regulären Verwendung auch ...
Security
General Tips run Teedy in Intranet use SSL adjust apache2 to hide /api/app information (json output which contains information like used version, user count, etc.) <Location "/api/app"> AllowOverride None Order deny,allow Deny from A...
Automatic Mail Importing (Inbox Scanning)
This feature can be configured by environment variables! → Environment Configuration
Environment Configuration
We use Fedora 38 Workstation, but the following steps should be similar on other systems. We also use a timer to delay the startup of jetty11 at bootup, because it sometimes struggles to perform well at the first start. vim /lib/systemd/system/jetty11.timer ...
Migration from H2 to PostgreSQL
Note that the migration will make you loosing all the OCR extracted text content from files in your documents. If you want to have those OCR strings back you will need to run a re-indexing for all of them. Stop Teedy and make backup of recent H2 file structur...
Apache Reverse Proxy and Firewall
Install apache2 sudo apt install apache2 Activate modules sudo a2enmod headers rewrite proxy proxy_html proxy_http ssl vhost_alias Apache Reverse Proxy Configuration sudo vim /etc/apache2/sites-available/dms.yourdomain.de_httpd.conf <VirtualHost YOURPUBL...
Teedy with PostgreSQL
Teedy 1was tested sucessfully with PostgreSQL Version 16 and lower Install and configure PostgreSQL Teedy requires at least PSQL 9.4 (PostgreSQL94Dialect) PostgreSQL 10 and upwards are configured to deliver SSL by standard! You will need to configure it's S...
Manually fix broken document relations in database
Find documents which have relations to other documents which already were deleted Sometimes documents link to other documents but the links are invalid because the linked document is not available anymore. We can manually reset those links only because there ...
Icons in document titles
Inside Teedy we can use funny icons, if we know the correct Unicode number. Copy + Paste. Just select the one's you need and paste them into Teedy. It works for title and description ☀ ☁ ☂ ☃ ☄ ★ ☆ ☇ ☈ ☉ ☊ ☋ ☌ ☍ ☎ ☏ ☐ ☑ ☒ ☓ ☔ ☕ ☖ ☗ ☘ ☙ ☚ ☛ ☜ ☝ ☞ ☟ ☠ ☡ ☢ ☣ ...
Fix Preview Bug
In case the file preview is erroneous/empty but the file can be processed and it can be downloaded by URL like https://dms.yourdomain.de/api/file/:FILE_ID/data: Root Cause: unkown. Seems to happen after migration from H2 to PostgreSQL Fixing proposal Remo...
Grafana Monitoring / Statistics
Description A Grafana monitoring dashboard for Teedy (Sismics Docs) statistics. Helpful to have a look over security things and the effort you put in your instance. Please check if this is okay for your own use - regarding privacy protection of the mates work...
Check index integrity / recompute quota
Sometimes the used space is wrong and may look like this: See also: https://github.com/sismics/docs/issues/345 Checks on file system cd /var/docs/ find ./ -type f -name '*' -exec du -ch {} + | grep total$ find ./ -type f -name '*_web' -exec du -ch {}...
Importer for Windows
The Bulk file importer tool is based on NodeJS Documentation also available under https://github.com/sismics/docs/tree/master/docs-importer Download the importer The importer can be also downloaded at Github. The most recent version to find is https://g...
Optical Character Recognition (OCR) and Scanning
Handling OCR data is stored in Teedy database table t_file which containts the string column fil_content_c. In H2 the data is stored als plaintext string. In PostgreSQL the column is filled as datatype ::text. A normal select returns number. The unecrypted OC...
Basic installation with Jetty and H2 Database
Install Required Software #install a lot of stuff sudo apt update sudo apt install tesseract-ocr tesseract-ocr-deu tesseract-ocr-eng libtesseract-dev ffmpeg mediainfo mediainfo-gui openjdk-11-jdk #install Jetty Web Server sudo apt install jetty11 #...
Build web application server from Source
This short tutorial shows how to build Teedy. Finally you will get a ready-to-deploy dms.war java archive file. Pre-Requisites sudo add-apt-repository ppa:openjdk-r/ppa sudo apt update sudo apt install openjdk-11-jdk maven npm jetty11 sudo ln -s /usr/b...
Auto-delete guest comments
In case you have a guest login enabled and don't want to accept guest spamming you can prevent it using the following bash script with cron trigger (running every 10 minutes). Guest comments are even useless because each guest can delete the guest commen...