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

Why can't my upload module get up #9

Closed
alongkim opened this issue Dec 20, 2019 · 5 comments
Closed

Why can't my upload module get up #9

alongkim opened this issue Dec 20, 2019 · 5 comments
Assignees

Comments

@alongkim
Copy link

alongkim commented Dec 20, 2019

upload() {
    store {
        group-by-user = true
	path = '/data/upload/'
    }
}

this is my config.

@hantu85
Copy link
Contributor

hantu85 commented Dec 20, 2019

In the TDSL file format used for Tigase XMPP Server configuration files, you need to wrap group-by-user in ' chars as it contains - char in the property name. Your config should look like that:

upload() {
    store {
        'group-by-user' = true
        path = '/data/upload/'
    }
}

@alongkim
Copy link
Author

In the TDSL file format used for Tigase XMPP Server configuration files, you need to wrap group-by-user in ' chars as it contains - char in the property name. Your config should look like that:

upload() {
    store {
        'group-by-user' = true
        path = '/data/upload/'
    }
}

thank you ,but it also can not work.i found it reqeust with my hostname ,not my domain name.

@alongkim
Copy link
Author

In the TDSL file format used for Tigase XMPP Server configuration files, you need to wrap group-by-user in ' chars as it contains - char in the property name. Your config should look like that:

upload() {
    store {
        'group-by-user' = true
        path = '/data/upload/'
    }
}

thank you ,but it also can not work.i found it reqeust with my hostname ,not my domain name.

just like http://tigase-b:8080/upload/dragon@youliaoxmpp.com/28f7f619-80a9-46fa-86a1-8e8986959d3d/2bfb3ff8490549d8abccac906e0740e8.jpg the 'tigase-b' is my hostname,my domain is 'youliaoxmpp'.

@woj-tek
Copy link
Contributor

woj-tek commented Dec 20, 2019

You can configure that using http-upload options and using serverName option:

upload() {
    store {
        'group-by-user' = true
        path = '/data/upload/'
        serverName = 'youliaoxmpp'
    }
}

@alongkim
Copy link
Author

serverName = 'youliaoxmpp'

thank you very much. it is ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants