Re: [xwiki-users] Few problems upgrading from 4.X to 5.4
I checked the url with firebug. Now that you mentioned, I checked closer and saw that the actual url is : Any idea why does it have undefined in it? -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020p7590059.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] Few problems upgrading from 4.X to 5.4
On Thu, Apr 10, 2014 at 9:40 AM, gjordis harri.hietara...@dicode.fi wrote: I checked the url with firebug. Now that you mentioned, I checked closer and saw that the actual url is : Any idea why does it have undefined in it? It looks like XWiki.contextPath and XWiki.currentWIki are not defined when xwikiexplorer.js is loaded. Edit the XWiki.Treeview wiki page in wiki edit mode and paste here the line containing xwikiexplorer.js . Thanks, Marius -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020p7590059.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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Few problems upgrading from 4.X to 5.4
This is the line : -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020p7590062.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] Few problems upgrading from 4.X to 5.4
This is the line that you should have in 5.4 https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-5.4/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/Treeview.xml#L61 , so it seems this page hasn't been merged correctly. Did you upgrade using the Distribution Wizard http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard ? Did you repair the previous UI extension (set of wiki pages)? As per http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard#HUpgradewithRepair . Did you get a merge conflict for this page? How did you resolve it? If this page, XWiki.Treeview, is not up to date then there may be other wiki pages in the same situation. Hope this helps, Marius On Thu, Apr 10, 2014 at 11:26 AM, gjordis harri.hietara...@dicode.fi wrote: This is the line : -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020p7590062.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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Few problems upgrading from 4.X to 5.4
This might explain alot. I never used this wizard. When I started my new installation, all i got was a login screen and after that my start page. I'll try to follow the troubleshooting to get this wizard to appear. -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020p7590066.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] Few problems upgrading from 4.X to 5.4
Cannot get the wizard to start. Even if I remove the distribution xml file from jobs. -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020p7590068.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] Few problems upgrading from 4.X to 5.4
Hi, Are you logged in with an admin user? Could you try upgrading to 5.4.3, maybe we fixed something related to this since 5.4? Thanks -Vincent On 10 Apr 2014 at 11:29:11, gjordis (harri.hietara...@dicode.fi(mailto:harri.hietara...@dicode.fi)) wrote: Cannot get the wizard to start. Even if I remove the distribution xml file from jobs. -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020p7590068.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] Few problems upgrading from 4.X to 5.4
Yes I was logged in as superadmin. And out of the fire and into the fryingpan: Tried upgrading like so: Made a new tomcat installation, deployed new war of 5.4.3 Made a dump of my xwiki database and made anew xwiki_migrated from it. Then i set the hibernate.cfg.xml to point to the new database. But when i try to load the wiki on browser, it tries to connect to database named xwiki, which this user does not have permission to, because i do not want to experiment on production database. Atleast I assume so, from this error: I try to set the databse like so: The ip address there is so that it would connect to the right vserver. If i use: it tries to use the right database, but from the wrong server. -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020p7590077.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] Few problems upgrading from 4.X to 5.4
Ok. Got it to work. Got to the migrate process and now the panels work too. Don't know what i had wrong in the hibernate.conf, re-edited a fresh one and then it worked. Thank you all for your assistance. -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020p7590080.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] Few problems upgrading from 4.X to 5.4
Thanks for the effort, but no. Clearing browser cache does not help. Checked logs for some more errors: On the tree error: And i get similar errors of deprecated use of ... on every page -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020p7590051.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] Few problems upgrading from 4.X to 5.4
On Tue, Apr 8, 2014 at 9:41 AM, gjordis harri.hietara...@dicode.fi wrote: I recently upgraded our wiki to 5.4 from 4.X installation. I used the same database and ran the migration process. All the pages work fine, but i was left with some issues I was hoping to get some help with. 1. Document tree no longer works. I get a 404 while getting /spaces?r=somenumber and wiki shows error : Server returned TRANSPORT_ERROR with no error message. Where did you get this URL (/spaces?r=somenumber) from? The URL is actually /xwiki/rest/wikis/xwiki/spaces?r=610837 and it's a REST URL. Does /xwiki/rest/wikis/xwiki/spaces work when you open it in a separate browser tab? If not then you have a problem with REST. There should be something related to this in the sever logs. Hope this helps, Marius 2. I cannot modify panels correctly with panel wizard: If I add a new widget to the panel, others may disappear. Or when I add a new widget, 3 widgets may appear, the same 3 every time. 3. Cannot update/uninstall extensions All the extensions I had in the old wiki are shown as installed, but when I try to uninstall them, I get an error saying that they are not installed. So if anyone has come accross any of these issues and has found a fix/workaround for it, I would be grateful to hear of it. -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020.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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Few problems upgrading from 4.X to 5.4
I recently upgraded our wiki to 5.4 from 4.X installation. I used the same database and ran the migration process. All the pages work fine, but i was left with some issues I was hoping to get some help with. 1. Document tree no longer works. I get a 404 while getting /spaces?r=somenumber and wiki shows error : Server returned TRANSPORT_ERROR with no error message. 2. I cannot modify panels correctly with panel wizard: If I add a new widget to the panel, others may disappear. Or when I add a new widget, 3 widgets may appear, the same 3 every time. 3. Cannot update/uninstall extensions All the extensions I had in the old wiki are shown as installed, but when I try to uninstall them, I get an error saying that they are not installed. So if anyone has come accross any of these issues and has found a fix/workaround for it, I would be grateful to hear of it. -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020.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] Few problems upgrading from 4.X to 5.4
Did you clear your browser cache? Hope this helps, Marius On Tue, Apr 8, 2014 at 9:41 AM, gjordis harri.hietara...@dicode.fi wrote: I recently upgraded our wiki to 5.4 from 4.X installation. I used the same database and ran the migration process. All the pages work fine, but i was left with some issues I was hoping to get some help with. 1. Document tree no longer works. I get a 404 while getting /spaces?r=somenumber and wiki shows error : Server returned TRANSPORT_ERROR with no error message. 2. I cannot modify panels correctly with panel wizard: If I add a new widget to the panel, others may disappear. Or when I add a new widget, 3 widgets may appear, the same 3 every time. 3. Cannot update/uninstall extensions All the extensions I had in the old wiki are shown as installed, but when I try to uninstall them, I get an error saying that they are not installed. So if anyone has come accross any of these issues and has found a fix/workaround for it, I would be grateful to hear of it. -- View this message in context: http://xwiki.475771.n2.nabble.com/Few-problems-upgrading-from-4-X-to-5-4-tp7590020.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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users