Hello,
I am using (as stated) XWiki 8.4.3 on a CentOS7-VM running in a
docker-container.
I am using a gradle script to push markdown-files and images to the
wiki. The markdown is being wrapped in an xml envelope and pushed to
the REST-API, which works nicely. The envelope looks like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<page xmlns="http://www.xwiki.org">
<title>TITLE</title>
<syntax>markdown/1.2</syntax>
<content>CONTENT</content>
</page>
TITLE and CONTENT are being replaced with the corresponding items, which
are all escaped, so the problem is not with escaping.
We are keeping the files in a structure like the XWiki page-structure,
so we have a directory which contains the markdown and its images
(corresponding to page, WenHome and attachments) and this contains other
directories which in turn.. you get the idea. Basically, every directory
is a page, every markdown-file is a WebHome and every other file is
an attachment.
Right now I am doing two iterations, one fetches the markdown files and
the second fetches all other files.
I am pushing the markdown with XML Content type and the Attachments
with BINARY content-type (both from groovyx.net.http.ContentType.*).
Now my problem is that when I upload the attachments, every single
attachment adds a new version to the page history. I tried to mitigate
this by adding
<majorVersion>1</majorVersion>
and
<version>1.1</version>
to the envelope, but these seem to be unevaluated, as the major version
is still increased with every upload.
So my question is: is there a way to:
a) make sure the minor version is upgraded instead of the major version
when sending an attachment
b) replace the history of the page with a single major.minor-version
history (as is done when importing .xar-files)
c) upload the page with all its attachments at once, without having to
change it from markdown to XAR?
Hi,
I have a attached image on a page.
My aim is to use the image as a background image,
So the resulting HTML should be
<div style="background-image: url(http://i54.tinypic.com/4zuxif.jpg)"></div>
So in the HTML-macro I have a $doc.getAttachmentURL('xxx.png')
But executing it it looks like the wiki-engine is also transforming the "background-image:" as a wiki image, so I get resource not found errors?
Any suggestion how to wrap?
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
I have a couple of pages that are loading very slowly - like 15-20 second delay on loading. Other pages load just fine. I've always found the profile pages load slowly, but had a specific space start to do this recently. I tried disabling the TAG CLOUD panel that is on that page and page load time normalized.
Wondering if anyone else had found that tag cloud panel has an issue here? Is there a max number of entries after which it would start to degrade performance? Thoughts or insight appreciated.
Paul Pinkerton
KnowledgeNow Project Lead
pinkerp(a)lao.on.ca<mailto:pinkerp@lao.on.ca>
Skype: pinkerp.lao<skype:pinkerp.lao>
Association of Community Legal Clinics of Ontario
416-847-1418 or 1-866-965-1416x 5177
www.aclco.org<http://www.aclco.org/>
Hi.
We have upgraded xwiki enterprise from 8 to 9.0 versionb on
debian:
apt-get update && apt-get upgrade
# dpkg -l | grep xwiki
ii xwiki-enterprise-common 9.0+3
ii xwiki-enterprise-pgsql-common 9.0+3
ii xwiki-enterprise-tomcat8-common 9.0+3
ii xwiki-enterprise-tomcat8-pgsql 9.0+3
And now we can't get started xwiki. The following error is
received:
SEVERE: Exception sending context initialized event to listener instance
of class org.xwiki.container.servlet.XWikiServletContextListener
java.lang.NoClassDefFoundError: Failed to get fields for class
[org.xwiki.activeinstalls.internal.client.DefaultPingSender] because the
class [io/searchbox/Action] couldn't be found in the ClassLoader.
at
org.xwiki.component.util.ReflectionUtils.getAllFields(ReflectionUtils.java:72)
at
org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptor(ComponentDescriptorFactory.java:132)
at
org.xwiki.component.annotation.ComponentDescriptorFactory.createComponentDescriptors(ComponentDescriptorFactory.java:105)
at
org.xwiki.component.annotation.ComponentAnnotationLoader.register(ComponentAnnotationLoader.java:168)
at
org.xwiki.component.annotation.ComponentAnnotationLoader.initialize(ComponentAnnotationLoader.java:136)
at
org.xwiki.component.annotation.ComponentAnnotationLoader.initialize(ComponentAnnotationLoader.java:118)
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:151)
at
org.xwiki.container.servlet.XWikiServletContextListener.contextInitialized(XWikiServletContextListener.java:61)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4832)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:581)
at
org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1685)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
фев 08, 2017 6:03:35 PM org.apache.catalina.core.StandardContext
startInternal
SEVERE: Error listenerStart
Can someone help ?
Hi,
We have an xwiki 6.1 installation and we can't figure out the « Share page by email » function.
It works very well for Admin users, but it doesn't work for regular users. We get an error message saying "Error: The message could not be sent to userX : email server error." (Or in French : Le message n'a pas pu être envoyé à UserX : Erreur du serveur email.)
It's the same error message seen for this problem (look at the error.png attachment) : http://jira.xwiki.org/browse/XE-1451
It looks like a permission problem, but I don't where to look. The stack trace on the other hand says that there is an illegal semicolon somewhere in the address field, which prevents the MailSenderPlugin from sending the email. Again, only for regular users, Admins are OK. I've intercepted the http requests with Fiddler, even look at the POST payload and I don't see any semicolon.
View the stack trace here: https://gist.github.com/anonymous/acafd8dfd501596ff94c2277982867d4
Can someone provide some insight?
Best regards,
Henri-Robert Sully
Hi everyone,
I’ve started a first version of a XWiki docker packaging at https://github.com/xwiki-contrib/docker-xwiki and I’ve created an automated build on DockerHub at https://hub.docker.com/u/xwiki/. The goal is to provide an official packaging done by the XWiki dev team.
Since I’m a recent user of Docker I’m sure I’ve made plenty of mistakes and not following some best practices, even though I’ve tried my best to do that ;)
So it would be great if:
* Some users could try it out and let me know how it works
* Users could tell me what they’d expect in term of setup from a docker distribution.
* Some Docker experts review my code and let me know what I should improve!
After I receive some confirmation that it works well-enough, my goal is to document it as an official way of installing xwiki on xwiki.org.
Feel free to create jiras for ideas and bugs at http://jira.xwiki.org/browse/XDOCKER.
Thanks a lot!
-Vincent
PS: Note that I’m sure some will want a different DB, such as postgreSQL for example. That should be easy to do. Pull request accepted! :)
I am attempting to follow the backup instructions but no matter what I do all connections to the database fail with the following error, or similar:
pg_dump: [archiver (db)] connection to database "xwiki" failed: FATAL: Peer authentication failed for user “xwiki"
I have double checked the username and password in provided in the hibernate.cfg.xml file. Is there a connection permission issue I am missing?
Reagards,
Jesse
My apologies if this request is redundant. I previously sent a request on
Jan 31st and unsure if the message was properly received.
description: We would like to create a wiki for our Boy Scout Troop 1238
based in Fullerton, CA, USA.
owner name: webmaster.troop1238(a)gmail.com / Erwin Masinsin
wiki name: troop1238
Thank you for your consideration.
Yours in scouting,
Erwin Masinsin
Assistant Scoutmaster
Boy Scout Troop 1238
Fullerton, CA