[xwiki-users] anonymous edit gone?
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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] WYSIWYG Editor Not Working with Nginx https reverse proxy
I configured HTTPS for my XWiki installation using Nginx today and everything seems to work except the WYSIWYG editor. When trying to edit a page over HTTPS the editor never loads and I just get the spinner, but editing with the source editor works without issue. If I stop try to edit the same page over HTTP everything works correctly. I followed the instructions here: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat#HNginxproxyingforTomcatapplications I'm running XWiki 8.1. Any suggestions? Thanks, Jared -- View this message in context: http://xwiki.475771.n2.nabble.com/WYSIWYG-Editor-Not-Working-with-Nginx-https-reverse-proxy-tp7600471.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] xwiki 8.2 CKEditor spell check
Good afternoon, has anyone been able to enable browser based spell checking in 8.2 with CKEditor as the default WYSIWYG editor? Thanks, Patrick ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't Upgrade from XWiki 3.5.1
I have to admit that I come to the conclusion that an alternative migration route might be better, too The alternative is to export only the "content pages" (or export all, but only import the relevant pages later), and then set up a fresh XWiki of the desired version and import these content pages into the new wiki. If you export and set the Checkbox "with History" enabled, and on import set the checkbox "Import as backup package" you should be able to migrate all relevant information. If you import the XWiki.XWikiPreferences (what you probably want to do, unless you want to carry over all the settings manually) you will need to restart the XWiki server after the import before the wiki administration fully works, as it might be confused by some missing preferences-field; the restart will add these missing fields automatically in the startup phase. Maybe do not import the XWiki.DefaultSkin, as this might point to a "base skin" that no longer exists in the newest version. If your wiki has pages in the xwiki/1.0 syntax, you will need to enable that syntax in the config (xwiki.rendering.syntaxes in xwiki.cfg), as it is no longer enabled by default in the newer versions. Well, that is all what I can think that could go wrong. Maybe I missed something. However this way of upgrading should at least not run into database issues. - Ursprüngliche Nachricht - Von: Jhaimerl Am: Tuesday, 26.07.2016, 13:16 An: Xwiki Users Betreff: Re: [xwiki-users] Can't Upgrade from XWiki 3.5.1 > Yes, sorry I didn't mention that, the SQL script to remove the duplicate ids > ran successfully, but 0 rows were affected. > > Now I found out: To avoid or pass the liquibase checksum problems, there is > the possibility to run the following sql statement: > /update databasechangelog set md5sum=null/ > > After that I got even more database update exceptions. Most of them I could > solve by manually update the database. > > Now I'm stuck again: The database migration manager, wants to create foreign > keys, but can't, because they already exist. Also by deleting the existing > foreign keys manually, there still is logged that the key is already used, > which in fact is right, because it's created by the migration manager. It > seems like some parts of the migration script runs twice. > > /2016-07-26 12:59:47,331 ERROR [http://localhost:8148/xwiki/bin/view/Main/] > c.x.x.s.m.liquibase [XWikiLiquibaseLogger.java:103] Change Set > liquibase.xml::R4-030::sdumitriu failed. Error: Error executing SQL > ALTER TABLE [dbo].[xwikifloats] ADD CONSTRAINT [FKFB291FBF1DFF14A1] FOREIGN > KEY ([XWF_ID], [XWF_NAME]) REFERENCES [dbo].[xwikiproperties] ([XWP_ID], > [XWP_NAME]) ON UPDATE CASCADE: There is already an object named > 'FKFB291FBF1DFF14A1' in the database. > liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE > [dbo].[xwikifloats] ADD CONSTRAINT [FKFB291FBF1DFF14A1] FOREIGN KEY > ([XWF_ID], [XWF_NAME]) REFERENCES [dbo].[xwikiproperties] ([XWP_ID], > [XWP_NAME]) ON UPDATE CASCADE: There is already an object named > 'FKFB291FBF1DFF14A1' in the database./ > > Maybe it makes no sense to continue at this point? Thanks for you help so > far! > > > Clemens Klein-Robbenhaar wrote >> The next thing that comes to my mind is to rerun the SQL statements needed >> to purge duplicate ids in the starts, >> as in >> >> http://jira.xwiki.org/browse/XWIKI-8129 >> >> I remember I posted this already in the thread, but I cannot see from the >> thread if you ran them successfully. >> >> As far as I understood they did not run without error so far? >> If you did run them already, then this must be something else ... >> >> >> It looks like the manual changes to the database confused the DB >> upgraders; that is what the checksum error probably means. >> Unfortunately I cannot find the place where the "checksums" are stored; I >> guess the checksum must be updated manually, or some steps skipped >> manually. >> >> Clemens >> >> >> - Ursprüngliche Nachricht - >> Von: Jhaimerl >> Am: Monday, 25.07.2016, 10:57 >> An: XWiki Users >> Betreff: Re: [xwiki-users] Can't Upgrade from XWiki 3.5.1 >> >> >>> Hi Clemens, >>> >>> tried your advice and checked the installation folder for duplicate >>> jar-files. Couldn't find any. I also used jwhich.jar for that purpose >>> without any results. Also I repeated the whole process with different >>> versions of XWiki (4.0, 4.2). >>> >>> Still I'm faced by the checksum errors you already mentioned around line >>> 310. >>> >>> Any ideas or hints whatelse I could try? >>> >>> Many thanks and best regards >>> Josef >>> >>> >>> Clemens Klein-Robbenhaar wrote Hi Josef, there are a lot of messages saying that one component wants to overwrite another component with the same name, class and priority. This usually happens if two XWiki version are unpacked on top of each other, so the WEB-INF/lib contains the *.jar for both versions.
Re: [xwiki-users] [Velocity] get items of static list
On Tue, Jul 26, 2016 at 5:36 PM, D Rwrote: > Hi, > > many thanks. So now I have > > #set($obj = $doc.getObject('Customer Profile.Code.Customer ProfileClass')) > #set($rawValue = $obj.getProperty('sListSupportLevel').value) > #foreach( $level in $rawValue ) > $level > #end > > and it displays the raw values. I feel dumb asking this but I was not able > to get it working: How to get the pretty names of the raw values in the > foreach loop? > On the same link I gave you there is an example for how to "access the class object representing SomeSpace.SomeClass" and to access a property from the class. Then you can use http://platform.xwiki.org/xwiki/bin/view/ScriptingDocumentation/?url=http:%2F%2Fnexus.xwiki.org%2Fnexus%2Fservice%2Flocal%2Frepositories%2Fpublic%2Farchive%2Forg%2Fxwiki%2Fplatform%2Fxwiki-platform-oldcore%2F7.4.2%2Fxwiki-platform-oldcore-7.4.2-javadoc.jar%2F!%2Fcom%2Fxpn%2Fxwiki%2Fapi%2FPropertyClass.html%23getMapValues() to get the mapping between the raw values and the display pretty value. Hope this helps, Marius > > Thanks again, > Dennis > > 2016-07-13 11:04 GMT+02:00 Marius Dumitru Florea < > mariusdumitru.flo...@xwiki.com>: > > > Have you checked the link I gave you? It has an example that shows how > > to "Retrieve > > the raw value of the property". > > > > On Tue, Jun 28, 2016 at 4:43 PM, D R wrote: > > > > > Hi, > > > > > > Yes, I want to display the values of the field ddlProductFamily. It is > a > > > multi-select list field. In the application I added a new item where I > > > selected "Value1" and "Value3" of the list field. It displays fine > using > > > $doc.display('ddlProductFamily') but I want to print the selected > values > > > below each other so I used the #foreach loop but it's always empty. I > > have > > > another #foreach loop where I display attachments which works fine so I > > > wonder what's special about the list field items. > > > > > > Regards, > > > Dennis > > > > > > 2016-06-24 8:59 GMT+02:00 Marius Dumitru Florea < > > > mariusdumitru.flo...@xwiki.com>: > > > > > > > On Thu, Jun 23, 2016 at 5:32 PM, D R wrote: > > > > > > > > > Hi, > > > > > > > > > > I am currently implementing my first XWiki application and starting > > to > > > > > learn velocity. There is one thing that makes me mad. > > > > > > > > > > There is a static list field with code "ddlProductFamily". > > > > > > > > > > > > > > > > > > > I try to display the items in this list in a nice way (one below > the > > > > > other). > > > > > > > > > > > > > It's not very clear what you want to display: > > > > (1) the value of the ddlProductFamily field? i.e. the selected > values? > > > Does > > > > this field have multiple selection enabled? > > > > (2) the list of values the ddlProductFamily field can chose from? > i.e. > > > the > > > > allowed values, what is specified in the static list definition > > > > > > > > In any case you should check > > > > > > > > > > > > > > http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsinapage > > > > . And before you try to iterate something you should first > > display/print > > > it > > > > to see if it's really something that can be iterated (a list or an > > > array). > > > > > > > > Hope this helps, > > > > Marius > > > > > > > > > > > > > > > > > > Different approaches including googling didn't lead to any outcome. > > > > > > > > > > #foreach ($prodFam in $ddlProductFamily) > > > > > $prodFam\\ > > > > > #end > > > > > > > > > > #foreach ($prodFam in $doc.display('ddlProductFamily')) > > > > > $prodFam\\ > > > > > #end > > > > > > > > > > On the frontend it's always empty. Other #foreach loops work fine. > > > > > > > > > > I'm sure I just misunderstand something but I can't find the fault > > > > myself. > > > > > Can somebody please help me? > > > > > > > > > > Thanks in advance, > > > > > Dennis > > > > > ___ > > > > > users mailing list > > > > > users@xwiki.org > > > > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > > > > ___ > > > > users mailing list > > > > users@xwiki.org > > > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > > ___ > > > users mailing list > > > users@xwiki.org > > > http://lists.xwiki.org/mailman/listinfo/users > > > > > ___ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [ANN] XWiki 8.2 released
I just found an important regression which can cause a real mess with extensions install on several wikis. If you have several wikis, it's better to wait for a 8.2.1 release that should be out this week. See http://jira.xwiki.org/browse/XCOMMONS-1026 for more details On Mon, Jul 25, 2016 at 6:33 PM, Vincent Massolwrote: > Hi everyone, > > We would love to get feedback, especially on the Tour + new home page. We’re > trying to make the first 5 minutes of using XWiki simpler and we need to know > if we’re going in the right direction. > > Please let us know if you like it or not! And whether you have ideas about > other things we should do to make XWiki even simpler to use for new users. > > Thanks a lot > -Vincent > >> On 25 Jul 2016, at 18:21, Ecaterina Moraru (Valica) >> wrote: >> >> 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 > ___ > devs mailing list > d...@xwiki.org > http://lists.xwiki.org/mailman/listinfo/devs -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [Velocity] get items of static list
Hi, many thanks. So now I have #set($obj = $doc.getObject('Customer Profile.Code.Customer ProfileClass')) #set($rawValue = $obj.getProperty('sListSupportLevel').value) #foreach( $level in $rawValue ) $level #end and it displays the raw values. I feel dumb asking this but I was not able to get it working: How to get the pretty names of the raw values in the foreach loop? Thanks again, Dennis 2016-07-13 11:04 GMT+02:00 Marius Dumitru Florea < mariusdumitru.flo...@xwiki.com>: > Have you checked the link I gave you? It has an example that shows how > to "Retrieve > the raw value of the property". > > On Tue, Jun 28, 2016 at 4:43 PM, D Rwrote: > > > Hi, > > > > Yes, I want to display the values of the field ddlProductFamily. It is a > > multi-select list field. In the application I added a new item where I > > selected "Value1" and "Value3" of the list field. It displays fine using > > $doc.display('ddlProductFamily') but I want to print the selected values > > below each other so I used the #foreach loop but it's always empty. I > have > > another #foreach loop where I display attachments which works fine so I > > wonder what's special about the list field items. > > > > Regards, > > Dennis > > > > 2016-06-24 8:59 GMT+02:00 Marius Dumitru Florea < > > mariusdumitru.flo...@xwiki.com>: > > > > > On Thu, Jun 23, 2016 at 5:32 PM, D R wrote: > > > > > > > Hi, > > > > > > > > I am currently implementing my first XWiki application and starting > to > > > > learn velocity. There is one thing that makes me mad. > > > > > > > > There is a static list field with code "ddlProductFamily". > > > > > > > > > > > > > > > I try to display the items in this list in a nice way (one below the > > > > other). > > > > > > > > > > It's not very clear what you want to display: > > > (1) the value of the ddlProductFamily field? i.e. the selected values? > > Does > > > this field have multiple selection enabled? > > > (2) the list of values the ddlProductFamily field can chose from? i.e. > > the > > > allowed values, what is specified in the static list definition > > > > > > In any case you should check > > > > > > > > > http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsinapage > > > . And before you try to iterate something you should first > display/print > > it > > > to see if it's really something that can be iterated (a list or an > > array). > > > > > > Hope this helps, > > > Marius > > > > > > > > > > > > > > Different approaches including googling didn't lead to any outcome. > > > > > > > > #foreach ($prodFam in $ddlProductFamily) > > > > $prodFam\\ > > > > #end > > > > > > > > #foreach ($prodFam in $doc.display('ddlProductFamily')) > > > > $prodFam\\ > > > > #end > > > > > > > > On the frontend it's always empty. Other #foreach loops work fine. > > > > > > > > I'm sure I just misunderstand something but I can't find the fault > > > myself. > > > > Can somebody please help me? > > > > > > > > Thanks in advance, > > > > Dennis > > > > ___ > > > > users mailing list > > > > users@xwiki.org > > > > http://lists.xwiki.org/mailman/listinfo/users > > > > > > > ___ > > > users mailing list > > > users@xwiki.org > > > http://lists.xwiki.org/mailman/listinfo/users > > > > > ___ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Application: Pages of one app as dropdown values of other app
On Tue, Jul 26, 2016 at 11:45 AM, D Rwrote: > Thanks guys but I face an issue. > > I added a Database List property to the Class of App 2 as explained on > > http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki > . > Name: customer > Display Type: select > Relational Storage checked > XWiki Class Name: Customer Profile.Code.Customer ProfileClass > Id Field Name: doc.fullName > > Value Field Name: doc.title > Try doc.name or make sure those pages have their title set by editing them in Wiki edit mode. doc.title is the raw document title which may be empty or may contain Velocity code. It's not the computed title you see displayed on the breadcrumb. > > In the App 2 Sheet I added > $doc.use('XPass.Code.XPassClass') > $doc.display('customer') > > In edit mode of entries of App 2 (XPass) I see 3 entries without text > (though App 1 -Customer Profile- has only 2 entries/pages) in the Customer > dropdown. > > Thank you very much in advance for some more help. > > 2016-07-25 16:40 GMT+02:00 Vincent Massol : > > > You might also find the following of interest (slightly related): > > http://platform.xwiki.org/xwiki/bin/view/DevGuide/MasterDetailTutorial > > > > Thanks > > -Vincent > > > > > On 25 Jul 2016, at 14:56, Marius Dumitru Florea < > > mariusdumitru.flo...@xwiki.com> wrote: > > > > > > Hi Dennis, > > > > > > Maybe this can help > > > > > > http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki > > > . > > > > > > On Mon, Jul 25, 2016 at 3:35 PM, D R wrote: > > > > > >> Hi community, > > >> > > >> I implemented a customer profile holding information about customers > as > > an > > >> XWiki application. Now in another app I'd like to have an optional > field > > >> that can contain the customer if it is related to one. Therefor I want > > to > > >> list all customers (existing pages of App 1) as dropdown values of a > > field > > >> of App 2. > > >> > > >> To illustrate what I'd like to achieve: > > >> > > >> App 1 (holding customer information): > > >> |-- Page "Customer 1" > > >> |-- Page "Customer 2" > > >> ... > > >> > > >> App 2 (holding other information but can be customer related): > > >> |-- Page 1 > > >>|-- Field "Customer" = Dropdown of Pages of App 1 (Customer 1, > > Customer > > >> 2 ...) > > >> > > >> I'm rather new in scripting in XWiki/Velocity so I'd really appreciate > > some > > >> help on this :) > > >> > > >> Regards, > > >> Dennis > > ___ > > users mailing list > > users@xwiki.org > > http://lists.xwiki.org/mailman/listinfo/users > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Need Help Installing XWiki on Ubuntu Server 1404 LTS
I just checked on a 14.04 server I have access too and indeed tomcat8 does not seems to be available there. Probably was put only in more recent versions of Ubutnu only. On Tue, Jul 26, 2016 at 2:18 PM, Thomas Mortagnewrote: > According to your log your issue is not with XWiki but with tomcat. > Maybe tomcat8 is not available in 14.04 or your have some more complex > issue with tomcat. There is a tomcat7 based package of XWiki too. > > On Tue, Jul 26, 2016 at 2:15 PM, Polydectus84 wrote: >> I don't think I mentioned this, but I am running Ubuntu Server 14.04 LTS >> 64-bit. Would this make a difference? >> >> *Here is the output of: sudo apt-get install >> xwiki-enterprise-tomcat8-common* >> >> v3@ubuntu:~$ sudo apt-get install xwiki-enterprise-tomcat8-common >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> Some packages could not be installed. This may mean that you have >> requested an impossible situation or if you are using the unstable >> distribution that some required packages have not yet been created >> or been moved out of Incoming. >> The following information may help to resolve the situation: >> >> The following packages have unmet dependencies: >> xwiki-enterprise-tomcat8-common : Depends: xwiki-enterprise-common (= 8.2) >> but it is not going to be installed >>Depends: tomcat8 but it is not >> installable >> E: Unable to correct problems, you have held broken packages. >> >> *It's bizarre. A few co-workers are stumped as well. Perhaps I'm not using >> the correct repository?* >> >> *This is what I ran to add the repository:* >> >> wget -q "http://maven.xwiki.org/public.gpg; -O- | sudo apt-key add - >> sudo wget "http://maven.xwiki.org/stable/xwiki-stable.list; -P >> /etc/apt/sources.list.d/ >> >> *I then ran sudo apt-get update. Here is the output of apt-cache search >> xwiki* >> >> v3@ubuntu:~$ apt-cache search xwiki >> xwiki-common - XWiki is a free wiki software platform written in Java with a >> design emphasis >> xwiki-enterprise-common - XWiki is a free wiki software platform written in >> Java with a design emphasis >> xwiki-enterprise-mysql-common - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-pgsql-common - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-tomcat-common - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-tomcat-mysql - XWiki enterprise Tomcat/MySQL based package >> xwiki-enterprise-tomcat-pgsql - XWiki enterprise Tomcat/PostgreSQL >> xwiki-enterprise-tomcat5-mysql - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-tomcat5-pgsql - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-tomcat6-mysql - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-tomcat6-pgsql - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-tomcat7-common - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-tomcat7-mysql - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-tomcat7-pgsql - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-tomcat8-common - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-tomcat8-mysql - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-enterprise-tomcat8-pgsql - XWiki is a free wiki software platform >> written in Java with a design emphasis >> xwiki-mysql-common - XWiki is a free wiki software platform written in Java >> with a design emphasis >> xwiki-pgsql-common - XWiki is a free wiki software platform written in Java >> with a design emphasis >> xwiki-solr-data - XWiki is a free wiki software platform written in Java >> with a design emphasis >> xwiki-tomcat7-common - XWiki is a free wiki software platform written in >> Java with a design emphasis >> xwiki-tomcat7-mysql - XWiki is a free wiki software platform written in Java >> with a design emphasis >> xwiki-tomcat7-pgsql - XWiki is a free wiki software platform written in Java >> with a design emphasis >> xwiki-tomcat8-common - XWiki is a free wiki software platform written in >> Java with a design emphasis >> xwiki-tomcat8-mysql - XWiki is a free wiki software platform written in Java >> with a design emphasis >> xwiki-tomcat8-pgsql - XWiki is a free wiki software platform written in Java >> with a design emphasis >> >> >> >> -- >> View this message in context: >>
Re: [xwiki-users] Need Help Installing XWiki on Ubuntu Server 1404 LTS
According to your log your issue is not with XWiki but with tomcat. Maybe tomcat8 is not available in 14.04 or your have some more complex issue with tomcat. There is a tomcat7 based package of XWiki too. On Tue, Jul 26, 2016 at 2:15 PM, Polydectus84wrote: > I don't think I mentioned this, but I am running Ubuntu Server 14.04 LTS > 64-bit. Would this make a difference? > > *Here is the output of: sudo apt-get install > xwiki-enterprise-tomcat8-common* > > v3@ubuntu:~$ sudo apt-get install xwiki-enterprise-tomcat8-common > Reading package lists... Done > Building dependency tree > Reading state information... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > xwiki-enterprise-tomcat8-common : Depends: xwiki-enterprise-common (= 8.2) > but it is not going to be installed >Depends: tomcat8 but it is not > installable > E: Unable to correct problems, you have held broken packages. > > *It's bizarre. A few co-workers are stumped as well. Perhaps I'm not using > the correct repository?* > > *This is what I ran to add the repository:* > > wget -q "http://maven.xwiki.org/public.gpg; -O- | sudo apt-key add - > sudo wget "http://maven.xwiki.org/stable/xwiki-stable.list; -P > /etc/apt/sources.list.d/ > > *I then ran sudo apt-get update. Here is the output of apt-cache search > xwiki* > > v3@ubuntu:~$ apt-cache search xwiki > xwiki-common - XWiki is a free wiki software platform written in Java with a > design emphasis > xwiki-enterprise-common - XWiki is a free wiki software platform written in > Java with a design emphasis > xwiki-enterprise-mysql-common - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-pgsql-common - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-tomcat-common - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-tomcat-mysql - XWiki enterprise Tomcat/MySQL based package > xwiki-enterprise-tomcat-pgsql - XWiki enterprise Tomcat/PostgreSQL > xwiki-enterprise-tomcat5-mysql - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-tomcat5-pgsql - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-tomcat6-mysql - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-tomcat6-pgsql - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-tomcat7-common - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-tomcat7-mysql - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-tomcat7-pgsql - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-tomcat8-common - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-tomcat8-mysql - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-enterprise-tomcat8-pgsql - XWiki is a free wiki software platform > written in Java with a design emphasis > xwiki-mysql-common - XWiki is a free wiki software platform written in Java > with a design emphasis > xwiki-pgsql-common - XWiki is a free wiki software platform written in Java > with a design emphasis > xwiki-solr-data - XWiki is a free wiki software platform written in Java > with a design emphasis > xwiki-tomcat7-common - XWiki is a free wiki software platform written in > Java with a design emphasis > xwiki-tomcat7-mysql - XWiki is a free wiki software platform written in Java > with a design emphasis > xwiki-tomcat7-pgsql - XWiki is a free wiki software platform written in Java > with a design emphasis > xwiki-tomcat8-common - XWiki is a free wiki software platform written in > Java with a design emphasis > xwiki-tomcat8-mysql - XWiki is a free wiki software platform written in Java > with a design emphasis > xwiki-tomcat8-pgsql - XWiki is a free wiki software platform written in Java > with a design emphasis > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Need-Help-Installing-XWiki-on-Ubuntu-Server-1404-LTS-tp7600396p7600454.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Need Help Installing XWiki on Ubuntu Server 1404 LTS
I don't think I mentioned this, but I am running Ubuntu Server 14.04 LTS 64-bit. Would this make a difference? *Here is the output of: sudo apt-get install xwiki-enterprise-tomcat8-common* v3@ubuntu:~$ sudo apt-get install xwiki-enterprise-tomcat8-common Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: xwiki-enterprise-tomcat8-common : Depends: xwiki-enterprise-common (= 8.2) but it is not going to be installed Depends: tomcat8 but it is not installable E: Unable to correct problems, you have held broken packages. *It's bizarre. A few co-workers are stumped as well. Perhaps I'm not using the correct repository?* *This is what I ran to add the repository:* wget -q "http://maven.xwiki.org/public.gpg; -O- | sudo apt-key add - sudo wget "http://maven.xwiki.org/stable/xwiki-stable.list; -P /etc/apt/sources.list.d/ *I then ran sudo apt-get update. Here is the output of apt-cache search xwiki* v3@ubuntu:~$ apt-cache search xwiki xwiki-common - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-common - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-mysql-common - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-pgsql-common - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-tomcat-common - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-tomcat-mysql - XWiki enterprise Tomcat/MySQL based package xwiki-enterprise-tomcat-pgsql - XWiki enterprise Tomcat/PostgreSQL xwiki-enterprise-tomcat5-mysql - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-tomcat5-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-tomcat6-mysql - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-tomcat6-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-tomcat7-common - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-tomcat7-mysql - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-tomcat7-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-tomcat8-common - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-tomcat8-mysql - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-enterprise-tomcat8-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-mysql-common - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-pgsql-common - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-solr-data - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-tomcat7-common - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-tomcat7-mysql - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-tomcat7-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-tomcat8-common - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-tomcat8-mysql - XWiki is a free wiki software platform written in Java with a design emphasis xwiki-tomcat8-pgsql - XWiki is a free wiki software platform written in Java with a design emphasis -- View this message in context: http://xwiki.475771.n2.nabble.com/Need-Help-Installing-XWiki-on-Ubuntu-Server-1404-LTS-tp7600396p7600454.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Can't Upgrade from XWiki 3.5.1
Yes, sorry I didn't mention that, the SQL script to remove the duplicate ids ran successfully, but 0 rows were affected. Now I found out: To avoid or pass the liquibase checksum problems, there is the possibility to run the following sql statement: /update databasechangelog set md5sum=null/ After that I got even more database update exceptions. Most of them I could solve by manually update the database. Now I'm stuck again: The database migration manager, wants to create foreign keys, but can't, because they already exist. Also by deleting the existing foreign keys manually, there still is logged that the key is already used, which in fact is right, because it's created by the migration manager. It seems like some parts of the migration script runs twice. /2016-07-26 12:59:47,331 ERROR [http://localhost:8148/xwiki/bin/view/Main/] c.x.x.s.m.liquibase [XWikiLiquibaseLogger.java:103] Change Set liquibase.xml::R4-030::sdumitriu failed. Error: Error executing SQL ALTER TABLE [dbo].[xwikifloats] ADD CONSTRAINT [FKFB291FBF1DFF14A1] FOREIGN KEY ([XWF_ID], [XWF_NAME]) REFERENCES [dbo].[xwikiproperties] ([XWP_ID], [XWP_NAME]) ON UPDATE CASCADE: There is already an object named 'FKFB291FBF1DFF14A1' in the database. liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE [dbo].[xwikifloats] ADD CONSTRAINT [FKFB291FBF1DFF14A1] FOREIGN KEY ([XWF_ID], [XWF_NAME]) REFERENCES [dbo].[xwikiproperties] ([XWP_ID], [XWP_NAME]) ON UPDATE CASCADE: There is already an object named 'FKFB291FBF1DFF14A1' in the database./ Maybe it makes no sense to continue at this point? Thanks for you help so far! Clemens Klein-Robbenhaar wrote > The next thing that comes to my mind is to rerun the SQL statements needed > to purge duplicate ids in the starts, > as in > > http://jira.xwiki.org/browse/XWIKI-8129 > > I remember I posted this already in the thread, but I cannot see from the > thread if you ran them successfully. > > As far as I understood they did not run without error so far? > If you did run them already, then this must be something else ... > > > It looks like the manual changes to the database confused the DB > upgraders; that is what the checksum error probably means. > Unfortunately I cannot find the place where the "checksums" are stored; I > guess the checksum must be updated manually, or some steps skipped > manually. > > Clemens > > > - Ursprüngliche Nachricht - > Von: Jhaimerl > Am: Monday, 25.07.2016, 10:57 > An: XWiki Users > Betreff: Re: [xwiki-users] Can't Upgrade from XWiki 3.5.1 > > >> Hi Clemens, >> >> tried your advice and checked the installation folder for duplicate >> jar-files. Couldn't find any. I also used jwhich.jar for that purpose >> without any results. Also I repeated the whole process with different >> versions of XWiki (4.0, 4.2). >> >> Still I'm faced by the checksum errors you already mentioned around line >> 310. >> >> Any ideas or hints whatelse I could try? >> >> Many thanks and best regards >> Josef >> >> >> Clemens Klein-Robbenhaar wrote >>> Hi Josef, >>> >>> there are a lot of messages saying that one component wants to >>> overwrite >>> another component with the same name, class and priority. >>> >>> This usually happens if two XWiki version are unpacked on top of each >>> other, so the WEB-INF/lib contains the *.jar for both versions. >>> This might cause a lot of other problems, too >>> >>> Can you please check if you have some "duplicate" jars in your >>> WEB-INF/lib >>> directory e.g. both a xwiki-platform-component-script-4.2.jar and a >>> xwiki-platform-component-script-7.4.jar or the like? >>> >>> The actual problem then is around line 310 (next DB upgrade issue) - if >>> there are duplicate jars, hopefully this can be sorted out by repairing >>> the installation. >>> Otherwise we have to think about it again what might fix the issue this >>> time. >>> >>> hope this helps >>> Clemens >>> >>> >>> Jhaimerl wrote on Monday, 04.07.2016, 16:16 Hi Clemens, first of thanks again. I followed your advice and executed the longish sql statement - didn't work. I then removed the relationships between tables and changed the datatype of the id columns to BIGINT manually by following the exceptions in the log. So I finally got through that part of the migration. Now I'm stuck with a new type of error, please see line 162 here http://pastebin.com/YLzwvxmh. Has somebody ever seen this? Thank you and best regards Josef Clemens Klein-Robbenhaar wrote > Oh, this looks odd. > > The upgrade process first tried to find the name for the primary key; > that > is the statement: > > select @pkname=i.name from sysindexes i join sysobjects o ON i.id = > o.id > join sysobjects pk ON i.name = pk.name AND pk.parent_obj = i.id AND > pk.xtype = 'PK' join sysindexkeys ik on i.id = ik.id AND i.indid = > ik.indid
Re: [xwiki-users] AutoCompletion extension does not work
Hi, the current updates of XWiki and the AutoCompletion extension fixed the problem. Thanks and best regards Alina Am 25.07.2016 um 18:56 schrieb Alina Kupgisch: Hi Eduard, i restarted everything (again), but that does not help. Everything looks good. There are no errors in the extension manager. Have you got another idea? Thanks for your help Alina Am 25.07.2016 um 18:36 schrieb Eduard Moraru: Hi, Alina, I may be wrong here, but could you try restarting your XWiki instance? AFAIR, the AutoCompletion extension installs some REST services (for the autocompletion, obviously) and at some point that required a rest module reinitialization. Hope this helps, Eduard On Mon, Jul 25, 2016 at 7:02 PM, Alina Kupgisch < alina.kupgi...@sourcepark.de> wrote: 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki Application: Pages of one app as dropdown values of other app
Thanks guys but I face an issue. I added a Database List property to the Class of App 2 as explained on http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki . Name: customer Display Type: select Relational Storage checked XWiki Class Name: Customer Profile.Code.Customer ProfileClass Id Field Name: doc.fullName Value Field Name: doc.title In the App 2 Sheet I added $doc.use('XPass.Code.XPassClass') $doc.display('customer') In edit mode of entries of App 2 (XPass) I see 3 entries without text (though App 1 -Customer Profile- has only 2 entries/pages) in the Customer dropdown. Thank you very much in advance for some more help. 2016-07-25 16:40 GMT+02:00 Vincent Massol: > You might also find the following of interest (slightly related): > http://platform.xwiki.org/xwiki/bin/view/DevGuide/MasterDetailTutorial > > Thanks > -Vincent > > > On 25 Jul 2016, at 14:56, Marius Dumitru Florea < > mariusdumitru.flo...@xwiki.com> wrote: > > > > Hi Dennis, > > > > Maybe this can help > > > http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki > > . > > > > On Mon, Jul 25, 2016 at 3:35 PM, D R wrote: > > > >> Hi community, > >> > >> I implemented a customer profile holding information about customers as > an > >> XWiki application. Now in another app I'd like to have an optional field > >> that can contain the customer if it is related to one. Therefor I want > to > >> list all customers (existing pages of App 1) as dropdown values of a > field > >> of App 2. > >> > >> To illustrate what I'd like to achieve: > >> > >> App 1 (holding customer information): > >> |-- Page "Customer 1" > >> |-- Page "Customer 2" > >> ... > >> > >> App 2 (holding other information but can be customer related): > >> |-- Page 1 > >>|-- Field "Customer" = Dropdown of Pages of App 1 (Customer 1, > Customer > >> 2 ...) > >> > >> I'm rather new in scripting in XWiki/Velocity so I'd really appreciate > some > >> help on this :) > >> > >> Regards, > >> Dennis > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Need Help Installing XWiki on Ubuntu Server 1404 LTS
xwiki-enterprise-tomcat8-common package definitely exist in the repository. What does apt-get tells you when you try to install it ? On Mon, Jul 25, 2016 at 5:03 PM, Polydectus84wrote: > Thank you for both of your responses. I managed to install default-jdk , but > when I try to install xwiki-enterprise-tomcat8-mysql , I receive a similar > error: > > v3@ubuntu:~$ sudo apt install xwiki-enterprise-tomcat8-mysql > [sudo] password for v3: > Reading package lists... Done > Building dependency tree > Reading state information... Done > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > xwiki-enterprise-tomcat8-mysql : Depends: xwiki-enterprise-mysql-common (= > 8.1+1) but it is not going to be installed > Depends: xwiki-enterprise-tomcat8-common > (= 8.1+1) but it is not going to be installed > E: Unable to correct problems, you have held broken packages. > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Need-Help-Installing-XWiki-on-Ubuntu-Server-1404-LTS-tp7600396p7600431.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users