Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ThomasMortagne1 +XWiki.iandriuta - Content
-
... ... @@ -113,6 +113,36 @@ 113 113 114 114 Note: If your proxy server only allows partial access to the internet you need to make sure that the sites ##store.xwiki.com##, ##extensions.xwiki.org## and ##nexus.xwiki.org## (note that one is .##com## and the others are ##.org##) can be accessed. 115 115 116 +=== Debugging proxy configuration issues === 117 + 118 +If you are having trouble with debugging whether or not the proxy configuration you've just made is properly read by XWiki, you could drop the following groovy script in a new page on your XWiki instance and look for the values of the (proxy) properties you're trying to change: 119 + 120 +{{code language="groovy"}} 121 +{{groovy}} 122 +println "== Environment Variables ==" 123 +System.getenv().each { name, value -> println "Name: {{{$name}}} = Value {{{$value}}}" } 124 +println "" 125 +println "== Java System Properties ==" 126 +System.getProperties().each { name, value -> println "Name: {{{$name}}} = Value {{{$value}}}" } 127 +{{/groovy}} 128 +{{/code}} 129 + 130 +Additionally, you could also include this test content that actually tests if your XWiki instance is able to access the Internet (using the "httpbin" service; you can use anything else, including google.com), for both HTTP and HTTPs: 131 + 132 +{{code language="velocity"}} 133 +== Test HTTP Access == 134 +Your XWiki server's IP is: 135 +{{velocity}} 136 +$xwiki.getURLContent("http://httpbin.org/ip") 137 +{{/velocity}} 138 + 139 +== Test HTTPS Access == 140 +Your XWiki server's IP is: 141 +{{velocity}} 142 +$xwiki.getURLContent("https://httpbin.org/ip") 143 +{{/velocity}} 144 +{{/code}} 145 + 116 116 == Unsupported major.minor version 51.0 == 117 117 118 118 This is because starting with version 6.0, XWiki requires Java 7 and you're using Java 6. You need to upgrade your Java version. ... ... @@ -149,3 +149,4 @@ 149 149 * Install in a folder that is as close to the root of the drive as possible and uses a small name, e.g. ##C:\xwiki## 150 150 * Install XWiki using the [[cygwin>>https://www.cygwin.com/]] environment that overcomes this limitation 151 151 * Starting with Windows 10, you can set or create the ##EnableLongPaths## with a value of ##1## in the in the ##HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem## Windows Registry in order to activate support for long paths. More details and step-by-step instructions are available in various online tutorials such as [[this one>>https://www.howtogeek.com/266621/how-to-make-windows-10-accept-file-paths-over-260-characters/]]. 182 +* As Windows Unarchiver cannot unzip files with long paths, can be used instead [[7-Zip>>https://www.7-zip.org/]]