Hello Vincent, As new user, I faced this problem... I have installed the empty wiki and it wasn't very easy to understand how to use the super admin. There was not a easy documentation about the super admin account, so that I put an advice in the xwiki documentation. But I guess that the solution 1 is enough to solve the problem if you know that has a super admin and how to turn on its. See you. Danilo Amaral de Oliveira Engenheiro Trainee GerĂȘncia Corporativa de Infraestrutura de TI Minas Gerais (0xx32) 9111-6867 -----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de Vincent Massol Enviada em: quinta-feira, 4 de julho de 2013 15:49 Para: XWiki Users Assunto: Re: [xwiki-users] [Proposal] Improving first-time installs of XWiki (was Re: RES: Problems with login-xwiki + ubuntu 12.04) On Jul 4, 2013, at 8:43 PM, Thomas Mortagne <[email protected]> wrote:
I really don't understand what you are talking about here.
When the database is empty you get Distribution Wizard which install you default UI.
Only if you're logged in! And when you install the WAR your DB is empty and there's no user so you have to edit xwiki.cfg and set the superadmin user. That's the problem everyone is having now in 5.x when they install using the WAR. Thanks -Vincent
On Thu, Jul 4, 2013 at 8:36 PM, Vincent Massol <[email protected]> wrote:
It's been several emails that I see on this topic from users unfortunately. I think It's almost impossible for a new user to understand by themselves that they have to edit xwik.cfg's superadmin password and restart their wiki. Thus I believe we need to improve the XWiki install process. I'm proposing 2 solutions.
Solution 1 ========
I'm proposing something very simple for now: * If the database is empty and no user is logged in then always display an information box when accessing the first page of the wiki in view mode. If we restart the wiki then again the first page accessed in view mode will display the information (if the user is not logged in). * In this information box, we explain that the admin has to edit the xwiki.cfg file, set a password and restart XWiki and that he'll then get a wizard to install default wiki pages and extensions.
Solution 2 ========
In the future, it would be nice to have a new step in the Distribution Wizard so that if the database is empty then the Distribution Wizard appears and asks the user to select a password for the superadmin user, persists it and logs the user as superadmin so that he goes to step 2 of the Distribution Wizard
Or maybe we should go directly for solution 2?
WDYT?
Thanks -Vincent
On Jul 4, 2013, at 7:27 PM, Danilo Amaral de Oliveira <[email protected]> wrote:
Hello Pablo,
I guess that you have installed the empty xwiki. I faced this problem too.
Try to edit the xwiki.cfg document inside the Web-Inf folder and activate the superadmin user. Take of the # comment of the line, the default pass is "system". After that, login and try to import the default XAR archive to the xwiki. You can download the default xar archive from the xwiki.org site. Then you will can login with default Admin user.
Don't forget to comment again the superadmin user.
Saludos,
Danilo Amaral de Oliveira Engenheiro Trainee GerĂȘncia Corporativa de Infraestrutura de TI
Minas Gerais (0xx32) 9111-6867
-----Mensagem original----- De: [email protected] [mailto:[email protected]] Em nome de pablocabrol Enviada em: quinta-feira, 4 de julho de 2013 11:31 Para: [email protected] Assunto: Re: [xwiki-users] Problems with login-xwiki + ubuntu 12.04
We are using Admin /admin and is not working, thanks.
----- Pablo Cabrol. Drupal web designer Entre Rios - Argentina -- View this message in context: http://xwiki.475771.n2.nabble.com/Problems-with-login-xwiki-ubuntu-1 2-04-tp7585987p7586007.html 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
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users