tigase / tigase-server

(M) Highly optimized, extremely modular and very flexible XMPP/Jabber server
https://tigase.net
GNU Affero General Public License v3.0
322 stars 107 forks source link

I added “upload () {}” in config.tdsl,but in a while the process quit #167

Open robertbob987 opened 1 year ago

robertbob987 commented 1 year ago

I installed tigase 8.1.3 on Raspberry Pie (Linux raspberrypi 5.10.63-v8+ # 1459 SMP PREEMPT Wed Oct 6 16:42:49 BST 2021 aarch64 GNU / Linux), installed and set it up, I can send messages with Siskin IM APP, I want to send file each other, so I added “upload () {}” in config.tdsl

admins = [ 'admin@raspberrypi' ] 'config-type' = 'default' debug = [ 'server' ] 'default-virtual-host' = 'raspberrypi' dataSource () { default () { uri = 'jdbc:derby:tigasedb;create=true' } } http () { setup () { 'admin-password' = '12345678' 'admin-user' = 'admin' } } pubsub () { trusted = [ 'http@{clusterNode}' ] } upload () {} I restarted tigase server, [but in a while the process quit

hantu85 commented 1 year ago

Please review Tigase XMPP Server logs, when it shuts down in prints cause of the shutdown.

In this particular case, if you enable or disable component which require custom database schema changes applied, you need to run upgrade-schema task of Tigase XMPP Server. For more details about configuring file upload see https://docs.tigase.net/projects/tigase-tigase-http-api/en/latest/Administration/HTTP_File_Upload_component.html. To upgrade database you need to run: ./scripts/tigase.sh upgrade-schema etc/tigase.conf.