Open Clem69B opened 10 years ago
Odd
Can you confirm that https://github.com/buddycloud/buddycloud-server-java/blob/master/configuration.properties.example#L6 is similar?
There is an extract of my configuration:
server.domain=bazin-fr.org
server.domain.channels=buddycloud.bazin-fr.org
server.domain.topics=topics.bazin-fr.org
It seems that is the same...
This is the prosody log entries when I try to start the buddycloud java server with the prosody.cfg.lua that you provide on the install page:
Mar 20 17:12:41 jcp974d90 info Incoming Jabber component connection
Mar 20 17:12:41 jcp974d90 info Disconnecting component, <stream:error> is: <stream:error><host-unknown xmlns='urn:ietf:params:xml:ns:xmpp-streams'/><text xmlns='urn:ietf:params:xml:ns:xmpp-streams'>topics.bazin-fr.org does not match any configured external components</text></stream:error>
Mar 20 17:12:41 jcp974d90 info component disconnected: nil (stream error)
And the buddycloud log entries:
2014-03-20 17:12:41,179 [main] INFO org.buddycloud.channelserver.ChannelsEngine - XMPP Component started. We are 'buddycloud.bazin-fr.org' and ready to accept packages.
2014-03-20 17:12:41,209 [main] ERROR org.buddycloud.channelserver.Main - Failed during initialization.
org.xmpp.component.ComponentException: host-unknown
at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:209)
at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:206)
at org.buddycloud.channelserver.TopicsComponent.run(TopicsComponent.java:29)
at org.buddycloud.channelserver.Main.startComponents(Main.java:38)
at org.buddycloud.channelserver.Main.main(Main.java:12)
When I add the topics component and the channels component, the server starts normally.
Can I recommend you remove all mentions of the topics
component. Both
in the Prosody server and BC server. Let's get that working first then we
can start with organising a topics domain.
On 20 March 2014 17:22, Clément B. notifications@github.com wrote:
This is the prosody log entries when I try to start the buddycloud java server with the prosody.cfg.lua that you provide on the install page:
Mar 20 17:12:41 jcp974d90 info Incoming Jabber component connection Mar 20 17:12:41 jcp974d90 info Disconnecting component, stream:error is: stream:error
topics.bazin-fr.org does not match any configured external components /stream:error Mar 20 17:12:41 jcp974d90 info component disconnected: nil (stream error)And the buddycloud log entries:
2014-03-20 17:12:41,179 [main] INFO org.buddycloud.channelserver.ChannelsEngine - XMPP Component started. We are 'buddycloud.bazin-fr.org' and ready to accept packages. 2014-03-20 17:12:41,209 [main] ERROR org.buddycloud.channelserver.Main - Failed during initialization. org.xmpp.component.ComponentException: host-unknown at org.jivesoftware.whack.ExternalComponent.connect(ExternalComponent.java:209) at org.jivesoftware.whack.ExternalComponentManager.addComponent(ExternalComponentManager.java:206) at org.buddycloud.channelserver.TopicsComponent.run(TopicsComponent.java:29) at org.buddycloud.channelserver.Main.startComponents(Main.java:38) at org.buddycloud.channelserver.Main.main(Main.java:12)
When I add the topics component and the channels component, the server starts normally.
— Reply to this email directly or view it on GitHubhttps://github.com/buddycloud/buddycloud.com/issues/37#issuecomment-38188045 .
Simon Tennant | buddycloud.com | +49 17 8545 0880 | office hours: goo.gl/tQgxP
Without topics
component, the server starts normally. But the channels
component is still manually added in the Prosody configuration file.
The purpose of this issue is to highlight the difference between the declaration of components in the prosody configuration file and the BC configuration file that you propose on the install page of buddycloud.com
My knowledge about the internal workings of BC server is very limited. I just try to install it on a personal server. I follow the installation guide point by point, and I report to you the problems I encountered. In fact, I'm a beta tester for your installation guide !
So I hope that my issues are useful, and I don't expect some help with this way (but any suggestions are welcomed). Sorry per advance if this issue seems to be useless.
These are super useful! It's really useful to get this feedback. I think it makes sense to:
Does this make sense?
I'm really sorry, but I think I report a bad issue... In fact, I was misled by the BC log entries. I thought the server fails to start, but it is active despite the error. Thus, the old configuration files work, but they cause error messages that can be misleading. A simple note on the guide to warn users may be useful to avoid confusion.
To be forgiven, here is a better information:
You can add the dbconfig-common
package in the dependencies list during the BC server installation. I propose:
apt-get install postgresql postgresql-client postgresql-contrib openjdk-6-jre dbconfig-common
The buddycloud-server-java*.deb
needs it.
Fixed that. Thanks!
During my attempts to install buddycloud server, I noticed the lack of two component definitions in the configuration file of prosody:
These definitions are described on https://buddycloud.org/wiki/Install_Java_channel_server#Prosody_configuration
Without these definitions, the server fail to start.