Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-29 Thread Frank Thommen

Dear Clemens and Marius,

problem solved!  You were both right: It was a proxy issue as I know 
now.  Indeed these systems are configured to use an http/s proxy (but 
the new admin hasn't been told so :-).  Unfortunately Tomcat doesn't 
seem to read the system wide configuration from the environment and 
instead needs explicit Proxy configuration in bin/setenv.sh.  After 
that, the Distribution Wizard ran fine to the end and the Wiki is up and 
running.


Thanks anyway for your help, hints and pointers.  They were really 
helpful and informative also for possible future issues :-)


Cheers
Frank




On 01/29/2016 10:24 AM, Clemens Klein-Robbenhaar wrote:

Hi Frank,

[...]



I have to admit that if it is not the proxy-settings then I am getting somewhat 
desperate about how to diagnose the problem.
I guess one could try to get stack traces from the server while it is starting 
up
and use the java option "-Djavax.net.debug=all" (dumps lots of stuff to the 
standard output) to see if it tries to open connections to extensions.xwiki.org
but I guess all one can get from that is that the server opens connections and 
then it waits till timeout ...


I've done this through setting the environment variable $JAVA_OPTS to
"-Djavax.net.debug=all" prior to running $tomcat_home/bin/catalina.sh.
Is that the right place?  I also set the following loggin levels in
$tomcat_home/conf/logging.properties:

java.util.logging.ConsoleHandler.level = FINEST
1catalina.org.apache.juli.AsyncFileHandler.level = FINEST


Also added

java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter
org.apache.http.level = FINEST
org.apache.http.wire.level = SEVERE

to $tomcat_home/conf/logging.properties (according to 
https://hc.apache.org/httpcomponents-client-ga/logging.html) but still not 
seeing the wire output.  where should I find it?


[...]

I thought one should set the -Djavax.net.debug in the CATALINA_OPTS ,  but I 
see JAVA_OPTS is possible, too.
If these lots of "adding as trusted cert:" messages appear, then the option is 
active indeed.


If you want to create more log messages from the xwiki-webapp, you can edit the 
file webapps/xwiki/WEB-INF/classes/logback.xml

Setting the root logger level there to "debug" will create tons of output ...
Maybe it is sufficient to enable some network related loggers, like:

   
   

which will create tons of output either, but hopefully with somewhat higher 
relevance density.

See also http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging


hope this helps
Clemens
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-29 Thread Clemens Klein-Robbenhaar
Hi Frank,

[...]
>>
>>> I have to admit that if it is not the proxy-settings then I am getting 
>>> somewhat desperate about how to diagnose the problem.
>>> I guess one could try to get stack traces from the server while it is 
>>> starting up
>>> and use the java option "-Djavax.net.debug=all" (dumps lots of stuff to the 
>>> standard output) to see if it tries to open connections to 
>>> extensions.xwiki.org
>>> but I guess all one can get from that is that the server opens connections 
>>> and then it waits till timeout ...
>>
>> I've done this through setting the environment variable $JAVA_OPTS to
>> "-Djavax.net.debug=all" prior to running $tomcat_home/bin/catalina.sh.
>> Is that the right place?  I also set the following loggin levels in
>> $tomcat_home/conf/logging.properties:
>>
>> java.util.logging.ConsoleHandler.level = FINEST
>> 1catalina.org.apache.juli.AsyncFileHandler.level = FINEST
> 
> Also added
> 
> java.util.logging.ConsoleHandler.level = ALL
> java.util.logging.ConsoleHandler.formatter = org.apache.juli.OneLineFormatter
> org.apache.http.level = FINEST
> org.apache.http.wire.level = SEVERE
> 
> to $tomcat_home/conf/logging.properties (according to 
> https://hc.apache.org/httpcomponents-client-ga/logging.html) but still not 
> seeing the wire output.  where should I find it?
> 
[...]

I thought one should set the -Djavax.net.debug in the CATALINA_OPTS ,  but I 
see JAVA_OPTS is possible, too.
If these lots of "adding as trusted cert:" messages appear, then the option is 
active indeed.


If you want to create more log messages from the xwiki-webapp, you can edit the 
file webapps/xwiki/WEB-INF/classes/logback.xml

Setting the root logger level there to "debug" will create tons of output ...
Maybe it is sufficient to enable some network related loggers, like:

  
  

which will create tons of output either, but hopefully with somewhat higher 
relevance density.

See also http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging


hope this helps
Clemens
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-28 Thread Frank Thommen



On 01/28/2016 06:23 PM, Frank Thommen wrote:

Hi Clemens

On 01/28/2016 03:25 PM, Clemens Klein-Robbenhaar wrote:


[...]


[...]
2016-01-28 13:36:53,762 [Active Installs Ping Thread] WARN 
a.i.c.ActiveInstallsPingThread - Failed to send Active Installation ping to 
[http://extensions.xwiki.org/activeinstalls]. Error = [ConnectException: 
Connection timed out]. Will retry in [86400] seconds...
[...]


I don't know what an "Active Installation ping" is, but in fact while I seem to 
be able to access this webpage:

$ curl http://extensions.xwiki.org/activeinstalls
{
"status" : 200,
"name" : "Bobster",
"version" : {
  "number" : "1.1.1",
  "build_hash" : "f1585f096d3f3985e73456debdc1a0745f512bbc",
  "build_timestamp" : "2014-04-16T14:27:12Z",
  "build_snapshot" : false,
  "lucene_version" : "4.7"
},
"tagline" : "You Know, for Search"
}
$


I cannot `ping` it:

$ ping extensions.xwiki.org
PING www.xwiki.org (104.31.71.57) 56(84) bytes of data.
^C
--- www.xwiki.org ping statistics ---
76 packets transmitted, 0 received, 100% packet loss, time 75445ms

$

Does the Distribution Manager execute a real "ping" command even though the 
webpages are accessible?  And if yes, how can I avoid this?  I doubt that our networking 
dept. will adapt any gateway configuration to to make a single software installation 
possible :-}



No, there is no ping or such; well, it relies on the library: "HTTP 
Components":  https://hc.apache.org/ to do the job.
I have to admit that I do not know exactly if this library does or does not 
send a ping first, but I do not think it does.
Even if it were so, it is not the case of the problem, as I cannot ping 
extensions.xwiki.org either, and install works from here.


The "timeout" error message seems to indicate that the connection never gets an 
error but is simply dropped somewhere.
I do not think extensions.xwiki.org drops the connection - as you can get there 
via curl ...


Any chance the application server uses some proxy settings, as described at the 
following link, but they happen to be incorrect?

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningXWikibehindproxy-server

That might explain the timeout despite the server being able to reach the 
installation repositories normally (i.e. via curl).


The application server doesn't use any proxy settings: I haven't set any
and I doubt that they are configured by default :-).  However I'm
currently trying to find out, if our network has any limitations
regarding outgoing network traffic



I have to admit that if it is not the proxy-settings then I am getting somewhat 
desperate about how to diagnose the problem.
I guess one could try to get stack traces from the server while it is starting 
up
and use the java option "-Djavax.net.debug=all" (dumps lots of stuff to the 
standard output) to see if it tries to open connections to extensions.xwiki.org
but I guess all one can get from that is that the server opens connections and 
then it waits till timeout ...


I've done this through setting the environment variable $JAVA_OPTS to
"-Djavax.net.debug=all" prior to running $tomcat_home/bin/catalina.sh.
Is that the right place?  I also set the following loggin levels in
$tomcat_home/conf/logging.properties:

java.util.logging.ConsoleHandler.level = FINEST
1catalina.org.apache.juli.AsyncFileHandler.level = FINEST


Also added

java.util.logging.ConsoleHandler.level = ALL
java.util.logging.ConsoleHandler.formatter = 
org.apache.juli.OneLineFormatter

org.apache.http.level = FINEST
org.apache.http.wire.level = SEVERE

to $tomcat_home/conf/logging.properties (according to 
https://hc.apache.org/httpcomponents-client-ga/logging.html) but still 
not seeing the wire output.  where should I find it?


frank
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-28 Thread Frank Thommen

Hi Clemens

On 01/28/2016 03:25 PM, Clemens Klein-Robbenhaar wrote:


[...]


[...]
2016-01-28 13:36:53,762 [Active Installs Ping Thread] WARN 
a.i.c.ActiveInstallsPingThread - Failed to send Active Installation ping to 
[http://extensions.xwiki.org/activeinstalls]. Error = [ConnectException: 
Connection timed out]. Will retry in [86400] seconds...
[...]


I don't know what an "Active Installation ping" is, but in fact while I seem to 
be able to access this webpage:

$ curl http://extensions.xwiki.org/activeinstalls
{
   "status" : 200,
   "name" : "Bobster",
   "version" : {
 "number" : "1.1.1",
 "build_hash" : "f1585f096d3f3985e73456debdc1a0745f512bbc",
 "build_timestamp" : "2014-04-16T14:27:12Z",
 "build_snapshot" : false,
 "lucene_version" : "4.7"
   },
   "tagline" : "You Know, for Search"
}
$


I cannot `ping` it:

$ ping extensions.xwiki.org
PING www.xwiki.org (104.31.71.57) 56(84) bytes of data.
^C
--- www.xwiki.org ping statistics ---
76 packets transmitted, 0 received, 100% packet loss, time 75445ms

$

Does the Distribution Manager execute a real "ping" command even though the 
webpages are accessible?  And if yes, how can I avoid this?  I doubt that our networking 
dept. will adapt any gateway configuration to to make a single software installation 
possible :-}



No, there is no ping or such; well, it relies on the library: "HTTP 
Components":  https://hc.apache.org/ to do the job.
I have to admit that I do not know exactly if this library does or does not 
send a ping first, but I do not think it does.
Even if it were so, it is not the case of the problem, as I cannot ping 
extensions.xwiki.org either, and install works from here.


The "timeout" error message seems to indicate that the connection never gets an 
error but is simply dropped somewhere.
I do not think extensions.xwiki.org drops the connection - as you can get there 
via curl ...


Any chance the application server uses some proxy settings, as described at the 
following link, but they happen to be incorrect?

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningXWikibehindproxy-server

That might explain the timeout despite the server being able to reach the 
installation repositories normally (i.e. via curl).


The application server doesn't use any proxy settings: I haven't set any 
and I doubt that they are configured by default :-).  However I'm 
currently trying to find out, if our network has any limitations 
regarding outgoing network traffic




I have to admit that if it is not the proxy-settings then I am getting somewhat 
desperate about how to diagnose the problem.
I guess one could try to get stack traces from the server while it is starting 
up
and use the java option "-Djavax.net.debug=all" (dumps lots of stuff to the 
standard output) to see if it tries to open connections to extensions.xwiki.org
but I guess all one can get from that is that the server opens connections and 
then it waits till timeout ...


I've done this through setting the environment variable $JAVA_OPTS to 
"-Djavax.net.debug=all" prior to running $tomcat_home/bin/catalina.sh. 
Is that the right place?  I also set the following loggin levels in 
$tomcat_home/conf/logging.properties:


java.util.logging.ConsoleHandler.level = FINEST
1catalina.org.apache.juli.AsyncFileHandler.level = FINEST


and -Djavax.net.debug=all to $tomcat_home/bin/setenv.sh

#!/bin/sh
export JAVA_OPTS="${JAVA_OPTS} -Djava.awt.headless=true 
-Djavax.net.debug=all"


Other than providing "hundreds" of "adding as trusted cert:" 
notifications in logs/catalina.out it doesn't provide any additional 
information.  Or that's not the right place to raise the verbosity level 
of the Apache HttpComponents library.




If you just want to get the server running with a proper UI anyway, I have 
written up a little HowTo :

  http://platform.xwiki.org/xwiki/bin/view/AdminGuide/FillLocalMavenRepository

To use it, one needs to install + configure maven, however ...
I am still using maven 3.0.4 from 
http://archive.apache.org/dist/maven/maven-3/3.0.4/binaries/apache-maven-3.0.4-bin.zip
but to just donwload the UI-packages any version of 3.x should "just work".


I'll have a look at this.

frank
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-28 Thread Clemens Klein-Robbenhaar
 
Hi Frank,

> Hi Clemens,
> 
>> I have to admit that I have been running out of ideas why the wiki cannot 
>> get a connection while "curl" can.
>>
>> One last try: has the gateway connecting the local network to the internet 
>> an application firewall or the like ?
>> Something that sniffs user-agents for http connections and only allows 
>> "known ones" ?
> 
> Not to my knowledge, but see below
> 
> 
>> The java client used by the XWiki installation wizard might be emulated with:
>>
>>curl --user-agent "history" http://extensions.xwiki.org

bad info given by me here, sorry; it should read:

   curl --user-agent "XWikiExtensionManager"   http://extensions.xwiki.org

anyway, this seems not to be the problem ... because the other bogus user agent 
works as well:

> 
> $ curl --user-agent "history" http://extensions.xwiki.org
> 
> 
> 302 Found
> 
> Found
> The document has moved  href="http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome";>here.
> 
> $
> 
> 
> 
>> if this works, too, I have to admit I have no clue why it does not work.
>> (Btw, there should be an error message in the log files. Is there anything 
>> like that?)
> 
> In fact, there is a single error being printed to logs/catalina.out /after/ I 
> click the "continue" button in the first step of the Distribution Manager:
> 
> 
> [...]
> 2016-01-28 13:36:53,762 [Active Installs Ping Thread] WARN 
> a.i.c.ActiveInstallsPingThread - Failed to send Active Installation ping to 
> [http://extensions.xwiki.org/activeinstalls]. Error = [ConnectException: 
> Connection timed out]. Will retry in [86400] seconds...
> [...]
> 
> 
> I don't know what an "Active Installation ping" is, but in fact while I seem 
> to be able to access this webpage:
> 
> $ curl http://extensions.xwiki.org/activeinstalls
> {
>   "status" : 200,
>   "name" : "Bobster",
>   "version" : {
> "number" : "1.1.1",
> "build_hash" : "f1585f096d3f3985e73456debdc1a0745f512bbc",
> "build_timestamp" : "2014-04-16T14:27:12Z",
> "build_snapshot" : false,
> "lucene_version" : "4.7"
>   },
>   "tagline" : "You Know, for Search"
> }
> $
> 
> 
> I cannot `ping` it:
> 
> $ ping extensions.xwiki.org
> PING www.xwiki.org (104.31.71.57) 56(84) bytes of data.
> ^C
> --- www.xwiki.org ping statistics ---
> 76 packets transmitted, 0 received, 100% packet loss, time 75445ms
> 
> $
> 
> Does the Distribution Manager execute a real "ping" command even though the 
> webpages are accessible?  And if yes, how can I avoid this?  I doubt that our 
> networking dept. will adapt any gateway configuration to to make a single 
> software installation possible :-}


No, there is no ping or such; well, it relies on the library: "HTTP 
Components":  https://hc.apache.org/ to do the job.
I have to admit that I do not know exactly if this library does or does not 
send a ping first, but I do not think it does.
Even if it were so, it is not the case of the problem, as I cannot ping 
extensions.xwiki.org either, and install works from here.


The "timeout" error message seems to indicate that the connection never gets an 
error but is simply dropped somewhere.
I do not think extensions.xwiki.org drops the connection - as you can get there 
via curl ...


Any chance the application server uses some proxy settings, as described at the 
following link, but they happen to be incorrect?

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningXWikibehindproxy-server

That might explain the timeout despite the server being able to reach the 
installation repositories normally (i.e. via curl).


I have to admit that if it is not the proxy-settings then I am getting somewhat 
desperate about how to diagnose the problem.
I guess one could try to get stack traces from the server while it is starting 
up
and use the java option "-Djavax.net.debug=all" (dumps lots of stuff to the 
standard output) to see if it tries to open connections to extensions.xwiki.org
but I guess all one can get from that is that the server opens connections and 
then it waits till timeout ...


If you just want to get the server running with a proper UI anyway, I have 
written up a little HowTo :

 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/FillLocalMavenRepository

To use it, one needs to install + configure maven, however ...
I am still using maven 3.0.4 from 
http://archive.apache.org/dist/maven/maven-3/3.0.4/binaries/apache-maven-3.0.4-bin.zip
but to just donwload the UI-packages any version of 3.x should "just work".


Clemens


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-28 Thread Frank Thommen

Hi Clemens,


I have to admit that I have been running out of ideas why the wiki cannot get a 
connection while "curl" can.

One last try: has the gateway connecting the local network to the internet an 
application firewall or the like ?
Something that sniffs user-agents for http connections and only allows "known 
ones" ?


Not to my knowledge, but see below



The java client used by the XWiki installation wizard might be emulated with:

   curl --user-agent "history" http://extensions.xwiki.org


$ curl --user-agent "history" http://extensions.xwiki.org


302 Found

Found
The document has moved href="http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome";>here.


$




if this works, too, I have to admit I have no clue why it does not work.
(Btw, there should be an error message in the log files. Is there anything like 
that?)


In fact, there is a single error being printed to logs/catalina.out 
/after/ I click the "continue" button in the first step of the 
Distribution Manager:



[...]
2016-01-28 13:36:53,762 [Active Installs Ping Thread] WARN 
a.i.c.ActiveInstallsPingThread - Failed to send Active Installation ping 
to [http://extensions.xwiki.org/activeinstalls]. Error = 
[ConnectException: Connection timed out]. Will retry in [86400] seconds...

[...]


I don't know what an "Active Installation ping" is, but in fact while I 
seem to be able to access this webpage:


$ curl http://extensions.xwiki.org/activeinstalls
{
  "status" : 200,
  "name" : "Bobster",
  "version" : {
"number" : "1.1.1",
"build_hash" : "f1585f096d3f3985e73456debdc1a0745f512bbc",
"build_timestamp" : "2014-04-16T14:27:12Z",
"build_snapshot" : false,
"lucene_version" : "4.7"
  },
  "tagline" : "You Know, for Search"
}
$


I cannot `ping` it:

$ ping extensions.xwiki.org
PING www.xwiki.org (104.31.71.57) 56(84) bytes of data.
^C
--- www.xwiki.org ping statistics ---
76 packets transmitted, 0 received, 100% packet loss, time 75445ms

$

Does the Distribution Manager execute a real "ping" command even though 
the webpages are accessible?  And if yes, how can I avoid this?  I doubt 
that our networking dept. will adapt any gateway configuration to to 
make a single software installation possible :-}


Cheers
Frank
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-26 Thread Clemens Klein-Robbenhaar
 
I have to admit that I have been running out of ideas why the wiki cannot get a 
connection while "curl" can.

One last try: has the gateway connecting the local network to the internet an 
application firewall or the like ?
Something that sniffs user-agents for http connections and only allows "known 
ones" ?

The java client used by the XWiki installation wizard might be emulated with:

  curl --user-agent "history" http://extensions.xwiki.org

if this works, too, I have to admit I have no clue why it does not work.
(Btw, there should be an error message in the log files. Is there anything like 
that?)

Clemens

- Ursprüngliche Nachricht -
From: Frank Thommen
On:  Saturday, 23.01.2016, 16:13
To: XWiki Users
Subject: Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't 
find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' 
and version '7.4'."


> On 22.01.16 15:12, Clemens Klein-Robbenhaar wrote:
>>
>> some random ideas:
>>
>>   - in WEB-INF/xwiki.properties: are any settings for 
>> extension.repositories=...  enabled
>> or are they all commented?
> 
> They are all commented
> 
> 
>> They should be all commented, of if there are active ones (even empty 
>> ones),
>> at least the two "defaults" must be defined, too:
>>
>> extension.repositories=maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
>>
>> extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/
> 
> There are only the following - commented - settings:
> 
> $ grep extension\.repositories xwiki.properties
> # extension.repositories=privatemavenid:maven:http://host.com/private/maven/
> # extension.repositories.privatemavenid.auth.user=someuser
> # extension.repositories.privatemavenid.auth.password=thepassword
> # extension.repositories=local:maven:file://${sys:user.home}/.m2/repository
> # 
> extension.repositories=maven-xwiki-snapshot:maven:http://nexus.xwiki.org/nexus/content/groups/public-snapshots
> # 
> extension.repositories=maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
> # 
> extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/
> # extension.repositories=
> $
> 
> I will try with uncommenting the two proposed defaults next week.
> 
> 
>> If I uncomment just a lone 'extension.repositories=' I get exactly the 
>> error in the screenshot
>>
>>   - Another idea: any chance there is a name resolution problem on the 
>> server?
>>
>>  extensions.xwiki.org should resolve to 5.135.240.206 (currently)
> 
> works fine:
> 
> $ host extensions.xwiki.org
> extensions.xwiki.org has address 5.135.240.206
> $
> 
> 
>>  "curl http://extensions.xwiki.org"; -> should return a 302 to the Start 
>> page
> 
> fine, too:
> 
> $ curl http://extensions.xwiki.org
> 
> 
> 302 Found
> 
> Found
> The document has moved  href="http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome";>here.
> 
> $
> 
> 
> frank
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

mit freundlichen Grüßen
Clemens Klein-Robbenhaar

-- 
Clemens Klein-Robbenhaar
Software Development
EsPresto AG
Breite Str. 30-31
10178 Berlin/Germany
Tel: +49.(0)30.90 226.763
Fax: +49.(0)30.90 226.760
robbenh...@espresto.com
www.espresto.de

HRB 77554 B - Berlin-Charlottenburg
Vorstand: Maya Biersack, Peter Biersack
Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
Zertifiziert nach ISO 9001:2008
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-23 Thread Frank Thommen

On 22.01.16 15:12, Clemens Klein-Robbenhaar wrote:


some random ideas:

  - in WEB-INF/xwiki.properties: are any settings for 
extension.repositories=...  enabled
or are they all commented?


They are all commented



They should be all commented, of if there are active ones (even empty ones),
at least the two "defaults" must be defined, too:
   
extension.repositories=maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
   
extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/


There are only the following - commented - settings:

$ grep extension\.repositories xwiki.properties
# extension.repositories=privatemavenid:maven:http://host.com/private/maven/
# extension.repositories.privatemavenid.auth.user=someuser
# extension.repositories.privatemavenid.auth.password=thepassword
# extension.repositories=local:maven:file://${sys:user.home}/.m2/repository
# 
extension.repositories=maven-xwiki-snapshot:maven:http://nexus.xwiki.org/nexus/content/groups/public-snapshots
# 
extension.repositories=maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
# 
extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/

# extension.repositories=
$

I will try with uncommenting the two proposed defaults next week.



If I uncomment just a lone 'extension.repositories=' I get exactly the 
error in the screenshot

  - Another idea: any chance there is a name resolution problem on the server?

 extensions.xwiki.org should resolve to 5.135.240.206 (currently)


works fine:

$ host extensions.xwiki.org
extensions.xwiki.org has address 5.135.240.206
$



 "curl http://extensions.xwiki.org"; -> should return a 302 to the Start page


fine, too:

$ curl http://extensions.xwiki.org


302 Found

Found
The document has moved href="http://extensions.xwiki.org/xwiki/bin/view/Main/WebHome";>here.


$


frank
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-22 Thread Frank Thommen



On 01/22/2016 02:32 PM, Marius Dumitru Florea wrote:

[...]


Is there a way to manually install this extension?



You can download the XAR file from
http://enterprise.xwiki.org/xwiki/bin/view/Main/Download#HStable and follow
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationConcludingSteps
from "Alternatively you can skip ..." . But it would be better to
understand the problem.


Thx for the links.  I agree and I'd also prefer to understand the 
problem rather than applying workarounds :-)


frank
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-22 Thread Clemens Klein-Robbenhaar

some random ideas:

 - in WEB-INF/xwiki.properties: are any settings for extension.repositories=... 
 enabled
   or are they all commented?
   They should be all commented, of if there are active ones (even empty ones),
   at least the two "defaults" must be defined, too:
  
extension.repositories=maven-xwiki:maven:http://nexus.xwiki.org/nexus/content/groups/public
  
extension.repositories=extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest/

   If I uncomment just a lone 'extension.repositories=' I get exactly the error 
in the screenshot

 - Another idea: any chance there is a name resolution problem on the server?

extensions.xwiki.org should resolve to 5.135.240.206 (currently)

"curl http://extensions.xwiki.org"; -> should return a 302 to the Start page


Clemens


From: Marius Dumitru Florea
At:  Friday, 22.01.2016, 14:32
Subj: Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find 
any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and 
version '7.4'."


> On Fri, Jan 22, 2016 at 1:56 PM, Frank Thommen > wrote:
> 
>> Hi Marius,
>>
>> You need to make sure you have internet access. If you are behind a proxy
>>> you should check
>>>
>>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningXWikibehindproxy-server
>>>
>>
>> We have internet access and we are not using a proxy (afaik). However
>> although we /can/ reach the internet, our hosts are not reachable /from/
>> the internet (NAT) but I don't assume that's required.
>>
>> Also I cannot find any "connection refused" exceptions in tomcat/logs/*.
>>
>>
>> . It may also happen that the extensions.xwiki.org is down at the moment
>>> you try to run the Distribution Wizard. You should try again a bit later.
>>>
>>
>>
>> I'm trying since over 24 hours now, at least 10-15 times. I cannot
>> imagine, that extensions.xwiki.org was down all the time. It is reachable
>> by https right now and I still experience the error message
>>
>>
> 
>> Is there a way to manually install this extension?
>>
> 
> 
> You can download the XAR file from
> http://enterprise.xwiki.org/xwiki/bin/view/Main/Download#HStable and follow
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationConcludingSteps
> from "Alternatively you can skip ..." . But it would be better to
> understand the problem.
> 
> 
>>
>> Frank
>>
>>
>>
>> Hope this helps,
>>> Marius
>>>
>>> On Fri, Jan 22, 2016 at 1:11 PM, Frank Thommen <
>>> f.thom...@dkfz-heidelberg.de
>>>
>>>> wrote:
>>>>
>>>
>>> Hi,
>>>>
>>>> when working through the Distrbution Wizard of our freshly installed
>>>> XWiki
>>>> Enterprise 7.4 (WEB installation), at step 1 (User Interface) we are
>>>> faced
>>>> with the following message:
>>>>
>>>> "
>>>> We couldn't find any extension with id
>>>> 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'.
>>>> Make
>>>> sure you have the right extension repositories configured.
>>>> "
>>>>
>>>> The complete creenshot can be found at http://imgur.com/Uc2F9pr.
>>>>
>>>> I've copied the file
>>>> "org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-7.4.xar" (from
>>>>
>>>> http://extensions.xwiki.org/xwiki/rest/repository/extensions/org.xwiki.enterprise%3Axwiki-enterprise-ui-mainwiki/versions/7.4/file?rid=maven-xwiki
>>>> ")
>>>> into WEB-INF/extensions to no avail.
>>>>
>>>>
>>>> The installation instructions doesn't mention any required step regarding
>>>> the configuration of extensions or extension respositories or where these
>>>> respositories are.  Therefore I'm a little bit at a loss here.
>>>>
>>>> Our system is running on OpenSuSE 13.1 with PostgreSQL 9.2.14 (from
>>>> repo),
>>>> Apache Tomcat 8.0.30 (manually installed) and XWiki Enterprise 7.4 (WEB,
>>>> manually installed).
>>>>
>>>> Any pointer to fix this problem are appreciated.
>>>>
>>>> Cheers
>>>> Frank
>>>> ___
>>>> users mailing list
>>>> users@xwiki.org
>>>> http://lists.xwi

Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-22 Thread Marius Dumitru Florea
On Fri, Jan 22, 2016 at 1:56 PM, Frank Thommen  wrote:

> Hi Marius,
>
> You need to make sure you have internet access. If you are behind a proxy
>> you should check
>>
>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningXWikibehindproxy-server
>>
>
> We have internet access and we are not using a proxy (afaik). However
> although we /can/ reach the internet, our hosts are not reachable /from/
> the internet (NAT) but I don't assume that's required.
>
> Also I cannot find any "connection refused" exceptions in tomcat/logs/*.
>
>
> . It may also happen that the extensions.xwiki.org is down at the moment
>> you try to run the Distribution Wizard. You should try again a bit later.
>>
>
>
> I'm trying since over 24 hours now, at least 10-15 times. I cannot
> imagine, that extensions.xwiki.org was down all the time. It is reachable
> by https right now and I still experience the error message
>
>

> Is there a way to manually install this extension?
>


You can download the XAR file from
http://enterprise.xwiki.org/xwiki/bin/view/Main/Download#HStable and follow
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationConcludingSteps
from "Alternatively you can skip ..." . But it would be better to
understand the problem.


>
> Frank
>
>
>
> Hope this helps,
>> Marius
>>
>> On Fri, Jan 22, 2016 at 1:11 PM, Frank Thommen <
>> f.thom...@dkfz-heidelberg.de
>>
>>> wrote:
>>>
>>
>> Hi,
>>>
>>> when working through the Distrbution Wizard of our freshly installed
>>> XWiki
>>> Enterprise 7.4 (WEB installation), at step 1 (User Interface) we are
>>> faced
>>> with the following message:
>>>
>>> "
>>> We couldn't find any extension with id
>>> 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'.
>>> Make
>>> sure you have the right extension repositories configured.
>>> "
>>>
>>> The complete creenshot can be found at http://imgur.com/Uc2F9pr.
>>>
>>> I've copied the file
>>> "org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-7.4.xar" (from
>>>
>>> http://extensions.xwiki.org/xwiki/rest/repository/extensions/org.xwiki.enterprise%3Axwiki-enterprise-ui-mainwiki/versions/7.4/file?rid=maven-xwiki
>>> ")
>>> into WEB-INF/extensions to no avail.
>>>
>>>
>>> The installation instructions doesn't mention any required step regarding
>>> the configuration of extensions or extension respositories or where these
>>> respositories are.  Therefore I'm a little bit at a loss here.
>>>
>>> Our system is running on OpenSuSE 13.1 with PostgreSQL 9.2.14 (from
>>> repo),
>>> Apache Tomcat 8.0.30 (manually installed) and XWiki Enterprise 7.4 (WEB,
>>> manually installed).
>>>
>>> Any pointer to fix this problem are appreciated.
>>>
>>> Cheers
>>> Frank
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
> --
> Frank Thommen  | HD-HuB / DKFZ Heidelberg
>| f.thom...@dkfz-heidelberg.de
>| +49-6221-54-5823 (Mo-Mi)
>| +49-6221-42-3562 (Do-Fr)
>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-22 Thread Frank Thommen

Hi Marius,


You need to make sure you have internet access. If you are behind a proxy
you should check
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningXWikibehindproxy-server


We have internet access and we are not using a proxy (afaik). However 
although we /can/ reach the internet, our hosts are not reachable /from/ 
the internet (NAT) but I don't assume that's required.


Also I cannot find any "connection refused" exceptions in tomcat/logs/*.



. It may also happen that the extensions.xwiki.org is down at the moment
you try to run the Distribution Wizard. You should try again a bit later.



I'm trying since over 24 hours now, at least 10-15 times. I cannot 
imagine, that extensions.xwiki.org was down all the time. It is 
reachable by https right now and I still experience the error message


Is there a way to manually install this extension?

Frank



Hope this helps,
Marius

On Fri, Jan 22, 2016 at 1:11 PM, Frank Thommen 
wrote:



Hi,

when working through the Distrbution Wizard of our freshly installed XWiki
Enterprise 7.4 (WEB installation), at step 1 (User Interface) we are faced
with the following message:

"
We couldn't find any extension with id
'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'. Make
sure you have the right extension repositories configured.
"

The complete creenshot can be found at http://imgur.com/Uc2F9pr.

I've copied the file
"org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-7.4.xar" (from
http://extensions.xwiki.org/xwiki/rest/repository/extensions/org.xwiki.enterprise%3Axwiki-enterprise-ui-mainwiki/versions/7.4/file?rid=maven-xwiki";)
into WEB-INF/extensions to no avail.


The installation instructions doesn't mention any required step regarding
the configuration of extensions or extension respositories or where these
respositories are.  Therefore I'm a little bit at a loss here.

Our system is running on OpenSuSE 13.1 with PostgreSQL 9.2.14 (from repo),
Apache Tomcat 8.0.30 (manually installed) and XWiki Enterprise 7.4 (WEB,
manually installed).

Any pointer to fix this problem are appreciated.

Cheers
Frank
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users



--
Frank Thommen  | HD-HuB / DKFZ Heidelberg
   | f.thom...@dkfz-heidelberg.de
   | +49-6221-54-5823 (Mo-Mi)
   | +49-6221-42-3562 (Do-Fr)

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-22 Thread Marius Dumitru Florea
Hi Frank,

You need to make sure you have internet access. If you are behind a proxy
you should check
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningXWikibehindproxy-server
. It may also happen that the extensions.xwiki.org is down at the moment
you try to run the Distribution Wizard. You should try again a bit later.

Hope this helps,
Marius

On Fri, Jan 22, 2016 at 1:11 PM, Frank Thommen  wrote:

> Hi,
>
> when working through the Distrbution Wizard of our freshly installed XWiki
> Enterprise 7.4 (WEB installation), at step 1 (User Interface) we are faced
> with the following message:
>
> "
> We couldn't find any extension with id
> 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'. Make
> sure you have the right extension repositories configured.
> "
>
> The complete creenshot can be found at http://imgur.com/Uc2F9pr.
>
> I've copied the file
> "org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-7.4.xar" (from
> http://extensions.xwiki.org/xwiki/rest/repository/extensions/org.xwiki.enterprise%3Axwiki-enterprise-ui-mainwiki/versions/7.4/file?rid=maven-xwiki";)
> into WEB-INF/extensions to no avail.
>
>
> The installation instructions doesn't mention any required step regarding
> the configuration of extensions or extension respositories or where these
> respositories are.  Therefore I'm a little bit at a loss here.
>
> Our system is running on OpenSuSE 13.1 with PostgreSQL 9.2.14 (from repo),
> Apache Tomcat 8.0.30 (manually installed) and XWiki Enterprise 7.4 (WEB,
> manually installed).
>
> Any pointer to fix this problem are appreciated.
>
> Cheers
> Frank
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] XWiki 7.4 Distribution Wizard says: "We couldn't find any extension with id 'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'."

2016-01-22 Thread Frank Thommen

Hi,

when working through the Distrbution Wizard of our freshly installed 
XWiki Enterprise 7.4 (WEB installation), at step 1 (User Interface) we 
are faced with the following message:


"
We couldn't find any extension with id 
'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'. 
Make sure you have the right extension repositories configured.

"

The complete creenshot can be found at http://imgur.com/Uc2F9pr.

I've copied the file 
"org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-7.4.xar" (from 
http://extensions.xwiki.org/xwiki/rest/repository/extensions/org.xwiki.enterprise%3Axwiki-enterprise-ui-mainwiki/versions/7.4/file?rid=maven-xwiki";) 
into WEB-INF/extensions to no avail.



The installation instructions doesn't mention any required step 
regarding the configuration of extensions or extension respositories or 
where these respositories are.  Therefore I'm a little bit at a loss here.


Our system is running on OpenSuSE 13.1 with PostgreSQL 9.2.14 (from 
repo), Apache Tomcat 8.0.30 (manually installed) and XWiki Enterprise 
7.4 (WEB, manually installed).


Any pointer to fix this problem are appreciated.

Cheers
Frank
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users