Hi have added an FAQ as suggested here:
http://www.xwiki.org/xwiki/bin/view/FAQ/How+does+XWiki+behave+when+disk+spac
e+is+low%3F
Hope that helps others who get similar problems with low disk space.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Guillaume Lerouge
Sent: 18 January 2012 14:48
To: XWiki Users
Subject: Re: [xwiki-users] Can't attach files to wiki
Hi Richard,
it would be very helpful if you could document the symptoms you experienced
as well as the solution on the new XWiki FAQ:
http://www.xwiki.org/xwiki/bin/view/FAQ/WebHomeNew
Thanks in advance,
Guillaume
On Wed, Jan 18, 2012 at 10:41 AM, goldring, richard <
richard.goldring(a)uk.thalesgroup.com> wrote:
> Turns out all my wiki problems with disappeared attachment, scripts
> not running, etc were down to partition /var running out of disk
> space! So moved default locations of apache tomcat and mysql to a much
> bigger partition using symbolic links to link to the new locations and
> now all seems well.
> Should have checked the obvious (disk space) first! So if anyone else
> gets strange behaviour with xwiki - check your disk space first and
> save yourself a lot of time and hassle chasing down these 'problems'!
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of goldring, richard
> Sent: 16 January 2012 08:18
> To: 'XWiki Users'
> Subject: Re: [xwiki-users] Can't attach files to wiki
>
> Yes its strange,
>
> This has happened since migrating from version 2.7 to 3.2. The import
> of the wiki pages via Exported xar files seemed to work ok, and the
> attachments are listed at the bottom of the wiki pages, butwhen you
> cick on them to view the attachments the wiki displays aa error
> message that the "The attachment does not exist."
>
> Has anyone any idea what's happened and how to fix it?
>
> Thanks.
>
> Regards,
>
> Richard
>
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of Marius Dumitru Florea
> Sent: 13 January 2012 17:32
> To: XWiki Users
> Subject: Re: [xwiki-users] Can't attach files to wiki
>
> Hi Richard,
>
> Are you talking about the standard Attachments tab at the bottom of a
> wiki page? Does it happen all the time? You should get this only if
> the session expires. See
>
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnte
> rprise
> 32#HCSRFpreventionisenabledbydefault
> . In XWiki Enterprise 3.2 CSRF has been enabled by default. I haven't
> heard any complains so far, at least not related to the attachments upload
form.
>
> Hope this helps,
> Marius
>
> On Fri, Jan 13, 2012 at 2:36 PM, goldring, richard
> <richard.goldring(a)uk.thalesgroup.com> wrote:
> > When try to attach files to a wiki page get the following warning
> > page
> ....
> >
> >
> > Warning
> >
> > This request contains an invalid authentication information.
> >
> > This might happen in the following situations:
> >
> > * You left the editor open in another window/tab and logged off
> > and on again
> > * Your authentication token exipired after a long period of
> > inactivity
> > * Somebody tried to perform a CSRF attack
> >
> > If you are sure that none of these situations apply in your case,
> > you might have found a bug. We are sorry about that, please report
> > it on XWiki JIRA
> >
> > Do you want to resend the request? If unsure, say No.
> > no
> >
> >
> > ... Anyone know what's happening and how to fix it? I'm using XWIKI
> > 3.2, Tomcat 5.5 and MySQL 5.
> >
> > Thanks.
> >
> > Regards,
> >
> > Richard
> >
> > -----Original Message-----
> > From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> > Behalf Of goldring, richard
> > Sent: 13 January 2012 09:25
> > To: 'XWiki Users'
> > Subject: Re: [xwiki-users] Backing up xwiki using mysql
> >
> > Thanks Guillaume - it worked a treat - I'll setting up the my.cnf
> > another time, but at least I can backup now!
> >
> > Does anyone know more about the recycle bin - don't seem able to
> > access from the wiki, and (I guess any deleted wiki pages or
> > attachments go into it?) the code snippet didn't seem to empty it
> > from the database - any ideas how to empty it?
> >
> > -----Original Message-----
> > From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> > Behalf Of Guillaume Fenollar
> > Sent: 13 January 2012 08:55
> > To: XWiki Users
> > Subject: Re: [xwiki-users] Backing up xwiki using mysql
> >
> > Hi Richard,
> >
> > Here a quickfix: use max_allow_packet directive directly into your
> > dump command.
> >
> > mysqldump --max_allowed_packet=512m nms_wiki > backup.sql
> >>
> >
> > If you want to understand this more, you should try to change
> > my.cnf, in the section [mysqldump] (just like there is [client], you
> > could create it if you
> > haven't) and try the command without putting max_allowed_packet into
> > the command, it should work too.
> >
> > Sincerely,
> >
> > --
> > Guillaume Fenollar
> > XWiki SysAdmin
> > Tel : +33 (0)1.83.62.65.97
> >
> > 2012/1/13 goldring, richard <richard.goldring(a)uk.thalesgroup.com>
> >
> >> Hi All,
> >>
> >> Running ...
> >> mysqldump nms_wiki > backup.sql
> >>
> >> Returns ...
> >> mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet'
> >> bytes when dumping table `xwikiattrecyclebin` at row: 2
> >>
> >> I did have some rather large import attachments - which I deleted
> >> but they seem to have gone into the recycle bin - so I used the
> >> code snippet
> >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Empty+Trash+Bi
> >> n
> >>
> >> To supposedly empty the bin, but get the same error above when I
> >> try and dump the database seeming to indicate the recycle bin isn't
empty.
> >>
> >> Tried increasing the max_allowed_packet when I run mysql, but
> >> doesn't seem to have any affect - is something overriding it? We're
> >> running on
> > Solaris.
> >>
> >> Any ideas/help would be appreciated so I can backup the wiki
> >> successfully on mysql!!!!
> >>
> >> Thanks.
> >>
> >> Regards,
> >>
> >> Richard
> >> _______________________________________________
> >> users mailing list
> >> users(a)xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello Everyone-
I have two basic requests that I need help on.
I have installed xwiki (war file) on Jboss app server and made LDAP
authentication for editing purposes.
(1) How can I add additional layer of security for certain pages only for a
specific LDAP sub-group (security group).
(2) What do I need to do to have the capability of importing MS Office
documents directly into Xwiki. It is error out stating Open Office Plug-in
server is not running. I do have Open Office installed and updated the
config file.
Greatly appreciate the help!
Let me explain you.
1) We have a "MyTests.TestClass" class which contains a unique field "date"
of type "date".
2) The current document have a single object of type "MyTests.TestClass".
You can set whatever you want for the value of the field "date".
3) The current document code is:
{{velocity}}
= History =
#set($revs = $doc.getRecentRevisions(10))
#foreach($rev in $revs)
#set($oldDoc = $doc.getDocumentRevision($rev))
#set($prop =
$oldDoc.getObject('MyTests.TestClass').getProperty('date').getValue())
== Rev : $rev ==
* Class: $prop.class.name
* Value : $prop
#end
= End History =
{{/velocity}}
4) Do some edit in order to have something to display in the history
5) Here are my results:
History
Rev : 17.1
Class: java.sql.Timestamp
Value : 2012-12-10 00:00:00.0
Rev : 16.1
Class: java.util.Date
Value : Mon Dec 10 00:00:00 CET 2012
Rev : 15.1
Class: java.util.Date
Value : Mon Dec 10 00:00:00 CET 2012
6) The problem is that the field "date" is a java.sql.Timestamp for the
current version but then become a java.util.Date.
Is it normal ?
Turns out all my wiki problems with disappeared attachment, scripts not
running, etc were down to partition /var running out of disk space! So moved
default locations of apache tomcat and mysql to a much bigger partition
using symbolic links to link to the new locations and now all seems well.
Should have checked the obvious (disk space) first! So if anyone else gets
strange behaviour with xwiki - check your disk space first and save yourself
a lot of time and hassle chasing down these 'problems'!
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
goldring, richard
Sent: 16 January 2012 08:18
To: 'XWiki Users'
Subject: Re: [xwiki-users] Can't attach files to wiki
Yes its strange,
This has happened since migrating from version 2.7 to 3.2. The import of the
wiki pages via Exported xar files seemed to work ok, and the attachments are
listed at the bottom of the wiki pages, butwhen you cick on them to view the
attachments the wiki displays aa error message that the "The attachment does
not exist."
Has anyone any idea what's happened and how to fix it?
Thanks.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 13 January 2012 17:32
To: XWiki Users
Subject: Re: [xwiki-users] Can't attach files to wiki
Hi Richard,
Are you talking about the standard Attachments tab at the bottom of a wiki
page? Does it happen all the time? You should get this only if the session
expires. See
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise
32#HCSRFpreventionisenabledbydefault
. In XWiki Enterprise 3.2 CSRF has been enabled by default. I haven't heard
any complains so far, at least not related to the attachments upload form.
Hope this helps,
Marius
On Fri, Jan 13, 2012 at 2:36 PM, goldring, richard
<richard.goldring(a)uk.thalesgroup.com> wrote:
> When try to attach files to a wiki page get the following warning page
....
>
>
> Warning
>
> This request contains an invalid authentication information.
>
> This might happen in the following situations:
>
> * You left the editor open in another window/tab and logged off and
> on again
> * Your authentication token exipired after a long period of
> inactivity
> * Somebody tried to perform a CSRF attack
>
> If you are sure that none of these situations apply in your case, you
> might have found a bug. We are sorry about that, please report it on
> XWiki JIRA
>
> Do you want to resend the request? If unsure, say No.
> no
>
>
> ... Anyone know what's happening and how to fix it? I'm using XWIKI
> 3.2, Tomcat 5.5 and MySQL 5.
>
> Thanks.
>
> Regards,
>
> Richard
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of goldring, richard
> Sent: 13 January 2012 09:25
> To: 'XWiki Users'
> Subject: Re: [xwiki-users] Backing up xwiki using mysql
>
> Thanks Guillaume - it worked a treat - I'll setting up the my.cnf
> another time, but at least I can backup now!
>
> Does anyone know more about the recycle bin - don't seem able to
> access from the wiki, and (I guess any deleted wiki pages or
> attachments go into it?) the code snippet didn't seem to empty it from
> the database - any ideas how to empty it?
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of Guillaume Fenollar
> Sent: 13 January 2012 08:55
> To: XWiki Users
> Subject: Re: [xwiki-users] Backing up xwiki using mysql
>
> Hi Richard,
>
> Here a quickfix: use max_allow_packet directive directly into your
> dump command.
>
> mysqldump --max_allowed_packet=512m nms_wiki > backup.sql
>>
>
> If you want to understand this more, you should try to change my.cnf,
> in the section [mysqldump] (just like there is [client], you could
> create it if you
> haven't) and try the command without putting max_allowed_packet into
> the command, it should work too.
>
> Sincerely,
>
> --
> Guillaume Fenollar
> XWiki SysAdmin
> Tel : +33 (0)1.83.62.65.97
>
> 2012/1/13 goldring, richard <richard.goldring(a)uk.thalesgroup.com>
>
>> Hi All,
>>
>> Running ...
>> mysqldump nms_wiki > backup.sql
>>
>> Returns ...
>> mysqldump: Error 2020: Got packet bigger than 'max_allowed_packet'
>> bytes when dumping table `xwikiattrecyclebin` at row: 2
>>
>> I did have some rather large import attachments - which I deleted but
>> they seem to have gone into the recycle bin - so I used the code
>> snippet
>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Empty+Trash+Bin
>>
>> To supposedly empty the bin, but get the same error above when I try
>> and dump the database seeming to indicate the recycle bin isn't empty.
>>
>> Tried increasing the max_allowed_packet when I run mysql, but doesn't
>> seem to have any affect - is something overriding it? We're running
>> on
> Solaris.
>>
>> Any ideas/help would be appreciated so I can backup the wiki
>> successfully on mysql!!!!
>>
>> Thanks.
>>
>> Regards,
>>
>> Richard
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello everyone,
I use the xwiki syntax for sending mails, by using this way :
[[john(a)smith.net>>mailto:john@smith.net]]
But I was wondering if there is a possibility to add an object on the mail
by this way and how is it possible ?
Thank you for your future answer.
Have a good day,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Object-in-an-email-link-tp7196845p7196845…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All,
I am having an odd issue with the panel wizard in my test and prod
instances of XWiki. The users are trying to click on "Panel Wizard" via
"Administer this Wiki" and the system spikes to 25% CPU but never yields
results. Later, they try again, another 25% CPU and no results....
ultimately they keep trying until I start getting administrative alerts
that the system is overwhelmed. To recover, I need to stop/start the
application. However, that only allows the application to function until
they do the same thing again. This is a critical task for them to add the
necessary navigation to their wiki.
Anyone had a similar experience?
Any ideas on how to troubleshoot this further?
Thanks,
Chris
Thanks - turns out unregistered user weren't granted rights on the actual
page itself.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Sorin Burjan
Sent: 17 January 2012 16:08
To: XWiki Users
Subject: Re: [xwiki-users] Xwiki main webhme not displayed for an
unregistered user
Hello Richard,
In XWiki there are 3 types of Rights/Permissions. Check
http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement
My guess is that in the Global Rights Menu (found in Administration ->
Rights) you have selected the "Prevent unregistered users from viewing
pages, regardless of the page or space rights". You have to uncheck this box
(no check mark).
This should solve your issue
Regards,
Sorin B.
On Tue, Jan 17, 2012 at 5:54 PM, goldring, richard <
richard.goldring(a)uk.thalesgroup.com> wrote:
>
>
> Hi,
>
> Anyone know why when I try to display the wiki webhome for the Main
> space for an unregistered user the login is displayed even though the
> space rights are set to allow unregistered users to be able to view
> anything in the Main space?
>
> Regards,
>
> Richard
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
Anyone know why when I try to display the wiki webhome for the Main space
for an unregistered user the login is displayed even though the space rights
are set to allow unregistered users to be able to view anything in the Main
space?
Regards,
Richard
Hi all,
I am making a database where each page can have multiple 'levels' of
data, each next level should be shown to the user only when a
condition has been met, say:
1: general information
- Question
- Needs additional research: yes/no
2: additional research (only shown if applicable):
- Researcher
- Findings
My initial idea was to use seperate classes and create a combined
class sheet, like in the code below, but I suspect that will give
difficulty for instance when creating overviews in a Livetable.
Does anyone have experience in uses like this? Thanks for your ideas!
Joris
#set($class1 = $doc.getObject('Example.Class1').xWikiClass)
#foreach($prop in $class1.properties)
..
#end
if($class1.properties.needsadditionalresearch=="yes")
#set($class2 = $doc.getObject('Example.Class2').xWikiClass)
#foreach($prop in $class1.properties)
..
Hi all,
I have xwiki setup done on machine A with custom setting like log changed,
user, group and space rights settings .Also had space contents/attachment.
Now i did the fresh installation of xwiki on new machine B..What i wanted
was every setting,content, attachment i created on machine A xwiki
database should be migrated to machine B xwiki database.
**
*What i did for this is :-*
1) On machine A, as admin user navigated to export. It asked me package
name and description. I entered the value in that and it created a
A.xar file.
2)Now after xwiki installation i.e after extracting *
xwiki-enterprise-web-3.3.war* inside tomcat on machine B, i navigated to
import and imported A.xar file.Now i log in as admin user.
*Actual Problem*
Now i see the main space webhome page on machine B different from machine
A main space webhome page.Like under space i see this error Unknown macro:
spaces The "spaces" macro is not in the list of registered macros. Verify
the spelling or contact your administrator. Same error is there for
Tags.Also i do not the setting i did on default colour theme like i changed
the logo. Though i can see all the previous user,group ,space rights and
content.
*Not getting what i am missing here?*