We couldn't find any extension in Step2- Wizard

i’m a Newbie in xWiki. My Installations Details:
TomCat 7.075, xwiki Enterprise 9.4, MySql57;Java 1.8.0.121 b-13 SE

I started the Browser with the follow commands:
localhost:8080/xwiki
The Distributions Wizard appears and i fill out credentials.

But in Step 2 an error occured:
ERROR:
We couldn’t find any extension with id ‘org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki’ and version ‘9.4’. Make sure you have the right extension repositories configured.

Can anyone help me?

Thanks a lot,
vBert

This usually means that the server on which XWiki is installed is not allowed to access http://nexus.xwiki.org/nexus/content/groups/public/ (which is where it downloads the default UI from).

Wow… so quickly!

Ok, if i copie the link, and put it in the browser and try to download the files it worked.

Have you another idea?

Thanks, vBert

Did you try again ? Maybe you had some network issue last time you tried it.

You should take a look at the log which should give you more detail on why it failed to find the UI. Could be a timeout for example if you have a network speed issue (default connection timeout is 10 seconds from what I remember).

Our Network is very quickly!
Your tip to Show the log give me results.
Look:
SCHWERWIEGEND: The web application [] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak.
Jun 13, 2017 10:27:26 AM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
SCHWERWIEGEND: The web application [/xwiki] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Jun 13, 2017 10:27:26 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SCHWERWIEGEND: The web application [/xwiki] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@11f36c3]) and a value of type [java.util.Stack] (value [[org.xwiki.context.ExecutionContext@1046a95]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jun 13, 2017 10:27:26 AM org.apache.catalina.loader.WebappClassLoaderBase checkThreadLocalMapForLeaks
SCHWERWIEGEND: The web application [/xwiki] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@11f36c3]) and a value of type [java.util.Stack] (value [[org.xwiki.context.ExecutionContext@11efba5]]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak.
Jun 13, 2017 10:27:26 AM org.apache.coyote.AbstractProtocol stop
Have i the wrong JDBC Driver?
Thanks, vBert

This log was logged during Tomcat shutdown.

You should start XWiki and looks at the log right after you see the message about missing extension. Since the extension is definitely here you should see an error in the log explaining why it failed to reach it.

I started the xWiki and here the Log-Entrys:
2017-06-13 17:33:01,329 [http://localhost:8080/xwiki/bin/distribution/XWiki/Distribution?xredirect=%2Fxwiki%2Fbin%2Fview%2FMain%2F] ERROR aultExtensionRepositoryManager - Unexpected error when trying to find extension [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-9.4] in repository [extensions.xwiki.org:xwiki:http://extensions.xwiki.org/xwiki/rest]
org.xwiki.extension.ResolveException: Failed to create extension object for extension [org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-9.4]
at org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository.resolve(XWikiExtensionRepository.java:344)

Thanks for your help!
vBert

Could you paste the complete error with all the “causes by” etc.

Hello tmortagne,

in the Log are more then 2 Links. I have no rights as “Newbie”.

Can i upload the Log?

Thanks, vBert

You can try but no idea what are the limitations in the forum for the file size.

How can i upload the Log?
It’s not possible for me, because there is no Options for uploading files.

Thanks, vBert

When I write a new message I have an “Upload” button in the tool bar. You don’t see it ?

Hello tmortagne,

yes, I see the Button, the description say “Images upload”.

Sorry, the file you are trying to upload is not authorized (authorized extensions: jpg, jpeg, png, gif).

Thanks,
vBert

I added “.txt” and “.log” to allowed file extensions (if your log has a different extension just rename it to “.txt”).

Hello tmortagno,

Now the News:
Sorry, new users can not upload attachments…

thanks for your Patience!
vBert

Should work better now.

tomcat7-stdout.2017-06-14.txt (101.3 KB)

Super! Now with attachment.

Thanks for your help, great help!
vBert

Caused by: java.net.ConnectException: Connection refused: connect

So according to your log XWiki (Java actually) is not allowed to access http://nexus.xwiki.org. Sounds like a proxy to me that you forgot you configured in your browser.

See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningXWikibehindproxy-server for more details about how to support proxy servers.

Hello tmortagne,
now i have time to answer.
I have always the same Problem: Connection refused.
Look for the Entrys in JAVA_OPTIONS:
Jun 21, 2017 1:40:07 PM org.apache.catalina.startup.VersionLoggerListener log
INFORMATION: Command line argument: -Dappserver.home=CATALINA_HOME -Dappserver.base=CATALINA_HOME -Dhttp.proxyHost=Proxy.Name.com -Dhttp.proxyPort=8080 -Dhttps.proxyHost=proxy.Name.com -Dhttps.proxyPort=8080
Is that the right Place for the Proxy-Preferences?

Thanks a lot,
vBert

I can’t see, that the nexus at http://nexus.xwiki.org/nexus/content/groups/public/ or even http://nexus.xwiki.org is currently accessible.