Hi,
I am trying to install xwiki (mysql) using the doc at:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationViaAPT
Here's the output:
http://paste.ubuntu.com/21810285/
Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
Creating config file /etc/default/tomcat7 with new version
Adding system user `tomcat7' (UID 113) ...
Adding new user `tomcat7' (UID 113) with group `tomcat7' ...
Not creating home directory `/usr/share/tomcat7'.
Creating config file /etc/logrotate.d/tomcat7 with new version
Job for tomcat7.service failed because the control process exited with
error code. See "systemctl status tomcat7.service" and "journalctl
-xe" for details.
invoke-rc.d: initscript tomcat7, action "start" failed.
dpkg: error processing package tomcat7 (--configure):
subprocess installed post-installation script returned error exit status 1
Setting up xwiki-enterprise-common (8.2.1) ...
Setting up xwiki-enterprise-mysql-common (8.2.1) ...
Determining localhost credentials from /etc/mysql/debian.cnf: succeeded.
dbconfig-common: writing config to /etc/dbconfig-common/xwiki.conf
Creating config file /etc/dbconfig-common/xwiki.conf with new version
Creating config file /etc/xwiki/hibernate.cfg.xml with new version
granting access to database xwiki for xwiki@localhost: success.
verifying access for xwiki@localhost: success.
creating database xwiki: success.
verifying database xwiki exists: success.
dbconfig-common: flushing administrative password
allow xwiki user to create new databases
dpkg: dependency problems prevent configuration of
xwiki-enterprise-tomcat7-common:
xwiki-enterprise-tomcat7-common depends on tomcat7; however:
Package tomcat7 is not configured yet.
dpkg: error processing package xwiki-enterprise-tomcat7-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of
xwiki-enterprise-tomcat7-mysql:No apport report written because the
error message indicates its a followup error from a previous failure.
xwiki-enterprise-tomcat7-mysql depends on
xwiki-enterprise-tomcat7-common (= 8.2.1); however:
Package xwiki-enterprise-tomcat7-common is not configured yet.
dpkg: error processing package xwiki-enterprise-tomcat7-mysql (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu3) ...No apport report
written because the error message indicates its a followup error from
a previous failure.
Processing triggers for systemd (229-4ubuntu7) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
tomcat7
xwiki-enterprise-tomcat7-common
xwiki-enterprise-tomcat7-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
I need to migrate a Wiki in Filesystem attachment Store mode because I
have an existing wiki in which I need to import a big XAR file (>130MB)
The procedure is explained here
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Attachments
"If you already have a wiki and want to take advantage of the Filesystem
Attachment Store, you should use the Filesystem Attachment Porter to move
your existing attachments onto the filesystem. "
but the script seem to have been removed a few days/weeks ago ...
http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+…
How can I move from DB to FS ?
Regards,
Hi,
I have trouble renaming pages because of an old redirection on my 7.4.2
XWiki instance.
I'll try to summerize how it happened :
- First, a wiki page called "Framework" with a lot of subpages was
created.
- Then, the users wanted to rearrange the subpages so they created a copy
which they named Framework.new
- When they where happy with the new page, they renamed the initial
Framework page in Framework.old.
- Trying to rename Framework.new into Framework failed
My problem is that by default, when you rename a page (in this version of
XWiki at least), the checkbox "Redirect to new page" is checked,
effectivement creating a HTTP redirect when users are still using the old
link. I understand the advantage of this method : you can have the page
renamed without breaking the existing links.
But now Framework.new can't be renamed in Framework, as the
Framework.WebHome URL points to Framework.old.WebHome. Even if I remove
all the pages from Framework.old, I still can't rename it.
Is there a menu/velocity script to remove these redirections ?
Thanks in advance
In our class we have a computed field
It shows a Date and two numbers
- the date represents a observation date calculated based on the two numbers and date of birth.
- The two numbers are
-- 1 Years since birth
-- Months
- Together they represent Years + Months that a person reaches a certain milestone.
(example: The child started to grab objects at age 0 years and 6 months, the child started walking at age 4 years and 5 months)
We would like to see the following in our sheet:
View mode: the date as a non-editable value and the two numbers with their labels
Edit mode: only the two numbers with labels
Preferably we would like to use in our sheet $objectDoc.Display('computed field')
But when we use the values in Velocity as class.attribute.value.years
and class.attribute.value.months
But it looks like the requirement for $doc.display('') forces us to write html code in our computed field that we need to strip away when using the velocity.value?
Any suggestions...
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>
Hi everybody,
I've just got running a fresh new install of 8.2.1 in a Wildfly instance (9.0.x) with datasource and PostgreSQL. No problems until there, and nothing special in config settings other than the default ones.
However, as I try to create a new page (child or whatever) clicking on the "+" in any place, XE fires a NullPointerException. Here's the extract of the Stack Trace:
Error number 4001 in 4: Error while evaluating velocity template createinline.vm
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while evaluating velocity template createinline.vm
...
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate content with id [/templates/create.vm]
...
Caused by: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getParameter' in class com.xpn.xwiki.web.XWikiServletRequest threw exception java.lang.NullPointerException at 284:/templates/create.vm[line 90, column 31]
...
Caused by: java.lang.NullPointerException
Am I missing something in configs?
Regards,
RAMON GOMES BRANDÃO
Fixed. Downloaded and imported manually. Chose the "replace" option.
Keith Davis (214) 906-5183 - I.T. Director
From: Keith Davis
Sent: Saturday, July 30, 2016 9:45 AM
To: 'XWiki Users'
Subject: Unknown macro: documentTree
I just upgraded to 8.2.1. I finally figured out how to fix my permissions issue (login as superadmin, no users were admins any longer, added all users, that part works fine now).
However, a number of panels don't work due to:
Unknown macro: documentTree
How would that be missing?
Keith Davis (214) 906-5183 - I.T. Director
I just upgraded to 8.2.1. I finally figured out how to fix my permissions issue (login as superadmin, no users were admins any longer, added all users, that part works fine now).
However, a number of panels don't work due to:
Unknown macro: documentTree
How would that be missing?
Keith Davis (214) 906-5183 - I.T. Director
Hello, this question has been asked, but I want to do something different:
can you change the columns being displayed from javascript? is the entire
funcionality of the livetable contained in javascript, or is it only a
rendering of the table?
I want to have a list of headings with a checkbox each, and when the user
checks a checkbox, that heading is included in the livetable.
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Refreshing-livetable-tp7600510.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
What is the best way of storing the attached files (Database Attachment Store or Filesystem Attachment Store)? Currently we store in the database, but already with a dump postgres in 17GB. I am in doubt about what is the best form of storage.
Thank you in advance.
Regards,Julio
Hi,
I'm doing tests with the 7.4.4 version, using the skin colibri. When I give right of access "program" to non-registered users, they gain the ability to manage the XWiki, anonymously.
I gave this kind of access that is occurring parsing error when I use the skin colibri. Codes velocity, for example, in XWiki Preferences not work.
In other words, there are two problems: anonymous users with the right management and errors in the execution of velocity codes.
Log:WARN org.xwiki.velocity.internal.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.api.XWiki.parseContent] in 41:/skins/colibri/view.vm@25,47
Thank you in advance,Julio
Hello all,
I've just upgraded my XWiki to 8.2 and have set again the rights for
view and edit to XWikiGuest.
However, when I execute the velocity code included, hasEdit shows false
and, indeed, the attachments tab does not show the upload input button.
What have I made wrong?
Do I have a way to debug that?
Before the upgrade, that page was displaying the attachment box (but
somehow the upload was broken).
As a logged-in user inserting attachments works worry free. It really
seems to be a rights issue.
thanks in advance.
paul
The XWiki development team is proud to announce the availability of XWiki
8.2.
This release integrates CKEditor as the default WYSIWYG content editor. It
also features a redesigned default homepage, a tour on the homepage to
describe the XWiki user interface to newcomers, new default templates, a
new application index in the drawer and a new administration UI to help
manage available syntaxes. There are also minor improvements to the
template providers, the Flamingo skin and Ratings. For developers, we have
Livetable macro improvements and a long overdue change of behavior for the
getRenderedContent() method.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki82
Thanks for your support
-The XWiki dev team
Hi,
i added the extension "AutoCompletion" via extension manager to my new
xwiki installation (version 8.1). When editing a new page with the
content editor no auto completion is available and even there is no
syntax highlighting.
Could you tell me, what have i done wrong?
Best regards
Alina
Hi all,
I have made an application with the following elements (with the default
language set to English)
* class
* sheet
* template
The class (bookSystemCode.bookClass) has these objects on it:
* XWiki.DocumentSheetBinding : XWiki.ClassSheet
* AppWithinMinutes.MetadataClass : books
* XWiki.ClassSheetBinding : bookSystemCode.bookSheet
The sheet (bookSystemCode.bookSheet) has these objects on it:
* XWiki.SheetClass : (empty)
* XWiki.SheetDescriptorClass : edit
The problem is that when I create a new XObject, fill the input fields
and save the XObject it does not save the answers I have given in the
input fields. This happens only when I open the XObject in another
language as the default language. In the default language it works as it
should.
I understand that the XObject is linked to the default document but when
done with AppWithinMinutes this change of language and saving the input
works nicely.
Can you give me a hint of what I am doing wrong here? Am I forgetting
something?
Thanks in advance
Jan-Paul
---
Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
https://www.avast.com/antivirus
Hello:
I have a page that is the parent document of a space. I want to display on
that page a livetable of all the sub documents in that space. I already put
the code there, but the livetable also displays the WebHome page, wich is
the parent itself. How do I hide the WebHome page from the livetable?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/excluding-WebHome-from-space-directory-li…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am trying to figure out how to display a vertical menu within a page. I was playing around with the Menu Macro and I can get it to work just fine in a panel, but in a page, only the horizontal menu hides the sub items until the main item is expanded. With the Vertical, it simply displays all items.
Any thoughts on this would be appreciated.
Paul Pinkerton
KnowledgeNow Project/ ACLCO
I'm trying to list the children of the current page. According to this post:
http://lists.xwiki.org/pipermail/users/2015-December/031639.html, I believe
this should work, but all I get is "No pages found":
{{velocity}}
{{documentTree root="$doc.documentReference" /}}
{{/velocity}}
If I use {{velocity}} $doc.documentReference {{/velocity}}, the correct
value is returned.
Can anyone tell me what I'm doing wrong or if there is a better way to list
all the children of the current page?
Thanks,
Jared
--
View this message in context: http://xwiki.475771.n2.nabble.com/Trying-to-use-doc-documentReference-as-th…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Sorry if this topic has been already exposed but I was unable to find any
reference in any past emails.
We have a 7.4 xwiki installation with multiple subwikis and we want to
install Menu Application for every wiki. I just launched a farm
installation from Principal wiki and everything seems to work fine but we
have found an strange issue.
If user has permissions in the last subwiki where Menu Application has been
installed he's able to see menu with styling. However, if another user has
only permission to an specific wiki (i.e. local user) he can see the menu
but no styling is applied.
After some browser debugging we have found that Menu Application is making
this call for EVERY subwiki.
<DOMAIN>/xwiki/wiki/<SUBWIKI>/ssx/Menu/MenuMacro?language=en&colorTheme=xwiki%3AFlamingoThemes.Charcoal
The SUBWIKI param is always the same and matches the last subwiki where
Menu Application has been installed.
Is there any way to make this call like this:
<DOMAIN>/xwiki/wiki/<CURRENT_SUBWIKI>/ssx/Menu/MenuMacro?language=en&colorTheme=xwiki%3AFlamingoThemes.Charcoal
Thanks in advance!
Hi xwiki team,
i get big white spaces around my images in the exported pdfs, after
making the images smaller on our wiki pages.
I tried changing the margin, padding, and the border size of the images
in the css (used for the pdf export) but that didn't change anything.
The background of the image in the exported pdf is bigger than the image
itself (i changed the background color for evaluation).
Best regards
Alina
These are the steps that worked for me installing XWiki on Ubuntu Server 16.04.01 LTS with Jetty and Postgres. I have double checked most of these steps, but not all of them so your mileage may vary.
This is my first time installing the WAR version of XWiki and I've had quite a bit of help getting this far. I'd appreciate any feedback from more experienced installers if they see issues with my process.
- Jared
Please note that Postgres Installed with the initial Ubuntu installation
Install Java
-----------
sudo apt-get update
sudo apt-get install default-jdk
Edit /etc/environment
Add JAVA_HOME=/usr/bin/java
Install Jetty
-----------
sudo apt-get install jetty9
Edit /etc/default/jetty9 to set the JVM parameters
JAVA_OPTIONS="-server -Xms800m -Xmx1048m -Dfile.encoding=utf-8 -Djava.awt.headless=true -XX:+UseParallelGC -XX:MaxGCPauseMillis=100"
Install & Configure XWiki
------------------------
Download the current WAR
wget http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-8.1.war
Expand the WAR to the XWiki root
cd /usr/share/jetty9/webapps/root
sudo rm *
sudo jar -xvf <path to war>/xwiki-enterprise-web-8.1.war
Configure the Permanent Directory
----------------------------------
sudo mkdir /var/local/xwiki
sudo chown jetty:adm /var/local/xwiki
Edit /usr/share/jetty9/webapps/root/WEB-INF/xwiki.properties
Uncomment # environment.permanentDirectory=/var/local/xwiki/
Configure xwiki as the the JVM root
-----------------------------------
Edit /usr/share/jetty9/webapps/root/WEB-INF/xwiki.cfg (Note that this is a different config file than xwiki.properties)
Uncomment # xwiki.webapppath=
Configure xwiki to use the filesystem for attachments
----------------------------------------------------
Edit /usr/share/jetty9/webapps/root/WEB-INF/xwiki.cfg
Uncomment the following lines and change hibernate to file
# xwiki.store.attachment.hint=hibernate
# xwiki.store.attachment.versioning.hint=hibernate
# xwiki.store.attachment.recyclebin.hint=hibernate
New Values:
xwiki.store.attachment.hint=file
xwiki.store.attachment.versioning.hint=file
xwiki.store.attachment.recyclebin.hint=file
Edit /usr/share/jetty9/webapps/root/WEB-INF/hibernate.cfg.xml to use Postgres
------------------------------------------------------------------------------
Comment out default database
Uncomment Postgres section (don't forget to remove the closing comment line from the Postgres section)
Install the Postgres JDBC Driver
-------------------------------
cd /usr/share/jetty9/webapps/root/WEB-INF/lib
sudo wget https://jdbc.postgresql.org/download/postgresql-9.4.1208.jar
Set the ownership on the xwiki directory
---------------------------------------
cd /usr/share/jetty9/webapps/
sudo chown -R jetty:adm root
Configure Postgres
-------------------
sudo -u postgres psql
psql (9.5.3)
Type "help" for help.
postgres=# CREATE DATABASE xwiki
postgres-# WITH OWNER = postgres
postgres-# ENCODING = 'UNICODE'
postgres-# TABLESPACE = pg_default;
CREATE DATABASE
postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+-------------+-------------+-----------------------
postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres +
| | | | | postgres=CTc/postgres
xwiki | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 |
(4 rows)
postgres=# \connect xwiki
You are now connected to database "xwiki" as user "postgres".
xwiki=# CREATE USER xwiki PASSWORD 'xwiki' VALID UNTIL 'infinity';
CREATE ROLE
xwiki=# \du
List of roles
Role name | Attributes | Member of
-----------+------------------------------------------------------------+-----------
postgres | Superuser, Create role, Create DB, Replication, Bypass RLS | {}
xwiki | Password valid until infinity | {}
xwiki=# GRANT ALL ON SCHEMA public TO xwiki;
GRANT
xwiki=# \q
Optional - Configure redirection from 80 to 8080
------------------------------------------------
sudo iptables -A PREROUTING -t nat -p tcp --dport 80 -j REDIRECT --to-port 8080
sudo apt-get install iptables-persistent
sudo bash -c "iptables-save > /etc/iptables/rules.v4" to save future changes
Restart Jetty to apply changes since the initial installation
--------------------------------------------------------
sudo systemctl restart jetty9
> I apologize for the vague topic description. I have been trying to install
> XWiki on a freshly installed Ubuntu server running 14.04 for a few days and
> am just getting pulled in all sorts of directions when it comes to
> installation and am just getting a little agitated.
>
> I am relatively new to Ubuntu in general. I am just looking for a guide to
> install the newest version of XWiki Enterprise on Ubuntu Server 14.04 using
> what I believe would be a .WAR install. (I want to avoid the stand-alone
> installer since it is not recommended on production.)
>
> All guides that I have found seem to breeze thru the installation process
> and jump right into "Getting Started using the software". I am still stuck
> on the actual installation and cannot seem to follow the guide without
> getting thrown off by a step that makes absolutely no sense.
>
> If someone could please point me in the right direction, it would be greatly
> appreciated.