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
<danilo.oliveira(a)energisa.com.br> 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: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Em nome de pablocabrol
Enviada em: quinta-feira, 4 de julho de 2013 11:31
Para: users(a)xwiki.org
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-12-04-tp…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users