ive been trying to install the default flavor OFFLINE for the last 2 days without success! I followed the instructions as follows but still ends up empty on the Distribution Wizard.
– Details –
xwiki version : 10.11.9 (war)
mysql 5.7.28
tomcat 7.0
flavor version: 10.11.9
Steps as stated in Installation guide:
download it (use the exact same version of the XIP package as the version of XWiki you have)
Unzip it (rename it to .zip if your zip tool does not recognize it) in the folder /extension/repository (if you get complains about already existing files don’t overwrite them)
Restart XWiki if it was running
Resume standard installation, this time it will find the flavor local
the permanentDirectory is:
root@baluvm1[VM]: repository# ll /var/local/xwiki/
insgesamt 0
drwxr-xr-x. 3 tomcat tomcat 23 12. Nov 21:37 cache
drwxr-xr-x. 3 tomcat tomcat 24 12. Nov 21:37 extension
drwxr-xr-x. 3 tomcat tomcat 20 12. Nov 21:37 jobs
drwxr-xr-x. 5 tomcat tomcat 62 12. Nov 21:37 solr
and I unzipped the file xwiki-platform-distribution-flavor-xip-10.11.9.zip in:
root@baluvm1[VM]: repository# pwd
/var/local/xwiki/extension/repository
You created that folder and configured it in xwiki.properties ?
What you describe looks good. All I can think of is /var/local/xwiki/ not really being the permanent directory configured in xwiki.properties. The permanent directory is logged at startup to be extra sure. You don’t get any error or warning at startup ?
This configuration is used to list remote repositories, so nothing to do with the XIP package which contains local repository stuff.
Blockquote
What you describe looks good. All I can think of is /var/local/xwiki/ not really being the permanent directory configured in xwiki.properties . The permanent directory is logged at startup to be extra sure. You don’t get any error or warning at startup ?
The Variable ‘environment.permanentDirectory’ is in xwiki.properties defined
root@baluvm1[VM]: tomcat# tail -n20 logs/catalina.2019-11-18.log
Nov 18, 2019 8:48:05 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SCHWERWIEGEND: The web application [/xwiki] appears to have started a thread named [XWiki's extension job history saving thread] but has failed to stop it. This is very likely to create a memory leak.
Nov 18, 2019 8:48:05 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SCHWERWIEGEND: The web application [/xwiki] appears to have started a thread named [Core extension repository updater] but has failed to stop it. This is very likely to create a memory leak.
Nov 18, 2019 8:48:11 PM org.apache.catalina.startup.TldConfig execute
INFORMATION: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Nov 18, 2019 8:48:14 PM org.apache.catalina.loader.WebappClassLoaderBase loadClass
INFORMATION: Illegal access: this web application instance has been stopped already. Could not load ch.qos.logback.classic.spi.ThrowableProxy. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1777)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
at ch.qos.logback.classic.spi.LoggingEvent.<init>(LoggingEvent.java:119)
at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:419)
at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:383)
at ch.qos.logback.classic.Logger.error(Logger.java:534)
at org.xwiki.extension.repository.internal.DefaultExtensionRepositoryManager.resolve(DefaultExtensionRepositoryManager.java:291)
at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionScanner.updateExtensions(DefaultCoreExtensionScanner.java:116)
at org.xwiki.extension.repository.internal.core.DefaultCoreExtensionRepository$1.run(DefaultCoreExtensionRepository.java:138)
at java.lang.Thread.run(Thread.java:748)