Re: [xwiki-users] 8.4.4: Navigation Panel has no content!
Thanks Ludovic, Marius, and Vincent for the help, it was greatly appreciated. Thanks, Craig > On Jan 12, 2017, at 2:12 PM, Vincent Massol wrote: > > >> On 12 Jan 2017, at 20:35, Craig Wright wrote: >> >> I did a “shift-refresh” and the problem seems to have gone away. I should >> have tried that earlier. >> >> Is there a reason why that would have happened? Is the file that requests >> require-config.min.js unversioned? Although a hard reload is a reasonable >> solution for myself, I am supporting a not-tech-saavy community of users for >> whom this would be asking too much. >> >> With regards to installation, I installed/upgraded using Debian packages on >> Ubuntu 16.04. > > Ok so forget my guess, it was a wrong one and Marius had the right hunch ;) > > Thanks > -Vincent > >> Thanks, >> Craig >> >> >>> On Jan 12, 2017, at 2:05 AM, Marius Dumitru Florea >>> wrote: >>> >>> Did you clear the browser cache after the upgrade? >>> >>> On Thu, Jan 12, 2017 at 11:13 AM, Vincent Massol wrote: >>> Hi Craig, > On 12 Jan 2017, at 09:37, Craig Wright wrote: > > OK just for fun: here are all the network resources being loaded that come up in Chome as having “8.4” in the URL, as being requested by the Main wiki page: > > /xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/8. 4.4/tree.min.css > /xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/8. 4.3/require-config.min.js > /xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/8.4.4/tree.min.js > /xwiki/webjars/wiki%3Axwiki/xwiki-platform-job-webjar/8.4. 4/jobRunner.min.js > /xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/8. 4.4/finder.min.js > /xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/8.4.4/32px.png > That’s weird, I’ve just downloaded a clean XWiki 8.4.4 jetty/hsqldb zip and check the home page and I got: http://localhost:8080/xwiki/webjars/wiki%3Axwiki/xwiki- platform-tree-webjar/8.4.4/require-config.min.js?evaluate=true My guess is that you made a mistake during the upgrade. Could it be that you copied the 8.4.4 WAR content over an existing xwiki 8.4.3 install? In which case that would explain that you have both versions in your WEB-INF/lib directory? You should not do this :) Please check http://platform.xwiki.org/ xwiki/bin/view/AdminGuide/Upgrade " Just make sure you don't install the new version over the old one (both installations need to exist)." Thanks -Vincent > Given that ONLY require-config.min.js has this issue, I gotta wonder if this is just an 8.4.4 bug; something hard-coded somewhere? But I have no idea how any of this works, so it could be an install issue. > > Thanks, > Craig > > >> On Jan 12, 2017, at 12:30 AM, Craig Wright wrote: >> >> My assumption is only that file I reported in the earlier email: >> >> /xwiki/webjars/wiki%3Axwiki/xwiki-platform-tree-webjar/8. 4.3/require-config.min.js >> >> >> -C >> >>> On Jan 11, 2017, at 11:53 PM, Ludovic Dubost wrote: >>> >>> Hum weird fix. So it could be a module did not upgrade. Do you know which >>> urls match this rule ? >>> >>> Ludovic >>> >>> Le 12 janv. 2017 09:46, "Craig Wright" a écrit : >>> >>> Well, I fixed this particular issue with the following terrible hack to my >>> /etc/nginx/sites-available/xwiki file: >>> >>> rewrite ^(.*)/8.4.3/(.*)$ $1/8.4.4/$2 last; >>> >>> yeeeah. On the plus side, everything seems to be working great. ;D >>> >>> I will keep the list posted with my continued adventures. >>> >>> Be well, >>> Craig >>> On Jan 11, 2017, at 11:33 PM, Craig Wright wrote: OK, thanks for your help! Thanks, Craig > On Jan 11, 2017, at 11:30 PM, Ludovic Dubost wrote: > > Le 12 janv. 2017 09:23, "Craig Wright" a écrit : > > Haha awesome. > > I should add that I get the same error when I try to edit a page. Most of > the page loads but the edit control (MCE — UI widgets and textarea or >>> input > or whatever) just shows a loading spinner forever with the same error as > below. > > I filed http://jira.xwiki.org/browse/XE-1602 < >>> http://jira.xwiki.org/browse/ > XE-1602> for the mixed content issue; however that was an issue that was > also in 8.4.3. > > Should I file another issue for this? > > > Not yet I would say. Wait for the team to see if they can reproduce and >>> if > it's a general issue > > Ludovic > > > Thanks, > Craig >>
Re: [xwiki-users] Help needed to distinguish xwiki contents created by user
To upgrade, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade Thanks -Vincent > On 13 Jan 2017, at 12:26, Thomas Mortagne wrote: > > Export/Import is really not a good way to upgrade XWiki, only to be > used in last resort. It's much safer to just change the files coming > from the WAR and let XWiki migrate what needs to be migrated. > > On Fri, Jan 13, 2017 at 12:15 PM, Kumar, Piyush wrote: >> Hi All, >> >> I am exporting old xwiki workspace to new version 8.2.1 xwiki instance. >> While import I need to select form available pages in .XAR file. I went >> through the xwiki documents which says that we should only import the >> content written by user. >> >> Can anyone help me to know the way I can differentiate the contents? If I >> import any content created by main xwiki instance then this information may >> override on newer version same content. >> >> Thanks & Regards >> Piyush >> > > > > -- > Thomas Mortagne
Re: [xwiki-users] Help needed to distinguish xwiki contents created by user
Export/Import is really not a good way to upgrade XWiki, only to be used in last resort. It's much safer to just change the files coming from the WAR and let XWiki migrate what needs to be migrated. On Fri, Jan 13, 2017 at 12:15 PM, Kumar, Piyush wrote: > Hi All, > > I am exporting old xwiki workspace to new version 8.2.1 xwiki instance. While > import I need to select form available pages in .XAR file. I went through the > xwiki documents which says that we should only import the content written by > user. > > Can anyone help me to know the way I can differentiate the contents? If I > import any content created by main xwiki instance then this information may > override on newer version same content. > > Thanks & Regards > Piyush > -- Thomas Mortagne
Re: [xwiki-users] How to enable rights to run velocity macros on Xwiki pages
As it's indicated in the error you need to make sure the author of the script have SCRIPT right (looks at rights UI). See http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HScriptright for more details. On Fri, Jan 13, 2017 at 12:19 PM, Kumar, Piyush wrote: > Hi All, > > I exported older xwiki contents and imported them back into newer xwiki 8.2.1. > I can see that few pages are breaking asking below issue: > > org.xwiki.rendering.macro.MacroExecutionException: The execution of the > [velocity] script macro is not allowed. Check the rights of its last author > or the parameters if it's rendered from another script. > at > org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178) > at > org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58) > > > > Can anyone tell me that how to enable rights for macro? > > Thanks & Regards, > Piyush > > _ > From: Kumar, Piyush > Sent: Friday, January 13, 2017 4:45 PM > To: 'users@xwiki.org' > Subject: Help needed to distinguish xwiki contents created by user > > > Hi All, > > I am exporting old xwiki workspace to new version 8.2.1 xwiki instance. While > import I need to select form available pages in .XAR file. I went through the > xwiki documents which says that we should only import the content written by > user. > > Can anyone help me to know the way I can differentiate the contents? If I > import any content created by main xwiki instance then this information may > override on newer version same content. > > Thanks & Regards > Piyush > -- Thomas Mortagne
[xwiki-users] How to enable rights to run velocity macros on Xwiki pages
Hi All, I exported older xwiki contents and imported them back into newer xwiki 8.2.1. I can see that few pages are breaking asking below issue: org.xwiki.rendering.macro.MacroExecutionException: The execution of the [velocity] script macro is not allowed. Check the rights of its last author or the parameters if it's rendered from another script. at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:178) at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:58) Can anyone tell me that how to enable rights for macro? Thanks & Regards, Piyush _ From: Kumar, Piyush Sent: Friday, January 13, 2017 4:45 PM To: 'users@xwiki.org' Subject: Help needed to distinguish xwiki contents created by user Hi All, I am exporting old xwiki workspace to new version 8.2.1 xwiki instance. While import I need to select form available pages in .XAR file. I went through the xwiki documents which says that we should only import the content written by user. Can anyone help me to know the way I can differentiate the contents? If I import any content created by main xwiki instance then this information may override on newer version same content. Thanks & Regards Piyush
[xwiki-users] Help needed to distinguish xwiki contents created by user
Hi All, I am exporting old xwiki workspace to new version 8.2.1 xwiki instance. While import I need to select form available pages in .XAR file. I went through the xwiki documents which says that we should only import the content written by user. Can anyone help me to know the way I can differentiate the contents? If I import any content created by main xwiki instance then this information may override on newer version same content. Thanks & Regards Piyush