[xwiki-users] Authentication and wizard problem on 5.4.2
Hello, I installed xwiki 5.4.2 from scractch (because the upgrade from 5.4.1 didn't work well) I use the .WAR on tomcat server and postgres database. The Wizard to install the UI extension aren't launch on first boot. Are there a way to manuelly launch? And worst the Admin/admin account doesn't work! (Invalid credentials) Am I alone? Thxs. Pascal B
Hi, On 6 Mar 2014 at 16:37:20, Pascal BASTIEN ([email protected](mailto:[email protected])) wrote:
Hello,
I installed xwiki 5.4.2 from scractch (because the upgrade from 5.4.1 didn't work well)
That’s a pity. It would be nice to know what was the problem so that we can reproduce and fix it, otherwise we won’t be able to improve it! :)
I use the .WAR on tomcat server and postgres database.
The Wizard to install the UI extension aren't launch on first boot. Are there a way to manuelly launch?
My guess is that you’re reusing an existing xwiki data dir and in that dir the DW has been marked as having been executed for 5.4.2. Deleting the [datadir]/jobs/status/distribution/status.xml should work.
And worst the Admin/admin account doesn't work! (Invalid credentials)
That means that your database is empty / doesn’t contain the XWiki.Admin page. Make sure your hibernate.cfg.xml is configured correctly.
Am I alone?
Most likely yes ;)
Thxs.
Pascal B
Thanks -Vincent
That’s a pity. It would be nice to know what was the problem so that we can reproduce and fix it, otherwise we won’t be able to improve it! :)
Sure!
I use the .WAR on tomcat server and postgres database.
The Wizard to install the UI extension aren't launch on first boot. Are there a way to manuelly launch?
My guess is that you’re reusing an existing xwiki data dir and in that dir the DW has been marked as having been executed for 5.4.2. Deleting the [datadir]/jobs/status/distribution/status.xml should work.
And worst the Admin/admin account doesn't work! (Invalid credentials)
That means that your database is empty / doesn’t contain the XWiki.Admin page.
Make sure your hibernate.cfg.xml is configured correctly.
Am I alone?
Most likely yes ;) Fortunely for xwiki :-)
Thxs: your quick answers help me a lot (I think I modified my datadir path: I put it on another directory..). I will check my database. Admin account is created by the distribution wizard then? I keep you in touch tomorrow ... because my remote access ... doesn't work ever! NB: the status.xml file is documented somewhere?
I might have hit a similar problem. I have left a note on http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard#Comment... but I am not sure it will be read there: "Using version 5.4.2 from Debian packages. Thanks for this guide, but it is not clear how to get from step "You will be prompted to insert credentials for the Administrator, which are Admin/admin." to step "After the instalation is complete, you can click on the Continue button to proceed to the next step." (It would be easier to refer to the sections if they had numbers...). After logging in with Admin/admin, I had to go back to the distribution wizard manually, like so: - use the browser back /history button to navigate to the ../distribution/... link. - click on "INSTALL" or "DETAILS". There will be an error message. - Navigate back and forth until the "XWiki Enterprise - UI - Main wiki" extension is displayed as "installed" and the "CONTINUE" button is shown. Any other action leaves you stuck in an incompletely installed wiki with no way of finishing the setup. The recommended solution to re-run the distribution wizard (see http://www.xwiki.org/xwiki/bin/view/FAQ/Why+does+the+Distribution+Wizard+fai...) did not work to get back to the wizard, at least not for me. I am sure this is a bug. I could reproduce it at least three times." I also am experiencing a lot of untranslated message keys, and the wiki extension is not working. Is there a way this can be fixed? -- View this message in context: http://xwiki.475771.n2.nabble.com/Authentication-and-wizard-problem-on-5-4-2... Sent from the XWiki- Users mailing list archive at Nabble.com.
I remove status.xml the distribution wizard doesn't launch. I remove status.xml AND delete and recreate my database... the distribution wizard launch... By the way, I have some encoding problems on tag and page: If i use "bac à sable" in a tag. The tag display like this: avec "bac àsable". If I create a new page "MaCatégorie" /bin/edit/Sandbox/MaCatégorie?template=&parent=Sandbox.WebHome&title=MaCatégorie In title I have: "MaCatégorie" (then I correct the title) If I create a page child of "MaCatégorie" I obtain: "MaCatégorie » MaPage" and worst the search tools doesn't found my page "Ma caté*" Your xwiki cloud doesn't have this problem. Which xwiki version do you use? Thxs ________________________________ De : Pascal BASTIEN <[email protected]> À : "[email protected]" <[email protected]>; XWiki Users <[email protected]> Envoyé le : Objet : Re: [xwiki-users] Authentication and wizard problem on 5.4.2
That’s a pity. It would be nice to know what was the problem so that we can reproduce and fix it, otherwise we won’t be able to improve it! :)
Sure!
I use the .WAR on tomcat server and postgres database.
The Wizard to install the UI extension aren't launch on first boot. Are there a way to manuelly launch?
My guess is that you’re reusing an existing xwiki data dir and in that dir the DW has been marked as having been executed for 5.4.2. Deleting the [datadir]/jobs/status/distribution/status.xml should work.
And worst the Admin/admin account doesn't work! (Invalid credentials)
That means that your database is empty / doesn’t contain the XWiki.Admin page.
Make sure your hibernate.cfg.xml is configured correctly.
Am I alone?
Most likely yes ;) Fortunely for xwiki :-)
Thxs: your quick answers help me a lot (I think I modified my datadir path: I put it on another directory..). I will check my database. Admin account is created by the distribution wizard then? I keep you in touch tomorrow ... because my remote access ... doesn't work ever! NB: the status.xml file is documented somewhere? _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi, On 7 Mar 2014 at 08:49:10, Pascal BASTIEN ([email protected](mailto:[email protected])) wrote:
I remove status.xml the distribution wizard doesn't launch.
If it doesn’t launch after having deleted the correct status.xml file (i.e. [datadir]/jobs/status/distribution/status.xml) then it means you’re not logged with a user having Admin rights! See http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard#trouble...
I remove status.xml AND delete and recreate my database... the distribution wizard launch...
By the way, I have some encoding problems on tag and page:
Regarding encoding it’s because you have badly configured your system, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding Thanks -Vincent
If i use "bac à sable" in a tag. The tag display like this: avec "bac ÃÂ sable".
If I create a new page "MaCatégorie" /bin/edit/Sandbox/MaCatégorie?template=&parent=Sandbox.WebHome&title=MaCatégorie In title I have: "MaCatégorie" (then I correct the title)
If I create a page child of "MaCatégorie" I obtain: "MaCatégorie » MaPage" and worst the search tools doesn't found my page "Ma caté*"
Your xwiki cloud doesn't have this problem. Which xwiki version do you use?
Thxs
De : Pascal BASTIEN À : "[email protected]" ; XWiki Users Envoyé le : Objet : Re: [xwiki-users] Authentication and wizard problem on 5.4.2
That’s a pity. It would be nice to know what was the problem so that we can reproduce and fix it, otherwise we won’t be able to improve it! :)
Sure!
I use the .WAR on tomcat server and postgres database.
The Wizard to install the UI extension aren't launch on first boot. Are there a way to manuelly launch?
My guess is that you’re reusing an existing xwiki data dir and in that dir the DW has been marked as having been executed for 5.4.2. Deleting the [datadir]/jobs/status/distribution/status.xml should work.
And worst the Admin/admin account doesn't work! (Invalid credentials)
That means that your database is empty / doesn’t contain the XWiki.Admin page.
Make sure your hibernate.cfg.xml is configured correctly.
Am I alone?
Most likely yes ;) Fortunely for xwiki :-)
Thxs: your quick answers help me a lot (I think I modified my datadir path: I put it on another directory..).
I will check my database. Admin account is created by the distribution wizard then?
I keep you in touch tomorrow ... because my remote access ... doesn't work ever!
NB: the status.xml file is documented somewhere?
Thxs I confirm: I stop tomcat, delete status.xml and relaunch tomcat: distribution wizard doesn't launch anymore with xwik 5.4.2 NB: status.xml is automaticaly recreated anyway... ________________________________ De : panyasan <[email protected]> À : [email protected] Envoyé le : Objet : Re: [xwiki-users] Authentication and wizard problem on 5.4.2 I might have hit a similar problem. I have left a note on http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard#Comment... but I am not sure it will be read there: "Using version 5.4.2 from Debian packages. Thanks for this guide, but it is not clear how to get from step "You will be prompted to insert credentials for the Administrator, which are Admin/admin." to step "After the instalation is complete, you can click on the Continue button to proceed to the next step." (It would be easier to refer to the sections if they had numbers...). After logging in with Admin/admin, I had to go back to the distribution wizard manually, like so: - use the browser back /history button to navigate to the ../distribution/... link. - click on "INSTALL" or "DETAILS". There will be an error message. - Navigate back and forth until the "XWiki Enterprise - UI - Main wiki" extension is displayed as "installed" and the "CONTINUE" button is shown. Any other action leaves you stuck in an incompletely installed wiki with no way of finishing the setup. The recommended solution to re-run the distribution wizard (see http://www.xwiki.org/xwiki/bin/view/FAQ/Why+does+the+Distribution+Wizard+fai...) did not work to get back to the wizard, at least not for me. I am sure this is a bug. I could reproduce it at least three times." I also am experiencing a lot of untranslated message keys, and the wiki extension is not working. Is there a way this can be fixed? -- View this message in context: http://xwiki.475771.n2.nabble.com/Authentication-and-wizard-problem-on-5-4-2... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Please see my response in the previous mail…. See http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard#HTroubl... Thanks -Vincent On 7 Mar 2014 at 09:19:59, Pascal BASTIEN ([email protected](mailto:[email protected])) wrote:
Thxs I confirm: I stop tomcat, delete status.xml and relaunch tomcat: distribution wizard doesn't launch anymore with xwik 5.4.2
NB: status.xml is automaticaly recreated anyway...
________________________________ De : panyasan À : [email protected] Envoyé le : Objet : Re: [xwiki-users] Authentication and wizard problem on 5.4.2
I might have hit a similar problem. I have left a note on http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard#Comment... but I am not sure it will be read there:
"Using version 5.4.2 from Debian packages. Thanks for this guide, but it is not clear how to get from step "You will be prompted to insert credentials for the Administrator, which are Admin/admin." to step "After the instalation is complete, you can click on the Continue button to proceed to the next step." (It would be easier to refer to the sections if they had numbers...). After logging in with Admin/admin, I had to go back to the distribution wizard manually, like so:
- use the browser back /history button to navigate to the ../distribution/... link. - click on "INSTALL" or "DETAILS". There will be an error message. - Navigate back and forth until the "XWiki Enterprise - UI - Main wiki" extension is displayed as "installed" and the "CONTINUE" button is shown.
Any other action leaves you stuck in an incompletely installed wiki with no way of finishing the setup. The recommended solution to re-run the distribution wizard (see http://www.xwiki.org/xwiki/bin/view/FAQ/Why+does+the+Distribution+Wizard+fai...) did not work to get back to the wizard, at least not for me. I am sure this is a bug. I could reproduce it at least three times."
I also am experiencing a lot of untranslated message keys, and the wiki extension is not working. Is there a way this can be fixed?
-- View this message in context: http://xwiki.475771.n2.nabble.com/Authentication-and-wizard-problem-on-5-4-2... Sent from the XWiki- Users mailing list archive at Nabble.com. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I removed status.xml AND reconnect with Admin/admin: the distribution wizard doesn't launch (Admin is superuser of xwiki). But it doesn't matter (for me) because when I wipe my database the solution working. Anyways thxs for encoding problem to : your FAQ works. I modify tomcat connectors and hibernate file to acces on my postgres. This solution working very well. Thxs again. Thxs a lot :-) ________________________________ De : "[email protected]" <[email protected]> À : XWiki Users <[email protected]> Cc : Pascal BASTIEN <[email protected]> Envoyé le : Objet : Re: [xwiki-users] Authentication and wizard problem on 5.4.2 and encoding problems Hi, On 7 Mar 2014 at 08:49:10, Pascal BASTIEN ([email protected](mailto:[email protected])) wrote:
I remove status.xml the distribution wizard doesn't launch.
If it doesn’t launch after having deleted the correct status.xml file (i.e. [datadir]/jobs/status/distribution/status.xml) then it means you’re not logged with a user having Admin rights! See http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard#trouble...
I remove status.xml AND delete and recreate my database... the distribution wizard launch... By the way, I have some encoding problems on tag and page:
Regarding encoding it’s because you have badly configured your system, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding Thanks -Vincent
On 7 Mar 2014 at 10:00:15, Pascal BASTIEN ([email protected](mailto:[email protected])) wrote:
I removed status.xml AND reconnect with Admin/admin: the distribution wizard doesn't launch (Admin is superuser of xwiki). But it doesn't matter (for me) because when I wipe my database the solution working.
FYI I’ve downloaded the 5.4.2 distribution (the jetty zipped one) and I’ve removed the [datadir]/jobs/status/distribution/status.xml file and restarted and I get the DW. I’m logged as Admin. Thanks -Vincent
Anyways thxs for encoding problem to : your FAQ works. I modify tomcat connectors and hibernate file to acces on my postgres. This solution working very well. Thxs again.
Thxs a lot :-)
De : "[email protected]" À : XWiki Users Cc : Pascal BASTIEN Envoyé le : Objet : Re: [xwiki-users] Authentication and wizard problem on 5.4.2 and encoding problems
Hi,
On 7 Mar 2014 at 08:49:10, Pascal BASTIEN ([email protected](mailto:[email protected])(mailto:[email protected])) wrote:
I remove status.xml the distribution wizard doesn't launch.
If it doesn’t launch after having deleted the correct status.xml file (i.e. [datadir]/jobs/status/distribution/status.xml) then it means you’re not logged with a user having Admin rights!
See http://platform.xwiki.org/xwiki/bin/view/Features/DistributionWizard#trouble...
I remove status.xml AND delete and recreate my database... the distribution wizard launch...
By the way, I have some encoding problems on tag and page:
Regarding encoding it’s because you have badly configured your system, see http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
Thanks -Vincent
Ok thanks you for your test. I used .WAR on tomcat and environment.permanentDirectory=/home/data_xwiki/ in xwiki.properties I updatedb && locate status.xml and delete /home/data_xwiki/jobs/status/distribution/status.xml Logon with Admin account the DW doesn't launch but it doesn't matter now (for me) because the DW was launch after I delete status.xml and wipe my postgres database. :-) ________________________________ De : "[email protected]" <[email protected]> À : XWiki Users <[email protected]> Cc : Pascal BASTIEN <[email protected]> Envoyé le : Vendredi 7 mars 2014 10h59 Objet : Re: [xwiki-users] Authentication and wizard problem on 5.4.2 and encoding problems On 7 Mar 2014 at 10:00:15, Pascal BASTIEN ([email protected](mailto:[email protected])) wrote:
I removed status.xml AND reconnect with Admin/admin: the distribution wizard doesn't launch (Admin is superuser of xwiki). But it doesn't matter (for me) because when I wipe my database the solution working.
FYI I’ve downloaded the 5.4.2 distribution (the jetty zipped one) and I’ve removed the [datadir]/jobs/status/distribution/status.xml file and restarted and I get the DW. I’m logged as Admin. Thanks -Vincent
participants (3)
-
panyasan -
Pascal BASTIEN -
vincent@massol.net