Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
robertbob987 opened this issue Oct 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@robertbob987
Copy link

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

@robertbob987 robertbob987 added the bug Something isn't working label Oct 19, 2022
@hantu85
Copy link
Contributor

hantu85 commented Oct 19, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants