after i install flavor…i got this error message when i restart xwiki
[ACTIVE INSTALLS PING THREAD]
why this happen?
It means you machine cannot reach extensions.xwiki.org
. You can try to ping it from the machine.
i can not make any ping outside my network… and there is no internet connection…i need complete offline installation…
so it’s normal to get this error… what were you expecting?
For installation see https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/
And especially https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/#HInstallingwithoutinternetconnection for offline installation.
You should take a look at https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/#HExtensionRepositories.
i am also changed the xwiki.properties config file… but still the flavor window is empty…
i unzip flavor file into
/data/setup/xwiki/xwiki-platform-distribution-jetty-hsqldb-10.7/data/extension/repository
when i done this in my laptop i get the flavor [laptop not connected to internet]…but when i done this into the server there is nothing…
- Finished job of type [solr.indexer] with identifier [[solr, indexer]]
2019-03-21 11:57:43.028:INFO:oejshC.xwiki:http://192.168.15.120:8080/xwiki/rest/jobstatus/flavor/search/wiki%3Axwiki: RestletServlet: [Restlet] ServerServlet: component class is null
2019-03-21 11:57:44.652:INFO:oejshC.xwiki:http://192.168.15.120:8080/xwiki/rest/jobstatus/flavor/search/wiki%3Axwiki: RestletServlet: [Restlet] Attaching application: org.xwiki.rest.internal.XWikiRestletJaxRsApplication@1fdf5511 to URI: /xwiki/rest
You unziped the content of the archive directly in this folder and not in a subfolder, right ? Have you restarted after that ?
yess…and then i am restarted…
pls see the path…
And the XIP you download and unziped is the 10.7 one ?
No…
xwiki-platform-distribution-flavor-xip-11.1.zip is the XIP file and
xwiki-platform-distribution-jetty-hsqldb-10.7.zip is the Xwiki zip file
Then that’s your issue. I made https://www.xwiki.org/xwiki/bin/view/Documentation/AdminGuide/Installation/#HXIPpackage more explicit.
ok…then how can i install extensions manually?.. i mean there is no internet connection… so i download all needed extensions from a machine and copied it to my server…
You just download the right version of the Flavor XIP package. At the bottom of the download pages is indicated where older versions can be found, so in your case it’s https://nexus.xwiki.org/nexus/content/repositories/releases/org/xwiki/platform/xwiki-platform-distribution-flavor-xip/10.7/xwiki-platform-distribution-flavor-xip-10.7.xip.
yes… i done it…thnx…
how can i install extensions manually?.. i mean there is no internet connection… so i download all needed extensions from a machine and copied it to my server…
Manual install is explain on each extension (WEB-INF/lib for the JAR extensions and import for the XAR extensions). The hard part is often not installing the extension itself but finding all the dependencies you need.
so…firstly i need to import XAR extension file into xwiki and after that copy all jar dependencies files into WEB-INF/lib…isn’t ?
You need to gather all the XAR and JAR files which are not already installed extension (for example extensions parts of the WAR or part of the flavor) and then yes put the JARs in WEB-INF/lib as documented and import the XAR files. It’s generally better to install JAR files first since they require a restart (plus it’s generally safer to install dependencies before the extension since the extension cannot work without them).
ok…thnx
In Solr Search Application it needs the following dependencies
- org.xwiki.platform:xwiki-platform-search-ui 11.2
- org.xwiki.platform:xwiki-platform-search-solr-api 11.2
- org.xwiki.platform:xwiki-platform-search-solr-query 11.2
- org.xwiki.platform:xwiki-platform-wiki-script 11.2
- org.webjars:requirejs 2.2.0
- org.webjars:jquery 2.2.2
here the 2nd and 3rd dependencies also have other dependencies
ie…org.xwiki.platform:xwiki-platform-search-solr-api 11.2 Requires the following
org.apache.solr:solr-solrj 6.4.2
org.apache.solr:solr-core 6.4.2
org.restlet.jse:org.restlet 2.3.12
org.apache.commons:commons-lang3 3.8.1
xalan:xalan 2.7.2
org.xwiki.platform:xwiki-platform-tika-parsers 11.2
org.xwiki.commons:xwiki-commons-component-api 11.2
org.xwiki.commons:xwiki-commons-environment-api 11.2
org.xwiki.platform:xwiki-platform-model 11.2
org.xwiki.platform:xwiki-platform-oldcore 11.2
org.xwiki.platform:xwiki-platform-bridge 11.2
org.xwiki.platform:xwiki-platform-query-manager 11.2
and org.xwiki.platform:xwiki-platform-search-solr-query 11.2 Requires
org.xwiki.platform:xwiki-platform-query-manager 11.2
org.xwiki.platform:xwiki-platform-model 11.2
org.xwiki.platform:xwiki-platform-search-solr-api 11.2
org.xwiki.platform:xwiki-platform-oldcore 11.2
so is it necessary to download all these sub dependencies?